安装后访问系统时出现此错误:
操作系统:Windows 2012 R2
我遇到了同样的问题。我相信 IIS 以某种方式丢失了 MVC 框架的注册。通过以下方式重新注册:
Windows 8+ / Windows Server 2012+ - Windows 功能:IIS -> WWWS -> 应用程序开发功能 -> ASP.NET 4.5。
其他 - 运行
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir
具有管理员权限
运行后问题解决:
%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/modules