|
-
Jun 23rd, 2001, 10:08 AM
#1
Thread Starter
Hyperactive Member
Session onend problem
I get a runtime error when I open a adodb connection inside the session_onend in the global.asa. After that I need to restart IIS in order to get db communication working again... I don't think I do anything fancy:
Dim strSQL, objRS, objConn
strSQL = "SELECT CursusID, CursistID, Begin WHERE CursusID =" & Session("CourseID") & " AND CursistID = " & Session("CursistID") & ";"
Set objConn = server.CreateObject("ADODB.Connection")
Set objRS = server.CreateObject("ADODB.recordset")
objConn.Open ("PROVIDER=MSDASQL; DRIVER={Microsoft Access Driver (*.mdb)}; UID=admin;PWD=opensesame; DBQ=D:\DataStores\cont.mdb")
I get the internal error when I call objConn.Open
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|