« Previous Next »

Answered Thread: iis 6 restarts automatically whenever I change a site from .net 1.1 to .net 2.0.

Last post 11-04-2009 4:13 AM by Paul Lynch. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 11-03-2009, 10:34 AM

    iis 6 restarts automatically whenever I change a site from .net 1.1 to .net 2.0.

    Hello,

    Seem to be having an issue here.  This is happening on 2 of my servers.

    iis 6 restarts automatically whenever I change a site from .net1.1 to .net2.0.

    When I check the event viewer all it shows is this.  Can anyone explain why this happens.  Thanks.

    Source: ASP.NET 2.0.50727.0
    Type: Information
    Event ID: 1023
    Description: Restarting W3SVC

     

  • 11-03-2009, 10:44 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,254
    • IIS MVPs

    Re: iis 6 restarts automatically whenever I change a site from .net 1.1 to .net 2.0.

    Since the two versions can not share the same app pool, IIS must restart to clear everything out so it can reset the app pool.

  • 11-04-2009, 4:13 AM In reply to

    Answered Re: iis 6 restarts automatically whenever I change a site from .net 1.1 to .net 2.0.

    jwoodruff7:

    When I check the event viewer all it shows is this.  Can anyone explain why this happens.  Thanks.

    Source: ASP.NET 2.0.50727.0
    Type: Information
    Event ID: 1023
    Description: Restarting W3SVC

     

    This behaviour is documented here :

    http://msdn.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx

    "The -norestart option prevents a restart of the World Wide Web Publishing Service after ASP.NET script maps are installed or updated. You should use this option if you do not want all application pools to be recycled. If you are running multiple websites in IIS, in various application pools, and you do not want all of them to be restarted, you should use this option.

    Note that any changes made using the ASP.NET tab on the Internet Information Service console application also cause all application pools to be recycled. If you want to change the ASP.NET version an application uses without causing all application pools to be recycled, run the following two commands to change the version."

    Regards,

     

    Paul Lynch | www.iisadmin.co.uk
Page 1 of 1 (3 items)
Microsoft Communities