我在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