6

Is giving this error when accessing the system after installation:

OS: Windows 2012 R2

Full error

Community
  • 1
  • 1

2 Answers2

13

I hit the same problem. I believed somehow IIS lost registration of MVC framework. Redo the registration by:

  1. Windows 8+ / Windows Server 2012+ - Windows Features: IIS -> WWWS -> Application Development Features -> ASP.NET 4.5.

  2. Other - Run

    %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir

with administrator privileges

Lywx
  • 395
  • 5
  • 10
  • This worked for me (2). I don't think I would have ever figured this out on my own. Thank you! – eaglei22 Jul 06 '17 at 21:17
  • 1
    I noticed when doing this, the folder, "aspnet_client gets added to the website under the Sites directory of IIS Connections. – eaglei22 Jul 06 '17 at 21:24
1

Problem solved after running:

%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/modules
  • This does not work. I still get nearly the exact same error described in this question, but this answer does nothing to solve it. – Jake Jun 12 '15 at 19:58