« Previous Next »

Answered Thread: IIS 6, enabled gzip, now getting timeout errors

Last post 01-19-2008 1:13 AM by steve schofield. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 01-11-2008, 11:15 AM

    IIS 6, enabled gzip, now getting timeout errors

    I enabled gzip on our IIS 6.0 server (under Win 2003 Server) and I'm now getting timeout errors on the site one one of the pages which has a control that uses msxml3.dll heavily (this is the only page that seems to have a problem) - it's pretty painful since the timeout can take as long as 5 minutes and locks IE solid until it times out. It is accessing an ASP.NET 2.0 website and seems primarily related to a third party control - RadEditor from Telerik. I'll be following up with them to see if they've run across this, but I know it's related to enabling gzip. I had a problem with another website running on the same server (which uses CGI style access) and had to configure gzip to not include the directory where our scripts were located since it was causing problems with letting users log in. I'd hate to have to disable gzip on the folders where this page is located (and where it pulls it's stuff from webresource) since these pages are the biggest reason for enabling gzip.

     I tried tracing this with Fiddler on the client side, but I didn't see anything helpful - I clicked on the link, it downloaded a few images on the page then timeout out. After timeout, I logged of and tried it again and it suddenly worked. It seemed that after it was able to download/cache some of the files it was able to work (if I clear the cache on the client side the problem reappears).

     Any ideas?

     

    -Paul
    Blog
  • 01-15-2008, 4:52 AM In reply to

    Answered Re: IIS 6, enabled gzip, now getting timeout errors

    Hi,

    Basically HTTP compression will increase web server performance.
    In your case, please consider using ASP.NET AJAX. ASP.NET executionTimeout can be used to modify ASP.NET runtime time out value. Like this:

    <configuration>
      <system.web>
      <httpRuntime

        executionTimeout="500"

      </system.web>
    </configuration>


     

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 01-19-2008, 1:13 AM In reply to

    Re: IIS 6, enabled gzip, now getting timeout errors

    I've seen some issues with enabling compression, the only way to resolve them is disable compression for what is being affected.  This article has syntax to turn off compression on specific folders.

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/502ef631-3695-4616-b268-cbe7cf1351ce.mspx?mfr=true

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield

    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (3 items)