Database Connection won't work twice

Results 1 to 2 of 2

Thread: Database Connection won't work twice

  1. #1
    Jerry-S Guest

    Default Database Connection won't work twice

    I have two ASP pages with datatabase connectors through the same ODBC. Each page works perfectly, but when I go from one to the other, the second one won&#039;t work for about 3 minutes.<BR><BR>I did the standord recordset.close : connector.close thing, and set both to nothing on each page.<BR><BR>Any ideas?

  2. #2
    Join Date
    Dec 1969

    Default RE: Database Connection won't work twice

    It sounds like it could be a connection pooling issue. (I&#039;m assuming the error you are getting is something like &#039;Error opening connection. Connection already open.&#039;)<BR>Either turn off connection pooling (not recommended) or do a check before you open the connection to see if it&#039;s already open.<BR>I typically use an include file with my database functions to handle opening and closing connections.<BR><BR>Hope that helps.

Posting Permissions

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