HighDots Forums  

ASP Error:

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss ASP Error: in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JMarton7384 webforumsuser@macromedia.com
 
Posts: n/a

Default ASP Error: - 07-13-2003 , 03:39 PM






Hi. A few days ago this seemed to have worked fine, and for some reason, I am getting the following error now when trying to access a page.

Here is the error...
==============
Microsoft JET Database Engine error '80040e14'
Unknown name
/INCLUDES/inc_LOGIN.asp, line 57
==============

And here is the code:
==============
If MM_rsUser("AOLIM")<>"" AND Session("AOLIM")="" AND Session("AOLIMLoginRecord")=False Then
Session("AOLIM") = MM_rsUser("AOLIM")
Dim connStr = MM_myDB_STRING
Dim con
Set con = Server.CreateObject("ADODB.Connection")
con.Open connStr
con.Execute "exec AOLIMLoginRecord " & Session("AOLIM") & ", " & Session.SessionID
con.Close
Set con = Nothing
Session("AOLIMLoginRecord")=True
End If
==============

Line 57 is the con.Execute line. AOLIMLoginRecord is a stored query in the Access database that first asks for a string (aol im name) and then a session id and searches in the table for that session id and sets its aolim name to the session("aolim"). It works if I do it through access, but not with this code. Can anyone see anything?

Also, do session id's repeat? And if so, how often?

Jordan



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.