Welcome to Professional ASP.NET - Chris Love's Official Blog Sign in | Join | Help

Chris Love's Official ASP.NET Blog

Chris Love's Helpful tips, tricks and pragmatic development knowledge for the ASP.NET world.
Add to Technorati Favorites


ASP Insider Follow Me On Twitter
Using ASP.NET 2.0 with IIS

Putting a new site or just an upgrade of an old site in IIS is pretty easy.  You just have to go to the ASP.NET tab of the site configuration and select the version (2.0....) you need.  I found a quick Blog entry on this.

Something I am noticing though is that is causes my web server to stop.  I get the following error:

Failed while restarting W3SVC. Error code: 0x8007041d

I have to mannually run iisrestart to get things going again.  Anyone who has a clue, please post your solution as a comment.

Posted: Tuesday, January 17, 2006 1:49 PM

by Chris Love
Filed under: ,

Comments

Chris Love said:

Evidently, this is a pretty popular entry. So I think that means there are many others having the same issue. I will do some more research on the topic and hopefully find a resolution.
# March 15, 2006 10:52 AM

JerryJr said:

You may need to register asp.net 2.0 in IIS. Here is a thread with a little more info:

http://www.codecomments.com/ASP_.NET/message732785.html
# July 31, 2006 2:53 PM

mfreidge said:

I found that if I am using command "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" "-s W3SVC/1/ROOT/MyVirtualDirectory"

to change ASP.NET to v2.0, it  restarts W3SVC. And if the application was running at the time of issuing command, it causing "Failed while restarting W3SVC. Error code: 0x8007041d"

So it is a good idea run iisreset first, then change ASP.NET version.

# February 1, 2007 6:38 PM

simon_rsm said:

JerryJr you're a genius thanks
# July 1, 2008 7:00 AM

JBartels said:

This seems to be the first page that comes up in search for this issue, but it took me some real digging to find a good answer so I thought I'd drop it here. There is a hotfix for the issue: http://support.microsoft.com/kb/953343
# August 18, 2010 11:10 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS