Ask a Question related to ASP Database, Design and Development.
-
Jenise #1
GetRows and ASP 2.0
Hello,
Are there a lot of differences between ASP 2.0 and 3.0. My
development environment is a bit more up to date then my
production system. I am using the following array to
retrieve records from sql 2k:
InfoArray_Set1=rsRSM.GetRows(rsRSM.recordcount,1,A rray
("Geography", "SumOfDWFEst", "Region"))
For i=0 to UBound(InfoArray_Set1,2)
response.write "<tr>"
Response.write "<td><a href=""RegionDetail.asp?
Geo=" & Server.URLEncode(InfoArray_Set1(0,i)) & " "">" &
InfoArray_Set1(0,i) & "</a></td>"
Response.write "<td>" & InfoArray_Set1(1,i)
& "</td></tr>"
Next%>
The code worked fine within development, but when I posted
it to production I received the following error:
ADODB.Recordset error '800a0d5d'
Data type conversion error.
The only thing I can think of is the difference in ASP
versions. Can I use the GETROWS statement in another
way? I wasn't able to find the differences on the
microsoft website, if anyone knows where they are, that
would be great.
Jenise
Jenise Guest
-
getrows breaks if WHERE in sql
Hello all willing to assist. This should be simple but it's killing me. I have this query (Access2k): strsql="SELECT M.NewRingNum " strsql=... -
Paging and getrows
Assuming the code below, whats the most efficient way to get the actual record count as the full array count doesnt exist :-) I want to keep the... -
Getrows = funny result
Hi, I want to use Getrows on a recordset. using 3 recordsets: set rs2003 = Server.CreateObject("ADODB.recordset") set rs2002 =... -
GetRows Mystery
I'm facing an odd behavior in using the GetRows Method. I'm not sure what's causing it because it has been working fine until now. I have a sproc... -
Using GetRows()
I am getting information out of a table to place into to an Array. rs=DataConn.Execute(strSQL) At this point I place it into the array ... -
Bob Barrows #2
Re: GetRows and ASP 2.0
Here is your error statement:
ADODB.Recordset error '800a0d5d'
This is an ADODB error, not an ASP/vbscript error. You are not concentrating
on the right thing when you ask if differences between ASP versions could
lead to this error.
You need to tell us which line of code generates the error.It will probably
be a line of code dealing with a recordset method or property. Why are you
keying in on the GetRows statement as being the cause? Is that the line the
error message points to?
--
HTH,
Bob Barrows - ASP MVP
Please reply to the newsgroup. The email account listed in my From header is
my spam trap, so I don't check it very often. You will get a quicker
response by posting to the newsgroup.
"Jenise" <anonymous@discussions.microsoft.com> wrote in message
news:077101c39361$2f7b5af0$a301280a@phx.gbl...> Hello,
>
> Are there a lot of differences between ASP 2.0 and 3.0. My
> development environment is a bit more up to date then my
> production system. I am using the following array to
> retrieve records from sql 2k:
>
> InfoArray_Set1=rsRSM.GetRows(rsRSM.recordcount,1,A rray
> ("Geography", "SumOfDWFEst", "Region"))
> For i=0 to UBound(InfoArray_Set1,2)
> response.write "<tr>"
> Response.write "<td><a href=""RegionDetail.asp?
> Geo=" & Server.URLEncode(InfoArray_Set1(0,i)) & " "">" &
> InfoArray_Set1(0,i) & "</a></td>"
> Response.write "<td>" & InfoArray_Set1(1,i)
> & "</td></tr>"
> Next%>
>
> The code worked fine within development, but when I posted
> it to production I received the following error:
> ADODB.Recordset error '800a0d5d'
> Data type conversion error.
>
Bob Barrows Guest
-
Re: GetRows and ASP 2.0
The GETROWS line is where I am getting the error. I was
thinking it was the code because I have made no changes to
the database. I can retrieve the records, but just not in
the array...at least by using this statement.
thanks,
Jenise
are not concentrating>-----Original Message-----
>Here is your error statement:
>ADODB.Recordset error '800a0d5d'
>
>This is an ADODB error, not an ASP/vbscript error. YouASP versions could>on the right thing when you ask if differences betweenerror.It will probably>lead to this error.
>
>You need to tell us which line of code generates theproperty. Why are you>be a line of code dealing with a recordset method orthat the line the>keying in on the GetRows statement as being the cause? Isin my From header is>error message points to?
>
>--
>HTH,
>Bob Barrows - ASP MVP
>Please reply to the newsgroup. The email account listedget a quicker>my spam trap, so I don't check it very often. You willmessage>response by posting to the newsgroup.
>
>"Jenise" <anonymous@discussions.microsoft.com> wrote inMy>news:077101c39361$2f7b5af0$a301280a@phx.gbl...>> Hello,
>>
>> Are there a lot of differences between ASP 2.0 and 3.0.posted>> development environment is a bit more up to date then my
>> production system. I am using the following array to
>> retrieve records from sql 2k:
>>
>> InfoArray_Set1=rsRSM.GetRows(rsRSM.recordcount,1,A rray
>> ("Geography", "SumOfDWFEst", "Region"))
>> For i=0 to UBound(InfoArray_Set1,2)
>> response.write "<tr>"
>> Response.write "<td><a href=""RegionDetail.asp?
>> Geo=" & Server.URLEncode(InfoArray_Set1(0,i)) & " "">" &
>> InfoArray_Set1(0,i) & "</a></td>"
>> Response.write "<td>" & InfoArray_Set1(1,i)
>> & "</td></tr>"
>> Next%>
>>
>> The code worked fine within development, but when I>>> it to production I received the following error:
>> ADODB.Recordset error '800a0d5d'
>> Data type conversion error.
>>
>
>.
>Guest
-
Bob Barrows #4
Re: GetRows and ASP 2.0
You should install the latest version of MDAC (ADO) on the server. go to
[url]www.microsoft.com/data[/url].
Bob Barrows
[email]anonymous@discussions.microsoft.com[/email] wrote:> The GETROWS line is where I am getting the error. I was
> thinking it was the code because I have made no changes to
> the database. I can retrieve the records, but just not in
> the array...at least by using this statement.
>
> thanks,
> Jenise
>>> -----Original Message-----
>> Here is your error statement:
>> ADODB.Recordset error '800a0d5d'
>>
>> This is an ADODB error, not an ASP/vbscript error. You are not
>> concentrating on the right thing when you ask if differences between
>> ASP versions could lead to this error.
>>
>> You need to tell us which line of code generates the error.It will
>> probably be a line of code dealing with a recordset method or
>> property. Why are you keying in on the GetRows statement as being
>> the cause? Is that the line the error message points to?
>>
>> --
>> HTH,
>> Bob Barrows - ASP MVP
>> Please reply to the newsgroup. The email account listed in my From
>> header is my spam trap, so I don't check it very often. You will get
>> a quicker response by posting to the newsgroup.
>>
>> "Jenise" <anonymous@discussions.microsoft.com> wrote in message
>> news:077101c39361$2f7b5af0$a301280a@phx.gbl...>>>>> Hello,
>>>
>>> Are there a lot of differences between ASP 2.0 and 3.0. My
>>> development environment is a bit more up to date then my
>>> production system. I am using the following array to
>>> retrieve records from sql 2k:
>>>
>>> InfoArray_Set1=rsRSM.GetRows(rsRSM.recordcount,1,A rray
>>> ("Geography", "SumOfDWFEst", "Region"))
>>> For i=0 to UBound(InfoArray_Set1,2)
>>> response.write "<tr>"
>>> Response.write "<td><a href=""RegionDetail.asp?
>>> Geo=" & Server.URLEncode(InfoArray_Set1(0,i)) & " "">" &
>>> InfoArray_Set1(0,i) & "</a></td>"
>>> Response.write "<td>" & InfoArray_Set1(1,i)
>>> & "</td></tr>"
>>> Next%>
>>>
>>> The code worked fine within development, but when I posted
>>> it to production I received the following error:
>>> ADODB.Recordset error '800a0d5d'
>>> Data type conversion error.
>>>
>>
>> .
Bob Barrows Guest
-
Jenise #5
Re: GetRows and ASP 2.0
Actually, I just installed the latest MDAC and Microsoft
Jet, which helped in giving me access to the database, but
I can't figure out why some of my code does not work the
same way. Do you need any more information from me?
thanks,
Jenise
the server. go to>-----Original Message-----
>You should install the latest version of MDAC (ADO) onto>[url]www.microsoft.com/data[/url].
>
>Bob Barrows
>
>anonymous@discussions.microsoft.com wrote:>> The GETROWS line is where I am getting the error. I was
>> thinking it was the code because I have made no changesin>> the database. I can retrieve the records, but just notare not>> the array...at least by using this statement.
>>
>> thanks,
>> Jenise
>>>>> -----Original Message-----
>>> Here is your error statement:
>>> ADODB.Recordset error '800a0d5d'
>>>
>>> This is an ADODB error, not an ASP/vbscript error. Youdifferences between>>> concentrating on the right thing when you ask iferror.It will>>> ASP versions could lead to this error.
>>>
>>> You need to tell us which line of code generates themethod or>>> probably be a line of code dealing with a recordsetstatement as being>>> property. Why are you keying in on the GetRowsto?>>> the cause? Is that the line the error message pointslisted in my From>>>
>>> --
>>> HTH,
>>> Bob Barrows - ASP MVP
>>> Please reply to the newsgroup. The email accountoften. You will get>>> header is my spam trap, so I don't check it veryin message>>> a quicker response by posting to the newsgroup.
>>>
>>> "Jenise" <anonymous@discussions.microsoft.com> wrote3.0. My>>> news:077101c39361$2f7b5af0$a301280a@phx.gbl...
>>>> Hello,
>>>>
>>>> Are there a lot of differences between ASP 2.0 andmy>>>> development environment is a bit more up to date then& " "">" &>>>> production system. I am using the following array to
>>>> retrieve records from sql 2k:
>>>>
>>>> InfoArray_Set1=rsRSM.GetRows(rsRSM.recordcount,1,A rray
>>>> ("Geography", "SumOfDWFEst", "Region"))
>>>> For i=0 to UBound(InfoArray_Set1,2)
>>>> response.write "<tr>"
>>>> Response.write "<td><a href=""RegionDetail.asp?
>>>> Geo=" & Server.URLEncode(InfoArray_Set1(0,i))posted>>>> InfoArray_Set1(0,i) & "</a></td>"
>>>> Response.write "<td>" & InfoArray_Set1(1,i)
>>>> & "</td></tr>"
>>>> Next%>
>>>>
>>>> The code worked fine within development, but when I>>>>> it to production I received the following error:
>>>> ADODB.Recordset error '800a0d5d'
>>>> Data type conversion error.
>>>>
>>>
>>>
>>> .
>
>
>.
>Jenise Guest
-
Bob Barrows #6
Re: GetRows and ASP 2.0
Oh wait, you're passing too many arguments here:
This:
InfoArray_Set1=rsRSM.GetRows(rsRSM.recordcount,1,A rray("Geography",
"SumOfDWFEst", "Region"))
should be this:
InfoArray_Set1=rsRSM.GetRows(,,Array("Geography", "SumOfDWFEst", "Region"))
Look up GetRows in online help and read the argument descriptions a little
more closely.
--
HTH,
Bob Barrows - ASP MVP
Please reply to the newsgroup. The email account listed in my From header is
my spam trap, so I don't check it very often. You will get a quicker
response by posting to the newsgroup.
"Jenise" <anonymous@discussions.microsoft.com> wrote in message
news:0e5d01c393f2$4b6450a0$a401280a@phx.gbl...> Actually, I just installed the latest MDAC and Microsoft
> Jet, which helped in giving me access to the database, but
> I can't figure out why some of my code does not work the
> same way. Do you need any more information from me?
>
> thanks,
> Jenise
>> the server. go to> >-----Original Message-----
> >You should install the latest version of MDAC (ADO) on> to> >[url]www.microsoft.com/data[/url].
> >
> >Bob Barrows
> >
> >anonymous@discussions.microsoft.com wrote:> >> The GETROWS line is where I am getting the error. I was
> >> thinking it was the code because I have made no changes> in> >> the database. I can retrieve the records, but just not> are not> >> the array...at least by using this statement.
> >>
> >> thanks,
> >> Jenise
> >>
> >>> -----Original Message-----
> >>> Here is your error statement:
> >>> ADODB.Recordset error '800a0d5d'
> >>>
> >>> This is an ADODB error, not an ASP/vbscript error. You> differences between> >>> concentrating on the right thing when you ask if> error.It will> >>> ASP versions could lead to this error.
> >>>
> >>> You need to tell us which line of code generates the> method or> >>> probably be a line of code dealing with a recordset> statement as being> >>> property. Why are you keying in on the GetRows> to?> >>> the cause? Is that the line the error message points> listed in my From> >>>
> >>> --
> >>> HTH,
> >>> Bob Barrows - ASP MVP
> >>> Please reply to the newsgroup. The email account> often. You will get> >>> header is my spam trap, so I don't check it very> in message> >>> a quicker response by posting to the newsgroup.
> >>>
> >>> "Jenise" <anonymous@discussions.microsoft.com> wrote> 3.0. My> >>> news:077101c39361$2f7b5af0$a301280a@phx.gbl...
> >>>> Hello,
> >>>>
> >>>> Are there a lot of differences between ASP 2.0 and> my> >>>> development environment is a bit more up to date then> & " "">" &> >>>> production system. I am using the following array to
> >>>> retrieve records from sql 2k:
> >>>>
> >>>> InfoArray_Set1=rsRSM.GetRows(rsRSM.recordcount,1,A rray
> >>>> ("Geography", "SumOfDWFEst", "Region"))
> >>>> For i=0 to UBound(InfoArray_Set1,2)
> >>>> response.write "<tr>"
> >>>> Response.write "<td><a href=""RegionDetail.asp?
> >>>> Geo=" & Server.URLEncode(InfoArray_Set1(0,i))> posted> >>>> InfoArray_Set1(0,i) & "</a></td>"
> >>>> Response.write "<td>" & InfoArray_Set1(1,i)
> >>>> & "</td></tr>"
> >>>> Next%>
> >>>>
> >>>> The code worked fine within development, but when I> >> >>>> it to production I received the following error:
> >>>> ADODB.Recordset error '800a0d5d'
> >>>> Data type conversion error.
> >>>>
> >>>
> >>>
> >>> .
> >
> >
> >.
> >
Bob Barrows Guest
-
Re: GetRows and ASP 2.0
Actually, I just installed the latest MDAC and Microsoft
Jet Engines(just in case), and that was what gave me
access to the database. Let me know if you need any
additional information from me...I'm really stumped on
this one.
thanks,
Jenise
the server. go to>-----Original Message-----
>You should install the latest version of MDAC (ADO) onto>[url]www.microsoft.com/data[/url].
>
>Bob Barrows
>
>anonymous@discussions.microsoft.com wrote:>> The GETROWS line is where I am getting the error. I was
>> thinking it was the code because I have made no changesin>> the database. I can retrieve the records, but just notare not>> the array...at least by using this statement.
>>
>> thanks,
>> Jenise
>>>>> -----Original Message-----
>>> Here is your error statement:
>>> ADODB.Recordset error '800a0d5d'
>>>
>>> This is an ADODB error, not an ASP/vbscript error. Youdifferences between>>> concentrating on the right thing when you ask iferror.It will>>> ASP versions could lead to this error.
>>>
>>> You need to tell us which line of code generates themethod or>>> probably be a line of code dealing with a recordsetstatement as being>>> property. Why are you keying in on the GetRowsto?>>> the cause? Is that the line the error message pointslisted in my From>>>
>>> --
>>> HTH,
>>> Bob Barrows - ASP MVP
>>> Please reply to the newsgroup. The email accountoften. You will get>>> header is my spam trap, so I don't check it veryin message>>> a quicker response by posting to the newsgroup.
>>>
>>> "Jenise" <anonymous@discussions.microsoft.com> wrote3.0. My>>> news:077101c39361$2f7b5af0$a301280a@phx.gbl...
>>>> Hello,
>>>>
>>>> Are there a lot of differences between ASP 2.0 andmy>>>> development environment is a bit more up to date then& " "">" &>>>> production system. I am using the following array to
>>>> retrieve records from sql 2k:
>>>>
>>>> InfoArray_Set1=rsRSM.GetRows(rsRSM.recordcount,1,A rray
>>>> ("Geography", "SumOfDWFEst", "Region"))
>>>> For i=0 to UBound(InfoArray_Set1,2)
>>>> response.write "<tr>"
>>>> Response.write "<td><a href=""RegionDetail.asp?
>>>> Geo=" & Server.URLEncode(InfoArray_Set1(0,i))posted>>>> InfoArray_Set1(0,i) & "</a></td>"
>>>> Response.write "<td>" & InfoArray_Set1(1,i)
>>>> & "</td></tr>"
>>>> Next%>
>>>>
>>>> The code worked fine within development, but when I>>>>> it to production I received the following error:
>>>> ADODB.Recordset error '800a0d5d'
>>>> Data type conversion error.
>>>>
>>>
>>>
>>> .
>
>
>.
>Guest



Reply With Quote

