asp连接sqlserver2005
set conn=Server.CreateObject("ADODB.Connection")conn.Open "Provider=SQLoledb;data source=yao\sqlexpress;UID=;PWD=;Initial Catalog=userlist;Integrated Security=SSPI"
If conn.state=2 Then
Response.Write("正在连接")
ElseIf conn.state=1 Then
Response.Write("连接已经打开")
Else
Response.Write("对不起,无法打开连接")
End If提示:无法连接
请大侠们帮忙