Results 1 to 7 of 7

Thread: ASP.Net site timing out

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    ASP.Net site timing out

    Hi Everyone!!!

    I've got an asp.net site which runs from IIS 5. On 4 customers sites, this site runs ok. On our main customers site, one of the pages takes a little while to process a request & times out - giving the user a "The page cannot be displayed" error message.

    In the web.config file, and any timeout settings in IIS I can find, I've tried to set the timeout to an hour (a bit excessive, but I'm testing at the mo). These are the settings I've put in the web.config file:

    Code:
    <authentication mode="Forms">
    	<forms name=".AFormName" loginUrl="WebPageName.aspx" 
    protection="All" timeout="60" path="/" slidingExpiration="true" />
    </authentication>
    
    <httpRuntime executionTimeout="3600" />
    
    <sessionState 
            mode="InProc"
            cookieless="false" 
            timeout="600" 
    />
    In IIS, I've put these settings:

    Web Site tab > Unlimited connections with a timeout of 3600 seconds.
    Home directory tab > Configuration button > App options tab the session state reads 60 minutes and the timeout again 3600 seconds.

    Is there another setting I've missed or another cause to this problem please?
    Thanks,
    Alex

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690

    Re: ASP.Net site timing out

    What are the operating systems where it works ok and does not work ok? Wondering if this has anything to do with max connections in a non-server OS?

  3. #3

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: ASP.Net site timing out

    Hi Mike, thanks for the reply!

    All of the test sites are running either windows 2000 or windows xp client platforms (not server versions).

    What do you mean with the max connections part exactly please?e

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  4. #4
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690

    Re: ASP.Net site timing out

    To be honest, I don't know a whole lot about it - I'm quite new to ASP stuff. But the other day, I was running my app and got some error about maximum number of connections has been reached. Of course I have one browser instance running this app, so I thought it was a little strange. Anyway, from what I've read, you can get this error when you're not running a server OS, although it can take a while to get the error.

    Apparently it's something Microsoft has built in as non-server OS's are meant to be for development and not deployment.

    Not even sure if this is your same error, wish I know more about it.

  5. #5

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: ASP.Net site timing out

    Ok thanks, it looks as if that may be going down a different path as I think I may have got a different error screen but I'll check it out nonetheless.

    Thanks for the suggestion

    [update]Nope, looks as though that one's a different issue.
    Last edited by alex_read; Dec 13th, 2004 at 10:41 AM.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  6. #6
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690

    Re: ASP.Net site timing out

    Sorry to lead you astray, like I said, I don't know much about this. I have managed to create some errors, though, imagine that.

    When you say in your original post "one of the pages takes a little while to process a request" - are you uploading a file or anything? I have seen where a large upload (> 4 or 8 MB) will bring you to the "page not found". If so, that's a default setting and can be modified, somewhat.

    Of course, I may be well off the mark.

  7. #7

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: ASP.Net site timing out

    Now that one was a decent suggestion! just off again, I should've put - the page calls a script written in omnimark to transform an MsWord file into an XML file - depending upon the file size this can take a little while.

    Unfortunately nope, it's not uploading files this page (though I did have to battle that one earlier)

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width