這種錯誤首先在ODBC,如果ODBC資料來源設定正確,那麼需要注意ASP中開啟資料庫的命令:Conn.Open 的參數是否正確。如果正確,則需要注意是否使用了global.asa檔案,該檔案是ASP串連資料庫的設定檔,該檔案內容如下:
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
'You can add special event handlers in this file that will get run automatically when special Active Server Pages events
'occur. To create these handlers, just create a subroutine with a name from the list below that corresponds to the event
'you want to use. For example, to create an event handler for Session_OnStart, you would put the following code into this
'file (without the comments):