Assume that you have a computer that has Microsoft Visual Studio 2010 Service Pack 1 (SP1) and Microsoft .NET Framework 4.5.3 installed. When you create or open a Web Site Project or a Windows Azure project, the following dialog box appears unexpectedly:
Microsoft Visual Studio
Configuring Web http://localhost:64886/ for ASP.NET 4.5 failed. You must manually configure this site for
ASP.NET 4.5 in order for the site to run correctly. ASP.NET 4.0 has not been registered on the Web server.
You need to manually configure your Web server for ASP.NET 4.0 in order for your site to run correctly.
Windows UpdateThis update is available from Windows Update.
Download informationThe following file is available for download from the Microsoft Download Center:
Download the package now.
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online servicesMicrosoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
PrerequisitesTo apply this hotfix, you must have Microsoft Visual Studio 2010 SP1 installed.
Restart requirementYou do not have to restart the computer after you install the hotfix if the affected files are not being used at the time of installation. We recommend that you close all Visual Studio 2010 SP1-related components before you install the hotfix.
|File name||Version||Size||DateTime Last Modified||DateTime Creation|
|webdirprj.dll||10.0.40219.466||450,192||10/21/2014 10:57 AM||10/21/2014 11:23 AM|
|WebAppUpgrade.dll||10.0.40219.466||274,592||10/21/2014 10:57 AM||10/21/2014 11:23 AM|
|mswebprj.dll||10.0.40219.466||1,759,384||10/18/2014 03:58 PM||10/21/2014 11:23 AM|
|Microsoft.VisualStudio.Web.Application.dll||10.0.40219.466||1,177,808||10/21/2014 10:57 AM||10/21/2014 11:23 AM|
|Microsoft.WebApplication.targets||10.0.40219.466||18,592||10/13/2014 09:33 PM||10/21/2014 11:23 AM|
To work around this issue, click OK when the dialog box appears after you either create a new project or open an existing Web Site Project or Windows Azure project. After you do this, the project works as expected.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.