Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Master page does not exist

 
Thread Tools Search this Thread
Old 08-17-2006, 10:07 PM   #1
Default Master page does not exist


Hi All

I am just in the process of taking the leap into .net 2 and vs 2005 and a I
have come across a bit of a problem.

I have created an Intranet app and have the following folder structure:-

/
/phonebook
/SMS
/QMS

I have a master page in the root of the site which I use on all the pages in
the site, everything works fine in VS 2005 but when I publish the site to my
local IIS I get the following error when I try to access the
/QMS/Default.aspx. NOTE: I don't get the error when I access any of the
other Default.aspx pages in the other directories.

The error is:-

Server Error in '/QMS' 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 '/QMS/IntranetMasterPage.master' does not
exist.

Source Error:


Line 1: <%@ page language="VB" masterpagefile="~/IntranetMasterPage.master"
autoeventwireup="false" inherits="QMS_Default, App_Web_tlcplbav"
title="Untitled Page" %>
Line 2: <asp:Content ID="Content1"
ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
Line 3: <table class="tablefull">


Source File: /QMS/Default.aspx Line: 1



--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.42

------------------------

I have checked the directive in all the other pages against the
qms/default.aspx page and cannot see any differences.

Any help will be very much appreciated.

Regards
Bren

Why do I climb mountains - Simple because they are there.

www.3peakschallenge.co.uk




Bren
  Reply With Quote
Old 08-19-2006, 02:53 PM   #2
Bren
 
Posts: n/a
Default Re: Master page does not exist
Sorted this myself, if anyone is interested the problem seemed to be due to
the directory name being "QMS", I changed the name to "qmsonline" and
everything works fine now.

Curious why it didn't like the directory name "QMS"

rgds
bren

"Bren" <m> wrote in message news:OtL$...
> Hi All
>
> I am just in the process of taking the leap into .net 2 and vs 2005 and a
> I have come across a bit of a problem.
>
> I have created an Intranet app and have the following folder structure:-
>
> /
> /phonebook
> /SMS
> /QMS
>
> I have a master page in the root of the site which I use on all the pages
> in the site, everything works fine in VS 2005 but when I publish the site
> to my local IIS I get the following error when I try to access the
> /QMS/Default.aspx. NOTE: I don't get the error when I access any of the
> other Default.aspx pages in the other directories.
>
> The error is:-
>
> Server Error in '/QMS' 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 '/QMS/IntranetMasterPage.master' does not
> exist.
>
> Source Error:
>
>
> Line 1: <%@ page language="VB"
> masterpagefile="~/IntranetMasterPage.master" autoeventwireup="false"
> inherits="QMS_Default, App_Web_tlcplbav" title="Untitled Page" %>
> Line 2: <asp:Content ID="Content1"
> ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
> Line 3: <table class="tablefull">
>
>
> Source File: /QMS/Default.aspx Line: 1
>
>
>
> --------------------------------------------------------------------------------
>
> Version Information: Microsoft .NET Framework Version:2.0.50727.42;
> ASP.NET Version:2.0.50727.42
>
> ------------------------
>
> I have checked the directive in all the other pages against the
> qms/default.aspx page and cannot see any differences.
>
> Any help will be very much appreciated.
>
> Regards
> Bren
>
> Why do I climb mountains - Simple because they are there.
>
> www.3peakschallenge.co.uk
>





Bren
  Reply With Quote
Old 08-19-2006, 02:59 PM   #3
Kevin Jones
 
Posts: n/a
Default Re: Master page does not exist
Do you have an "application" named QMS on that server? i.e. do you have
a virtual directory mapped to QMS?

Bren wrote:
> Sorted this myself, if anyone is interested the problem seemed to be due to
> the directory name being "QMS", I changed the name to "qmsonline" and
> everything works fine now.
>
> Curious why it didn't like the directory name "QMS"
>
> rgds
> bren
>
> "Bren" <m> wrote in message news:OtL$...
>> Hi All
>>
>> I am just in the process of taking the leap into .net 2 and vs 2005 and a
>> I have come across a bit of a problem.
>>
>> I have created an Intranet app and have the following folder structure:-
>>
>> /
>> /phonebook
>> /SMS
>> /QMS
>>
>> I have a master page in the root of the site which I use on all the pages
>> in the site, everything works fine in VS 2005 but when I publish the site
>> to my local IIS I get the following error when I try to access the
>> /QMS/Default.aspx. NOTE: I don't get the error when I access any of the
>> other Default.aspx pages in the other directories.
>>
>> The error is:-
>>
>> Server Error in '/QMS' 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 '/QMS/IntranetMasterPage.master' does not
>> exist.
>>
>> Source Error:
>>
>>
>> Line 1: <%@ page language="VB"
>> masterpagefile="~/IntranetMasterPage.master" autoeventwireup="false"
>> inherits="QMS_Default, App_Web_tlcplbav" title="Untitled Page" %>
>> Line 2: <asp:Content ID="Content1"
>> ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
>> Line 3: <table class="tablefull">
>>
>>
>> Source File: /QMS/Default.aspx Line: 1
>>
>>
>>
>> --------------------------------------------------------------------------------
>>
>> Version Information: Microsoft .NET Framework Version:2.0.50727.42;
>> ASP.NET Version:2.0.50727.42
>>
>> ------------------------
>>
>> I have checked the directive in all the other pages against the
>> qms/default.aspx page and cannot see any differences.
>>
>> Any help will be very much appreciated.
>>
>> Regards
>> Bren
>>
>> Why do I climb mountains - Simple because they are there.
>>
>> www.3peakschallenge.co.uk
>>

>
>



Kevin Jones
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
master page does not change due to preinit event not firing franchise63 General Help Related Topics 0 02-13-2008 09:18 AM
master page & app_theme folder doesn't work dummies2 General Help Related Topics 0 09-04-2007 05:41 PM
Classic Original Broadcasts Trading List - Updated ( w/o/c ) porkys1982@sbcglobal.net DVD Video 0 12-05-2005 03:38 AM
Classic Original Broadcasts Trading List - Updated ( w/o/c ) porkys1982@sbcglobal.net DVD Video 0 11-19-2005 04:46 PM
Original Airings : The A-Team , M*A*S*H , Taxi , Barney Miller , WKRP porkys1982@sbcglobal.net DVD Video 0 08-15-2005 03:09 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46