Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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=...
    2. 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...
    3. Getrows = funny result
      Hi, I want to use Getrows on a recordset. using 3 recordsets: set rs2003 = Server.CreateObject("ADODB.recordset") set rs2002 =...
    4. 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...
    5. 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 ...
  3. #2

    Default 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

  4. #3

    Default 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
    >-----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.
    >>
    >
    >
    >.
    >
    Guest

  5. #4

    Default 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

  6. #5

    Default 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
    >-----Original Message-----
    >You should install the latest version of MDAC (ADO) on
    the server. go 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
    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.
    >>>>
    >>>
    >>>
    >>> .
    >
    >
    >
    >.
    >
    Jenise Guest

  7. #6

    Default 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
    >
    > >-----Original Message-----
    > >You should install the latest version of MDAC (ADO) on
    > the server. go 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
    > 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

  8. #7

    Default 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

    >-----Original Message-----
    >You should install the latest version of MDAC (ADO) on
    the server. go 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
    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.
    >>>>
    >>>
    >>>
    >>> .
    >
    >
    >
    >.
    >
    Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139