«

»

Mar 01

Manually Configure Web Server for ASP.NET 4.0

When you use VS2010 to create a new website located on Local IIS, the following error sometimes happens.

2620-image_5f00_14

I believe that this would happen when your have installed VS2010 first before installing Windows IIS.

Here is the command to register ASP.NET 4.0 to IIS:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i 

 

MSDN Explanation:

Installs ASP.NET 4 and updates existing applications to use the ASP.NET 4 version of the application pool. It updates both the IIS Classic mode and the IIS Integrated mode handler and script mappings in the IIS metabase.

This option creates two application pools, ASP.NET v4.0 and ASP.NET v4.0 Classic. The DefaultAppPool application pool and the Classic .NET AppPool application pools are set to the .NET Framework 4 version of the CLR.

Permanent link to this article: http://aolin.me/manually-configure-web-server-for-asp-net-4.html

1 comment

  1. windows 7 student

    Thanks for your personal marvelous posting! I seriously enjoyed reading it,
    you can be a great author. I will make certain to bookmark your
    blog and definitely will come back someday.
    I want to encourage you to ultimately continue your great work, have a nice morning!

Comments have been disabled.