Ask a Question related to ASP, Design and Development.
-
J. Muenchbourg #1
"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 [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
J. Muenchbourg Guest
-
"wrong argument type nil (expected String)" from Dir.chdir
I'm running Ruby 1.6.8. Can anybody tell me why this line: Dir.chdir("/") results in the error "wrong argument type nil (expected String)"... -
#24921 [Fbk->Csd]: calling function with "Class Type Hints" arguments crashes PHP
ID: 24921 User updated by: itotakas at msu dot edu Reported By: itotakas at msu dot edu -Status: Feedback +Status: ... -
#24921 [Opn->Fbk]: calling function with "Class Type Hints" arguments crashes PHP
ID: 24921 Updated by: sniper@php.net Reported By: itotakas at msu dot edu -Status: Open +Status: ... -
#24921 [Fbk->Opn]: calling function with "Class Type Hints" arguments crashes PHP
ID: 24921 User updated by: itotakas at msu dot edu Reported By: itotakas at msu dot edu -Status: Feedback +Status: ... -
#24921 [Csd->Opn]: calling function with "Class Type Hints" arguments crashes PHP
ID: 24921 User updated by: itotakas at msu dot edu Reported By: itotakas at msu dot edu -Status: Closed +Status: ... -
TomB #2
Re: "Arguments are of the wrong type, out of acceptable range" error
Do a Response.Write of your sql string, just to ensure you are getting what
you expect.
"J. Muenchbourg" <jodaddy@canada.com> wrote in message
news:OvtJvjrUDHA.1152@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 [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
TomB Guest



Reply With Quote

