1

I am using visual studio 2012. When I open asp.net web form application the following message is showing Everytime:

Configuring web http://"localhost":54229/ for ASP.NET 4.0 failed.You must manually configure this site for ASP.NET 4.0 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 you site to run correctly.
How to get free of this message?

4
  • Do you have <httpRuntime targetFramework="4.0" /> in web.config file? Commented Feb 3, 2017 at 16:18
  • Check: Asp.net 4.0 has not been registered Commented Feb 3, 2017 at 16:24
  • thanks, now it is working correctly Commented Feb 3, 2017 at 16:35
  • @Ramzan How did you make it work? Using the repair tool or manually by adding the HTTP line. Commented Jun 12, 2018 at 8:04

1 Answer 1

1

Just to satisfy my OCD and give an answer, the link provided by @krlzlx does indeed solve the problem. According to the [current] top voted answer of Asp.net 4.0 has not been registered, run

aspnet_regiis -i

as admin from the Developer Command Prompt for Visual Studio.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.