Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Timeout error

$
0
0

Hi

I am confused......

When I wanted to increase the timeout on my site I added the following to the web.config file

    <sessionState       mode="InProc"       cookieless="true"       timeout="90" />

It worked a treat on my development computer - but then when I uploaded the web.config file and ran online I got the following:

Server Error in '/' Application. --------------------------------------------------------------------------------

The resource cannot be found.   Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

 Requested URL: /default.aspx

I tried uploading the enitire site and still got the same error message.

I removed the offending code snippet and all worked again (except, of course that the session timeout reverted back to 20 minutes which is most definately not what I want)

Can anybody help - what am I missing?

Many thanks


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>