469,609 Members | 1,634 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

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


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!
Jul 19 '05 #1
1 4501
Do a Response.Write of your sql string, just to ensure you are getting what
you expect.

"J. Muenchbourg" <jo*****@canada.com> wrote in message
news:Ov**************@tk2msftngp13.phx.gbl...

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!

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Andrew MacIntyre | last post: by
5 posts views Thread by Lou Pecora | last post: by
8 posts views Thread by sam | last post: by
2 posts views Thread by magyar.laszlo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.