Database connection issues

Discussion in 'Databases' started by slappy, Feb 7, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I intermittently get this error on pages using Access and SQL. The errors happen at the same time for both then stop at the same time for both.




    Microsoft VBScript runtime error '800a01fb'


    An exception occurred: 'Open'


    /locations/locations.asp, line 20
     
  2. This error continues to show up. It happens on unrelated pages, some have SQL databases some have Access.I realize that Access is less robust so I use an OLEDBconnection object that is destroyed at the bottom of every page (just to be sure I'm freeing up the resources). For the SQL pages, I'm using a regular connection string provided by discountasp.net. That being said, I'm reasonably surethe bottleneck is not db connections.

    I can't figure out why these errors show up on both types of pages at the same time and why they stop together too. It seems to be something other than the db connections, right?

    Thanks.
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    Are you getting this error on both Access and SQL connection?

    I did a search on google w/ the error, and I found hundreds of newsgroup posting. This seems like a very common error.

    Most people are suggesting that you have too many open connections.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. Yeah, I have seen those postings and have taken a lot of time going back to check my pages, but it has not solved the problem...


    Yes, I am getting this error on Access and SQL. Usually at the same time, but not always.


    I know that I am closing the connections and destroying the objects on every page that uses Access. I even use a connection object and destroy that too. On the SQL pages... I'm not 100% sure but I have gone over the pages several times.


    These pages are relatively low volume. The Access pages probably get around 50 page views per day total. Since I use a connection object for each page and reuse it, that's a max of 50 db connections per day (which are being destroyed). The SQL pages probably get less than 500. Can that kind of volume really kill both Access and SQL?
     
  5. Here are a couple of other errors I've been getting. Like the 'Open' error, these are intermittent.Could theyall be caused by the same bug?





    Microsoft VBScript runtime error '800a01fb'


    An exception occurred: 'Execute'


    /intranet/issues/issue_detail.asp, line 111</BLOCKQUOTE>
    -----------------------------------------------



    Active Server Pages error 'ASP 0241'


    CreateObject Exception


    /intranet/issues/issue_detail.asp


    The CreateObject of '(null)' caused exception C0000005.


    Active Server Pages error 'ASP 0241'


    CreateObject Exception


    /intranet/issues/issue_detail.asp


    The CreateObject of '(null)' caused exception C0000005.


    Server object error 'ASP 0177 : c0000005'


    Server.CreateObject Failed


    E:\WEB\QUICKSELLIT\HTDOCS\INTRANET\ISSUES\../../Connections/issues.asp, line 16


    c0000005 </BLOCKQUOTE>
    ---------------------------------------
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page