Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

i faced this problem when i run website

in web.config file i changed timeout but still faced this problem

XML
<authentication mode="Forms">
            <forms loginUrl="~/Account/Login.aspx" timeout="1000"/>
        </authentication>
Posted

1 solution

First, you should remove this timeout. This is the authenticaion timeout (how long someone's login session is valid, either rolling or absolute). This is normally set to 20mins, and if it expires the user will need to be re-directed to the login page if they try to access something secure.


You are getting an execution timeout, you can extend this (see this[^]) *BUT* you are better off optimising the long running process that is causing this. A typical example would be an SQL call that isn't well written and therefore taking a long time.
 
Share this answer
 
Comments
StianSandberg 26-Apr-13 9:26am    
5'ed
Member 9815058 26-Apr-13 10:29am    
Thank You So So So Much my big problem is solved...Thanks Once again

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900