一切正常時找到當地,但是當我公佈我的asp.net應用程序到遠程服務器,我收到以下錯誤:母版頁越來越未能加載類型錯誤發佈
Server Error in '/' Application.
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 'JournalPages.MasterMain'.
Source Error:
Line 1: <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Main.master.cs" Inherits="JournalPages.MasterMain" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /journalpages/Main.Master Line: 1
這發生在任何網頁上有一個母版頁。我使用Reflector查看bin目錄中的程序集,並且類型都在那裏。有任何想法嗎??
是.net 2.0確定安裝在服務器上? – Paul 2009-11-10 17:47:31