« Previous Next »

Not Answered Thread: Prevent from IIS 7 to auto restart when changing files

Last post 07-07-2009 2:27 PM by anilr. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 07-02-2009, 10:34 AM

    Prevent from IIS 7 to auto restart when changing files

    Hi,

    Is there any way to prevent from IIS 7 to automatically restart when changing files, dlls in bin directory or web.config.

    In IIS 6 I achieved that by configuring numRecompilesBeforeAppRestart, maxWaitChangeNotification parameters in the web.config:

    <system.web>
     <httpRuntime maxRequestLength="40000" executionTimeout="1000" waitChangeNotification="86400" maxWaitChangeNotification="86400" minFreeThreads="88" minLocalRequestFreeThreads="76" appRequestQueueLimit="100" />
     <compilation defaultLanguage="c#" debug="false" numRecompilesBeforeAppRestart="15000" />
        <httpHandlers>

     Unfortunately IIS 7 ignores waitChangeNotification, maxWaitChangeNotification parameters.

    So how can it be done?

    Thanks,

    Lior Schwimmer 


     

  • 07-02-2009, 11:11 AM In reply to

    Re: Prevent from IIS 7 to auto restart when changing files

    I think this will still work in the Classic Pipeline.  It's really an ASP.NET setting and not an IIS one.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 07-02-2009, 11:49 AM In reply to

    Re: Prevent from IIS 7 to auto restart when changing files

    It is Classic Pipeline and it still restart on files change while it didn't with the same configuration in IIS 6

  • 07-07-2009, 2:27 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Prevent from IIS 7 to auto restart when changing files

    See if this qfe resolves the issue.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (4 items)
Microsoft Communities