Cannot find Nested MAsterpage

  • Thread starter Thread starter Alex. O. Koranteng
  • Start date Start date
A

Alex. O. Koranteng

I have defined the masterpage in the page declaration of default.aspx, but I
am getting the error below. Any suggestion will be appreciated. I can email
to you the sample solution file.


Server Error in '/DemoSite4' 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: The file '/DemoSite4/NestedMaster.master' does not
exist.

Source Error:


Line 1: <%@ Page Title="" Language="C#"
MasterPageFile="~/NestedMaster.master" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
Line 2:
Line 3: <ASP:Content id="content1" ContentPlaceHolderid="pagedata"
runat="Server">
 
Hello Alex,

Would you mind setting me your sample project file so that I can reproduce
the issue in my side and do some future investigation on this? You can
access me via (e-mail address removed)

Have a nice day!

Best regards,
Colbert Zhou
Microsoft Newsgroup Support Team
 
Cobert,

Thanks for your response. I will be emailing to you the sample application
in a few minutes.
 
Colbert,

Your latest code changes have fixed the Nested Masterpage problem. However,
Ia m getting the same error you were getting when the photogallery page
loads. I have emailed to you my latest working version for help.

Thanks
 
Back
Top