Asp.net mvc 我的MVC4网站无法在windows 10上的IIS 10上运行
以前我有一个MVC4网站,在windows 8.1上没有任何问题,但现在迁移到windows 10后,我看到许多问题,如:Asp.net mvc 我的MVC4网站无法在windows 10上的IIS 10上运行,asp.net-mvc,asp.net-mvc-4,iis-10,Asp.net Mvc,Asp.net Mvc 4,Iis 10,以前我有一个MVC4网站,在windows 8.1上没有任何问题,但现在迁移到windows 10后,我看到许多问题,如: Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource
required to service this request. Please review the following specific
parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'ClientSide.MvcApplication'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="ClientSide.MvcApplication" Language="C#" %>
Source File: /global.asax Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319;
ASP.NET Version:4.6.79.0
“/”应用程序中出现服务器错误。
分析器错误
描述:分析资源时出错
服务此请求所必需的。请查看以下具体内容
分析错误详细信息并适当修改源文件。
分析器错误消息:无法加载类型“ClientSide.mvcapapplication”。
源错误:
第1行:
源文件:/global.asax行:1
版本信息:Microsoft.NET Framework版本:4.0.30319;
ASP.NET版本:4.6.79.0
您构建了项目吗?是的,我构建了几次并清理了解决方案检查
bin
文件夹以确保您拥有ClientSide.dll
如果是,请尝试启用Fusion logs(),以查看加载程序集期间发生的情况。这可能是权限问题…伙计们,我真的很抱歉,我犯了一个可怕的错误。我没有看到配置管理器,我的项目构建被跳过!!!现在我已经编译了dll,问题已经解决了