Register ASP.Net 4.0 Using Visual Studio Command Prompt
One of the issues encountered during publishing of MVC Applications in IIS is the registration of ASP.Net 4.0.
Here's how it is done using Visual Studio Command Prompt.
1. In Start Menu, select All Programs.
2. Select Microsoft Visual Studio 2010, then Visual Studio Tools.
3. Right click on Visual Studio Command Prompt and select Run as Administrator.
4. Execute this command, aspnet_regiis -i.
Hope this helps.
Here's how it is done using Visual Studio Command Prompt.
1. In Start Menu, select All Programs.
2. Select Microsoft Visual Studio 2010, then Visual Studio Tools.
3. Right click on Visual Studio Command Prompt and select Run as Administrator.
4. Execute this command, aspnet_regiis -i.
Hope this helps.