Cannot get a DB connection: App Pool Error

Discussion in 'ASP.NET / ASP.NET Core' started by zaventh, May 3, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I am migrating existing, working asp.net web service code from another host to discountasp. Upon execution, I keep getting the error referenced here:

    http://support.discountasp.net/KB/a...-an-aspnet-application.aspx?KBSearchID=149620

    However, in this particular case I am trying to run a very simple, single threaded, single connection query. The db is sql2k5 also hosed on discountasp. I have checked the connection string 1000 times. Recycling the app pool and restart IIS altogether seem to have no effect. I've also tried different connection string parameters such as "pooling=false" and "Max Pool Size=100". Other ideas?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    in general, your app should NEVER open that many connections to the database.

    I think you should go through your application code to make sure you don't have a loop somewhere that keeps opening up new connection.
     
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