0

I'm getting the errors below when trying to open existing and when trying to create a new MVC 4 web app. with VS 2012 on a Win 7 x64. Searching on SO I found this which seems to be what I'm looking for. But after running the command "successfully" it still doesn't work. Any ideas?

Existing Project enter image description here

New Project enter image description here

IIS enter image description here

Community
  • 1
  • 1
joetinger
  • 2,589
  • 6
  • 29
  • 43

4 Answers4

0

Here is how to register framework to IIS:

C:\windows\Microsoft.NET\Framework\v4.0.30319->aspnet_regiis –ir
clement
  • 4,204
  • 10
  • 65
  • 133
0

You need to activate ASP.NET 4.5 on IIS. This is done through "Turn Windows Features on or off". Type this in your Start Menu and navigate through the tree as following: Internet Information Services -> World Wide Web Services -> Application Development Features -> ASP.NET.

Check the box named ASP.NET and it should work. Depending on your operating system it may also show ASP.NET 4.5.

Anders Stensaas
  • 749
  • 5
  • 18
0

Thanks for all of the help. I ended up re installing .NET 4.5 using this video. After it was uninstalled I had to run a repair on VS 12, it wasn't finding .NET 4.5 But it now works again.

joetinger
  • 2,589
  • 6
  • 29
  • 43