Remco Ros
Remco Ros

Reputation: 1477

IIS Service Unavailable when changing ASP.Net version

When I change the ASP.Net version of a web application in IIS 6 from ASP.Net 1.1 to 2.0. ALL sites in IIS are becoming "unavailable" (Service Unavailable) for a brief moment (the time it takes to apply the changes in the IIS dialog).

I checked with Application Pools, but the sites are all in different application pools...

How can this be?

When I change the ASP.Net version of one application, this should not affect other applications does it?

Thanks in advance,

Remco

Upvotes: 2

Views: 4818

Answers (3)

Rana Vijay Kumar
Rana Vijay Kumar

Reputation: 11

Change master folder Virtual in upper dot net frame work and use in different Pool.You are not getting services unavailable.

Upvotes: 1

Jon Tackabury
Jon Tackabury

Reputation: 49237

Apparently you can change the framework version outside of IIS to avoid this issue by using "Aspnet_regiis.exe". There is more information available here:

http://forums.asp.net/t/1174765.aspx

Edit: Thanks to Christopher in the comments for letting me know that using this tool is the same as an IISReset and doesn't solve the issue. :(

Upvotes: 1

Christopher G. Lewis
Christopher G. Lewis

Reputation: 4836

The .Net tab in the IIS Manager is actually pretty dangerous - it will throw an IISReset at any change, and also sometimes just for spite :-)

Scott Forsyth has a blog article titled ASP.NET tab in IIS, more dangerous than it first appears! that goes over the details.

Upvotes: 4

Related Questions