« Previous Next »

Thread: Server error in '/' Application

Last post 08-11-2009 4:31 AM by tilak1980. 9 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (10 items)

Sort Posts:

  • 08-02-2009, 2:59 AM

    Server error in '/' Application

    Hi,

    I am getting the following error while clicking a link on my website:

    Server Error in '/' Application.
    --------------------------------------------------------------------------------
    
    Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.
    
    Source Error: 
    
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
    
    Stack Trace: 
    
    
    [InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.]
       System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +1261381
       System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
       System.Data.SqlClient.SqlConnection.Open() +111
       connectioncls.openconn() +173
       TransiteDeclarationForm.Loadform1() +17
       TransiteDeclarationForm.Page_Load(Object sender, EventArgs e) +140
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
    
     
    Can someone please tell me what is the cause of this error and how can this be rectified? Please reply ASAP as this is very very urgent..
     Regards
    Shikhar 
  • 08-03-2009, 10:37 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,235
    • IIS MVPs

    Re: Server error in '/' Application

  • 08-06-2009, 5:36 AM In reply to

    Re: Server error in '/' Application

    Im also getting the same problem.......?

    Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This is may have occured because all pooled connections were in use and max pool size was reached.

     But i have checked in web.conf file there is no restriction for connections.

    Could you please give me solution for this error, im not getting any other information like above sql connection.dat like............etc

    waiting for reply

  • 08-06-2009, 6:17 AM In reply to

    Re: Server error in '/' Application

  • 08-07-2009, 1:50 AM In reply to

    Re: Server error in '/' Application

    Hi,

    I am getting this error while accessing my page 

    Runtime Error

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>

    I have changed customErrors to Off, and still get the initial Server Error in '/' Application. What else could be wrong?

    Is it required to re-register the asp .net frame work(aspnet_regiis -i)...........?????

    Please tell me what should i do for this error.

     Waiting for your reply

    Regards,

    Tom

  • 08-07-2009, 7:01 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,235
    • IIS MVPs

    Re: Server error in '/' Application

  • 08-10-2009, 5:36 AM In reply to

    Re: Server error in '/' Application

    It's 6.0 (2003 server)
  • 08-10-2009, 10:24 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,235
    • IIS MVPs

    Re: Server error in '/' Application

    Make sure that IIS_WPG has NTFS Read permissions to the content files and folders.

  • 08-11-2009, 4:31 AM In reply to

    Re: Server error in '/' Application

    I already assigned it for that root folder. My thought is may be the problem is in web.conf file. So i don't have any experience in coding part much. Is there have any other solution.

     Regards,

    Tom

Page 1 of 1 (10 items)
Microsoft Communities