We help IT Professionals succeed at work.

How to re-install ASP.NET 2.0 using aspnet_regiis –i     ?

Hi All,

This is regarding a client application server. The server is running "Windows Server 2008 Enterprise x64 Edition (Version 6.0. Build 6001. Service pack 1)". The server has IIS 7.0. The following location exist on the server.


I have been asked to re-run  the asp.net registration using the aspnet_regiis –i  . So I want to re-install ASP.NET 2.0 (64 bit version) using aspnet_regiis –i
I am running the following command from command prompt but I am getting the error "An error has occurred: 0x80004005 Unspecified error"

C:\>C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis -i
An error has occurred: 0x80004005 Unspecified error

Can someone get me the exact comand to re-install ASP.NET 2.0 (64 bit version) using aspnet_regiis –i

Thanks a lot for your help.

Watch Question


Can someone please help?

Thanks a lot.
Top Expert 2010
its like this

aspnet_regiis [options]

to see what options it supports : http://msdn.microsoft.com/en-us/library/k6h9cz8h%28VS.80%29.aspx
Solution to "An error occurred..."

1. Open C:\Windows\System32\inetsrv\config\applicationhost.config
2. Remove ISAPI filter entries inside the sections.
3. Stop the w3svc with "net stop w3svc"
4. run "aspnet_regiis -i"
5. Start the w3svc with "net start w3svc"

For details check


Incomplete soultion