Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > "Arguments are of the wrong type, out of acceptable range" error

Reply
Thread Tools

"Arguments are of the wrong type, out of acceptable range" error

 
 
J. Muenchbourg
Guest
Posts: n/a
 
      07-25-2003

I'm getting an "Arguments are of the wrong type, out of acceptable
range, in conflicts with each other " error , pointing to the sql
statement in this block:

Dim rstime
Set rstime = Server.CreateObject("ADODB.Recordset")
rstime.Open "SELECT * FROM TimestarResorts where resortname='" &
request.querystring("resortname") & "' and roomsize='" &
request.querystring("roomsize") & "'", dsn, 1, 3


i use this same sql statement in the same application, with the same
parameters and arguments, and it works just fine.

??

Muench

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
TomB
Guest
Posts: n/a
 
      07-25-2003
Do a Response.Write of your sql string, just to ensure you are getting what
you expect.

"J. Muenchbourg" <> wrote in message
news:...
>
> I'm getting an "Arguments are of the wrong type, out of acceptable
> range, in conflicts with each other " error , pointing to the sql
> statement in this block:
>
> Dim rstime
> Set rstime = Server.CreateObject("ADODB.Recordset")
> rstime.Open "SELECT * FROM TimestarResorts where resortname='" &
> request.querystring("resortname") & "' and roomsize='" &
> request.querystring("roomsize") & "'", dsn, 1, 3
>
>
> i use this same sql statement in the same application, with the same
> parameters and arguments, and it works just fine.
>
> ??
>
> Muench
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion) aarthi28@gmail.com C++ 29 06-21-2007 08:42 PM
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another ERROR SyrUser03 ASP General 2 03-11-2005 04:25 PM
DataAdd Error: Arguments are wrong type or are out of acceptable r Jack ASP General 1 12-14-2004 11:55 PM
Is this trick with reset acceptable? valentin tihomirov VHDL 6 04-14-2004 05:52 PM
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another Tim Gaunt ASP General 7 12-18-2003 11:59 PM



Advertisments