ASP page hangs on opening connection object to mdb database

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

  1. #1

    Default ASP page hangs on opening connection object to mdb database

    I have a number of websites running against several Access
    databases.

    Every once in a while (under relatively heavy load, but
    rarely more than 1 asp request per second) asp pages would
    stop responding when it gets to opening a recordset
    connection.

    I am returning a connection object from this function:
    Function conn()
    if isEmpty(myConn) then
    set myConn = Server.CreateObject
    ("ADODB.Connection")

    myConn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data
    Source=" & server.mappath("data\database.mdb")
    End if
    set conn = myConn
    End Function

    There is no error message, the page just does not produce
    any output. if I turn off buffering I get the content up
    to the opening connection and that's it.

    Pages which do not reference the database continue to
    function.

    Server is Windows Server 2003 and IIS6 has an option to
    recycle the application pool (I have my websites divided
    into several application pools) when I recycle the pages
    begin functioning immediately. 90 seconds after a recycle,
    the even log shows that the application pool with Process
    id of xxx exceeded time limits during shutdown. The fact
    that the pages begin function immediately even though it
    takes another 90 seconds for the old application pool to
    close suggests that this is some in memory problem with
    ADO/MDAC/OLEDB.JET and not a lock on the actual mdb.

    These websites ran previously on a Windows NT4 server for
    3 years and I never had this problem. the problem only
    showed up after transfering to a new (not an upgrade)
    clean install of server 2003

    Thank you
    Mendel Nemanov
    Spotlight Design
    Mendel Nemanov Guest

  2. Similar Questions and Discussions

    1. Create the database connection without using CFAdministrator Page
      Anyone has idea of how to create the database connection without using the CF Administrator Data Source? I found an example of the cfquery with the...
    2. CF hangs when database server hangs or crashes
      This may be as simple as a configuration change, but hoping someone understands this behavior and can offer suggestions (or at least additional...
    3. Database Connection Object
      1. Check out the microsoft application blocks - data access - http://support.microsoft.com/default.aspx?scid=kb;en-us;829028 2. Check out the...
    4. Fireworks hangs on XP when opening or saving
      Thanks for your advice looks like I need to upgade. Mark
    5. PS Elements 2 hangs on opening
      I would like to know what to try to fix it. It's beginning to become a major annoyance. I have tried uninstalling and reinstalling it. I have tried...
  3. #2

    Default ASP page hangs on opening connection object to mdb database

    I've found references to KB Article 838306 which discuss
    this problem, but I can't find the actual KB article. does
    anyone have a copy of it. (did microsoft pull the article?)

    Mendel
    >-----Original Message-----
    >I have a number of websites running against several
    Access
    >databases.
    >
    >Every once in a while (under relatively heavy load, but
    >rarely more than 1 asp request per second) asp pages
    would
    >stop responding when it gets to opening a recordset
    >connection.
    >
    >I am returning a connection object from this function:
    >Function conn()
    > if isEmpty(myConn) then
    > set myConn = Server.CreateObject
    >("ADODB.Connection")
    >
    > myConn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data
    >Source=" & server.mappath("data\database.mdb")
    > End if
    > set conn = myConn
    >End Function
    >
    >There is no error message, the page just does not produce
    >any output. if I turn off buffering I get the content up
    >to the opening connection and that's it.
    >
    >Pages which do not reference the database continue to
    >function.
    >
    >Server is Windows Server 2003 and IIS6 has an option to
    >recycle the application pool (I have my websites divided
    >into several application pools) when I recycle the pages
    >begin functioning immediately. 90 seconds after a
    recycle,
    >the even log shows that the application pool with Process
    >id of xxx exceeded time limits during shutdown. The fact
    >that the pages begin function immediately even though it
    >takes another 90 seconds for the old application pool to
    >close suggests that this is some in memory problem with
    >ADO/MDAC/OLEDB.JET and not a lock on the actual mdb.
    >
    >These websites ran previously on a Windows NT4 server for
    >3 years and I never had this problem. the problem only
    >showed up after transfering to a new (not an upgrade)
    >clean install of server 2003
    >
    >Thank you
    >Mendel Nemanov
    >Spotlight Design
    >.
    >
    Mendel Nemanov 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