If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Arguments are of the wrong type, are out of acceptable range, or are in conflict with

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-09-04, 11:49
RoLYroLLs RoLYroLLs is offline
Registered User
 
Join Date: Mar 2004
Posts: 2
Arguments are of the wrong type, are out of acceptable range, or are in conflict with

Hey guys and gals. I have a problem with some code. I have had many different problems with all the sites I've done here and there, but I have never had a problem on the line described below. Here are the details:

Site:

http://www.poe-boy.com

Error Message:

ADODB.Command error '800a0bb9'

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

/artiststore.asp, line 14


Page Info:

Line 11: Set cmd = Server.CreateObject("ADODB.Command")
Line 12: cmd.ActiveConnection = dbc
Line 13: cmd.CommandText = "qryNumberOfProduct"
Line 14: cmd.CommandType = adCmdStoredProc


Also, when i fisit another page, I get the same type of error for the same code that is on line 14. What I can't explain is that the site was working properly about 2 hours before I found the error.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 03-24-04, 09:56
johnno johnno is offline
Registered User
 
Join Date: Mar 2004
Posts: 1
Re: Arguments are of the wrong type, are out of acceptable range, or are in conflict with

try adding

Const adCmdStoredProc = 4

to you script
Reply With Quote
  #3 (permalink)  
Old 03-24-04, 11:25
RoLYroLLs RoLYroLLs is offline
Registered User
 
Join Date: Mar 2004
Posts: 2
Thank

Yeah Johnno. I reuploaded mu adovbs.inc file and everything worked fine, I guess something happened to it before. Thanks alot.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On