You are on page 1of 1

To resolve that issue please follow steps below 1. Unregister all the versions of ASP.NET with command "C:\WINDOWS\Microsoft.

NET \Framework\v2.0.50727\aspnet_regiis ua". 2. Delete the ASPNET account from "Local Users and Group Users". 3. Then registere ASP.NET 2.0 with IIS using "C:\WINDOWS\Microsoft.NET\Framework \v2.0.50727\aspnet_regiis i". 4. Give permissions to the ASPNET account using "C:\WINDOWS\Microsoft.NET\Framew ork\v2.0.50727\aspnet_regiis ga machinename\ASPNET". 5. Reset the IIS and that resolved the issue for ASP.NET 2.0. 6. Register ASP.NET 1.1 with IIS as well using command "C:\WINDOWS\Microsoft.NET \Framework\v1.1.4322\aspnet_regiis i". 7. Reset the IIS. After following the above steps we configured virtual directory versions as requ ired and test both ASP.NET 1.1 and ASP.NET 2.0 application. Everything will work after that. Please don't forget to mark as a solution. Thanks!

Open visual studio command prompt and type this command aspnet_regiis -ga \username username is usually aspnet if this doesn't work than use this command aspnet_regiis -i alternatively you can copy and paste this command into windows command prompt %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i this will fix your problem

You might also like