错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]用户 'PC-201002281026\IUSR_PC-201002281026' 登录失败。
/bookstore/global.asa, 第 5 行global.asa代码:
<script language="VBScript" runat="Server">
Sub Session_OnStart
Set Session("objConn")=Server.CreateObject("ADODB.Connection")
connstr="dsn=bookstore;uid=Administrator;pwd=;database=bookstore"
Session("objConn").Open connstr
                                                    
Set Session("objRS")=Server.CreateObject("ADODB.Recordset")
Session("objRS").ActiveConnection=Session("objConn")
Session("objRS").CursorType=3
End SubSub Session_OnEnd
Session("objRS").Close
Set Session("objRS")=Nothing
Session("objConn").Close
Set Session("objConn")=Nothing
End Sub
</script>
我是照着书写的,为什么会有错呢?请各位帮帮忙吧!!!(急急急)