There is already an open DataReader associated with this Connection

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default There is already an open DataReader associated with this Connection

    I have an ASP .NET application. [VS 2002, .NET Framework 1.0 SP2]

    In the application, if I execute a long running query (which may time
    out or something I guess) from one browser window, and in another
    instance of the same web application in another browser window,
    execute a very quick query, I get the above error message.

    I have noted the fix at:
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;Q319345[/url]

    But I already have Service Pack 2 installed. Please help!

    Thanks in Advance
    James
    James Brown Guest

  2. Similar Questions and Discussions

    1. #39239 [NEW]: pconnect canīt reuse open connection
      From: marcos dot neves at gmail dot com Operating system: FreeBSD 5.4-STABLE i386 PHP version: 5.1.6 PHP Bug Type: MySQL...
    2. JDBC driver connection to Span Open db
      Hi there, Has anyone had experience in connecting to a Span Open DB. I have a feeling that there is a problem with the JDBC driver connecting...
    3. Keeping Connection Open - Consequences?
      I have an application where I need to keep the connection open because my application monitors 2 separate databases ever 1 second. Is there a...
    4. Can I open a database connection in my GLOBAL.ASA file?
      Can I use my GLOBAL.ASA file to open a database connection before each page loads? Would someone mind posting a very simple example? I tried to...
    5. connection.open issue??
      This code usually works the first time I run it, but if I hit refresh it fails with: "Unspecified error - /cosmetic/ask_dup.asp, line 12" which...
  3. #2

    Default Re: There is already an open DataReader associated with this Connection

    bug in your code.

    you probably have a connection defined a static variable (shared or public
    in a module in vb.net). this would lead to the same connection being used by
    all page requests (even concurrent), and as a connection only supports one
    active query at a time, you get this error.

    -- bruce (sqlwork.com)

    "James Brown" <jbrown_gtfc@hotmail.com> wrote in message
    news:7a947814.0306260125.6425510a@posting.google.c om...
    > I have an ASP .NET application. [VS 2002, .NET Framework 1.0 SP2]
    >
    > In the application, if I execute a long running query (which may time
    > out or something I guess) from one browser window, and in another
    > instance of the same web application in another browser window,
    > execute a very quick query, I get the above error message.
    >
    > I have noted the fix at:
    > [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;Q319345[/url]
    >
    > But I already have Service Pack 2 installed. Please help!
    >
    > Thanks in Advance
    > James

    bruce barker 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