我都装上可还是不行
错误类型:
Microsoft OLE DB Provider for SQL Server (0x80004005)
用户 'sa' 登录失败。原因: 未与信任 SQL Server 连接相关联。
/200772711173617268/ASP_file/conn.asp, 第 9 行
下面是conn.asp源码
<!-- 连接 -->
<%
Public conn,rec
Set conn=server.CreateObject("adodb.connection")
'response.write "before:" & conn.state & "<br>"
If conn.state=1 Then
conn.close
End if
conn.open "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=As_Book;Data Source=."
'response.write "after:" & conn.state & "<br>"
%>