L
lee atkinson
HI guys, got a bit of a problem here... No joy from google.
Ive got a website vb.net 2005 , with a masterpage In the root... Ive got
some pages in a folder like /root/sections/subsectionfiles/page.aspx ...
With the reference to the masterpage as <%@ Page Language="VB"
MasterPageFile="~/master.master" ... This all works cool.
Im trying to add some virtual directorys that point to the 'subsection'
folder like so -
/root/section/section1/
/root/section/section2/
/root/section/section3/
And these folders map to 'subsectionfiles' folder in IIS ... So I thought
this would work fine but when i browse '/root/section/section1/' it throws
this error -
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 '/sections/subsectionfiles/master.master'
does not exist.
Source Error:
Line 1: <%@ Page Language="VB" MasterPageFile="~/master.master"
AutoEventWireup="false" CodeFile="Default.aspx.vb"
Its trying to find the masterpage in the virtual folder not the root folder
Anyone got any thoughts on how to fix this ?
Cheers
Lee
Ive got a website vb.net 2005 , with a masterpage In the root... Ive got
some pages in a folder like /root/sections/subsectionfiles/page.aspx ...
With the reference to the masterpage as <%@ Page Language="VB"
MasterPageFile="~/master.master" ... This all works cool.
Im trying to add some virtual directorys that point to the 'subsection'
folder like so -
/root/section/section1/
/root/section/section2/
/root/section/section3/
And these folders map to 'subsectionfiles' folder in IIS ... So I thought
this would work fine but when i browse '/root/section/section1/' it throws
this error -
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 '/sections/subsectionfiles/master.master'
does not exist.
Source Error:
Line 1: <%@ Page Language="VB" MasterPageFile="~/master.master"
AutoEventWireup="false" CodeFile="Default.aspx.vb"
Its trying to find the masterpage in the virtual folder not the root folder
Anyone got any thoughts on how to fix this ?
Cheers
Lee