Search code examples
asp.netiisvirtual-directory

IIS restarts W3Svc when Creating new Virtual Directory from Default Web site


Any ideas why MS in their infinite wisdom makes IIS 6 restart the W3C Service when I create an application/or virtual directory and then change the runtime version?

Thanks Mark


Solution

  • Whenever there is any change in the web.config or in virutal directory, application will be restarted and hence created sessions also expired Seven reason for application restart in Aspnet

    best practice would be any change like you are doing, to down to application server by putting App_Offline.htm on root.