我在IIS 6.0 webserver上有一个asp.net mvc应用程序。问题是:我得到一个解析器错误。我尝试用默认的样品asp.net mvc的项目,但我得到了同样的错误:ASP.NET MVC分析器错误
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 'SampleApp._Default'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SampleApp._Default" %>
Line 2:
Line 3: <%-- Please do not delete this file. It is used to ensure that ASP.NET MVC is activated by IIS when a user makes a "/" request to the server. --%>
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
我没有访问IIS,因为它是在托管SRV运行。我在global.asax中设置了路由。
非常感谢您的帮助。
究竟是什么错误? – jao 2010-02-05 18:19:21