Discussion Locked

Error in ASP page.

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I can't find the error in my ASP page.
The part of the below that confuses me is where is says "Too Few Parameters. Expected 1.
What the heck does that mean?
Are the parameters in question mean the error is in the scripting or is it a misspelling. I am new to this and can't seem to find a good way to find the error.

UPDATE Voice Set AgentID='Scott', Intelisys='1', Tracking_ID='32231', Customer_Name='Pandesic', City='Folsom', State='CA', Contact='MB', Order_Received=' ', CCD='8/9/00', Qty='16', Aim_Number=' ', Switch='875', Trunk='1169', DSO='19329151', DS1='19351347', Telco_ID='18/HCGS/030000/401/PT', CPE_Number=' ', FOC_Date='8/7', A_TKT=' ', ASR=' ', Status='Cancelled Cancel W9 WHAA-0010-2793 Cancelled Circuit is pending disco 8/31', Turn_Up_Date='No Date to report', Last_Update=' ', Comments='Order has been cancelled' Where ID = 71
Microsoft OLE DB Provider for ODBC Drivers error '80040e10'

[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.

/agentinfo/updatevoice.asp, line 228

3 replies

by roc180

The too few parameters error is ADO telling you that one of its required parameters is not being filled. You did not include your connection string or any info about how you are executing the update (Connection.execute, Command object) my guess is the problem resides in your connection object. Start there and make sure you have a valid connection.
If Connection.state=adStateOpen Then
'Open connection
Response.Write("Connection good")
Else
Response.Write("Problem with Connection")
End If

If you need more help email me your ASP code and I will take a look at it.

Good Luck
Neal Martinelli

by mtreske

Thank You Neal, your assistance was most helpful.
I was able to get that page working.

This discussion is closed to new replies.