当前位置: 代码迷 >> ASP.NET >> Parser Error Message: The file '/MasterPage.master' does not exist.解决办法
  详细解决方案

Parser Error Message: The file '/MasterPage.master' does not exist.解决办法

热度:9098   发布时间:2013-02-25 00:00:00.0
Parser Error Message: The file '/MasterPage.master' does not exist.
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: The file '/MasterPage.master' does not exist.


Line 1: <%@ page title="" language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="index, App_Web_index.aspx.cdcab7d2" %>
Line 2:  
Line 3: <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
 



------解决方案--------------------------------------------------------
缺少母板页页面文件
------解决方案--------------------------------------------------------
The file '/MasterPage.master' does not exist.

检查 文件名,类名 命名空间
------解决方案--------------------------------------------------------
/MasterPage.master

母版页不存在啊
  相关解决方案