您的位置:首页 > 编程语言 > ASP

asp.net mvc 错误 global.asax

2014-12-30 14:39 120 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: