asp.net mvc 错误 global.asax

    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 'TestMvcApplication.MvcApplication'.

    Source Error:

    Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="TestMvcApplication.MvcApplication" Language="C#" %>

    Source File: /global.asax Line: 1

解决方法:

1. 修改web的输出路径将bin/改成bin

2. 修改web的输出页面路径,从指定WebServer到使用Local IIS Web Server



你可能感兴趣的:(asp.net mvc 错误 global.asax)