6

安装后访问系统时出现此错误:

操作系统:Windows 2012 R2

完全错误

4

2 回答 2

13

我遇到了同样的问题。我相信 IIS 以某种方式丢失了 MVC 框架的注册。通过以下方式重新注册:

  1. Windows 8+ / Windows Server 2012+ - Windows 功能:IIS -> WWWS -> 应用程序开发功能 -> ASP.NET 4.5。

  2. 其他 - 运行

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

具有管理员权限

于 2015-08-16T20:26:32.627 回答
1

运行后问题解决:

%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/modules
于 2014-10-29T20:55:12.530 回答