I keep getting the following error
Microsoft VBScript runtime error '800a0bb9'
Unknown runtime error
/nats/tocancel.asp, line 99
Line 99 Is -
SET NATSdb = Server.CreateObject("ADODB.Connection"
NATSdb.Open Session("NATS_ConnectionString"
Cmd="SELECT * FROM tTravelorders Where trvauthnbr='" & trim(session("tonbr"
) & "'"
Response.Write ("Cmd Is: "&Cmd&"<br>"
SET RSdatabase=Server.CreateObject("ADODB.Recordset"
RSdatabase.Open Cmd,NATSdb,adOpenKeyset,adLockReadonly
The Response Write Reads -
SELECT * FROM tTravelorders Where trvauthnbr='03FAMC0007G'
Any suggestions?
I have connection problems with the server, I figured if it was a connection problem that I would get an ODBC error.
Also, the record does exist in the table.
THANKS!
Microsoft VBScript runtime error '800a0bb9'
Unknown runtime error
/nats/tocancel.asp, line 99
Line 99 Is -
SET NATSdb = Server.CreateObject("ADODB.Connection"
NATSdb.Open Session("NATS_ConnectionString"
Cmd="SELECT * FROM tTravelorders Where trvauthnbr='" & trim(session("tonbr"
Response.Write ("Cmd Is: "&Cmd&"<br>"
SET RSdatabase=Server.CreateObject("ADODB.Recordset"
RSdatabase.Open Cmd,NATSdb,adOpenKeyset,adLockReadonly
The Response Write Reads -
SELECT * FROM tTravelorders Where trvauthnbr='03FAMC0007G'
Any suggestions?
I have connection problems with the server, I figured if it was a connection problem that I would get an ODBC error.
Also, the record does exist in the table.
THANKS!