<%@ Application Codebehind="Global.asax.cs" Inherits="XXX.MvcApplication" Language="C#" %>

<%@ Application Codebehind="Global.asax.cs" Inherits="XXX.MvcApplication" Language="C#" %>

如果你的mvc程序报这样的错 请打开Global.asax的xml文件进行修改解决。

原文地址:https://www.cnblogs.com/xybs/p/6531630.html