Forums

ASP

This topic is locked

ADODB.Command error

Posted 05 Jun 2007 19:38:23
1
has voted
05 Jun 2007 19:38:23 Ben Mroczek posted:
Good morning,

I am getting the following error:

ADODB.Command error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

/_access/logon.asp, line 37

<b>This is reference to the following code (lines are numbered):</b>

34. ' adds entry to logging table to show user login
35. if (Session("MM_UserID" &lt;&gt; "" then CmdLogins__varUserID = Session("MM_UserID"
36. set CmdLogins = Server.CreateObject("ADODB.Command"
37. CmdLogins.ActiveConnection = MM_website_STRING
38. CmdLogins.CommandText = "INSERT INTO user_tracking (LogAccountID) VALUES (" + Replace(CmdLogins__varUserID, "'", "''" + " ) "
39. CmdLogins.CommandType = 1
40. CmdLogins.CommandTimeout = 0
41. CmdLogins.Prepared = true
42. CmdLogins.Execute()

HELP?!?!

Replies

Replied 06 Jun 2007 17:02:54
06 Jun 2007 17:02:54 Ben Mroczek replied:
Anyone?

Reply to this topic