Murdock
Murdock

Reputation: 4662

Timed out on web page

So we have been stuck on a connection timeout issue and we are lost.

All pages on this asp.net web application times out after exactly 2 minutes. Saying: connection timed out description: connection timed out

All articles on the internet suggest it is the asp.net web config setting "executionTimeout". (Here is ours)

<httpRuntime executionTimeout="3600" requestValidationMode="2.0" maxRequestLength="15360" />

But obviously ours is set to way above 2 mins. A colleague of mine also fiddle with the iis settings without success.

Any suggestions?

EDIT: This does not happen on debug at all, which makes me lean towards it being an IIS issue.

EDIT: We don't believe it to be an asp.net session issue since we are still logged in and can browse to other secure pages after this happens

Resolved: So after some more investigation we discovered that the timeout issue was just from when accessing the website from within our intranet. Apparently we have some daemon software (Websense) running on the network that was the root of all this evil.

Upvotes: 1

Views: 2338

Answers (1)

talha2k
talha2k

Reputation: 25650

The above you mentioned should work, Look for the following in your web.config file (maybe its a issue of session timeout):

<system.web>
    <authentication mode="Forms">
          <forms timeout="20"/>
    </authentication>

    <sessionState timeout="20"  />
</system.web>

Increase the timeout time you are using.

Hope this helps.

Upvotes: 1

Related Questions