ADO recordsets on the client

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

  1. #1

    Default ADO recordsets on the client


    I have just read the following by Bob Barrows on another post and am
    extremely concerned as (like him) I have spent a
    long time developing an application using disconnected ADO recordsets.

    "I gave up trying to use recordsets in the client about a year
    ago.....Unfortunately, we kept running into machines here and there
    whose MDAC installations somehow became corrupted, preventing the
    client-side ADO code from working. After a few Windows reinstallations,
    it became clear that ADODB recordsets do not belong in client-side
    code."

    I am a novice programmer working on my own, self-taught from books etc.
    I was totally convinced by what I read to process as much data on the
    client as possible, and initially wrote my web application in VBScript
    using RDS. I was very annoyed when Microsoft dumped that much-heralded
    technology.

    I then decided to use the http_request object to xfer ADO recordsets to
    the server, and the recordset save method to xfer them back to the
    client in xml format.If, after being promoted for several years, these
    methods are now deemed unusable, how can I quickly learn another
    technology that WILL WORK?

    I must add that I am extremely annoyed by the commercial actions of
    Microsoft in leading me down at least 2 technological cul-de-sacs. Do
    they agree with Bob's analysis, and do they have any plans to sort out
    the MDAC mess that he describes without my being forced to upgrade to
    DotNet?

    Donald


    *** Sent via Devdex [url]http://www.devdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Donald Guest

  2. Similar Questions and Discussions

    1. ASP Recordsets
      Hi there, i'm developing an ASP SQL application, and was just wondering whether for some reason this limited me to one recordset per page. the...
    2. Flash Webcam client <-> client (not client <-> server<-> client)
      Dear Flash Team, supporter and regular mortals (Like myself) I am currently running a IRC chat with mostly webclients connected. We currently offer...
    3. Multiple recordsets?
      Hey all I'm not sure if there's anything that can be done about this or not. I'm displaying the contents of two different tables (using Access for...
    4. Persisted XML Recordsets - Disconnected Recordsets - problems
      I have a recordset, client side .ASP that I save as a DOM. I pass to a server side .ASP to reconnect the recordset and update. I keep getting an...
    5. generating recordsets
      50k records should load almost instantaneously if the form is based on a single table, and there are indexes on the appropriate fields for selecting...
  3. #2

    Default Re: ADO recordsets on the client

    Donald wrote:
    > I have just read the following by Bob Barrows on another post and am
    > extremely concerned as (like him) I have spent a
    > long time developing an application using disconnected ADO recordsets.
    >
    > "I gave up trying to use recordsets in the client about a year
    > ago.....Unfortunately, we kept running into machines here and there
    > whose MDAC installations somehow became corrupted, preventing the
    > client-side ADO code from working. After a few Windows
    > reinstallations, it became clear that ADODB recordsets do not belong
    > in client-side code."
    >
    > I am a novice programmer working on my own, self-taught from books
    > etc. I was totally convinced by what I read to process as much data
    > on the client as possible, and initially wrote my web application in
    > VBScript using RDS. I was very annoyed when Microsoft dumped that
    > much-heralded technology.
    >
    > I then decided to use the http_request object to xfer ADO recordsets
    > to the server, and the recordset save method to xfer them back to the
    > client in xml format.If, after being promoted for several years, these
    > methods are now deemed unusable, how can I quickly learn another
    > technology that WILL WORK?
    >
    > I must add that I am extremely annoyed by the commercial actions of
    > Microsoft in leading me down at least 2 technological cul-de-sacs. Do
    > they agree with Bob's analysis, and do they have any plans to sort out
    > the MDAC mess that he describes without my being forced to upgrade to
    > DotNet?
    >
    > Donald
    >
    >
    I was describing my personal experience, not making an official MS
    announcement.

    The application I described is still in production (almost two years now): I
    have not rewritten it. For the vast majority of machines it works fine. For
    several machines, especially those runing XP, there was an issue getting the
    "rs.Open xmldoc" statement to work. For most of the machines with this
    issue, an MDAC upgrade solved the issue. However, there were a couple of
    machines which already had the latest MDAC version. Reinstalling MDAC failed
    to resolve the problem. I don't know what those people did, although I
    suspect a windows reinstallation/repair was involved (with W2000 and XP,
    MDAC is installed as part of the OS and therefore is "protected" by Windows
    File Protection, which I suspect contributed to our inability to fix the
    problem). Again, this app is being used on at least 200 machines in our WAN.
    Less than 20 of those machines exhibited the problem.

    So seen in that light, maybe the problem was not that bad, but at the time,
    I made the decision to never use recordsets on the client again. Instead I
    use XML documents, using MSXML Parser methods to provide the functionality I
    was getting from the ADO recordsets.

    Oh! Another issue with client-side recordsets was encoding: since ADO uses
    utf-8 to convert the recordset to xml, my application cannot handle many
    international characters. You may want to keep this in mind.

    Bob Barrows

    --
    Microsoft MVP -- ASP/ASP.NET
    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.


    Bob Barrows [MVP] Guest

  4. #3

    Default Re: ADO recordsets on the client


    Many thanks Bob for your clarification. Sorry if I overreacted a bit,
    but I'm sure you can understand how I must feel with the dumping of RDS
    and the general difficulty of troubleshooting web client applications.

    I wonder if anybody else could share their experience of implementing
    ADO recordsets on the client. I use Visual InterDev 6 and find it a bit
    hit-and-miss debugging a lot of client-side code via breakpoints,
    especially with several windows open at once relying on onfocus events.

    Donald


    *** Sent via Devdex [url]http://www.devdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Donald 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