Groups | Blog | Home
all groups > asp.net > march 2007 >

asp.net : /master page.master does not exist


Kevin
3/29/2007 10:50:22 PM
The web application runs fine on my Windows XP computer but as soon as I
load it to our Windows 2003 server I get this error
'/master page.master' does not exist
The master page is there so am very puzzled.
Any ideas as I seem to be going around in circles.

Muhammad Naveed Yaseen
3/29/2007 11:01:25 PM
If '/master page.master' is copy paste, then you may want to try '~/
masterpage.master', because spaces and absolute (or root-relative)
addresses are not appropriate for URLs.

When we use absolute or root-relative addresses, and upon re-
deployment the wording of virtual directory on new server is not be
same as previous server, it would break such addresses.
Sashidhar Kokku
3/30/2007 11:32:17 AM
I think I got a similar error before. Sometimes, when you deploy using the
"publish website" menu item in VS 2005, the masterpage gets some additional
junk text in its html view.
I don't really know why, and how...but I have observed it before myself.
Just to be sure, why dont you open your masterpage, and a corresponding
derived page, and look for any junk in the first 2-3 lines of the page.

Remove it and it should solve your problem

--
Sashidhar Kokku
ikaSystems Corp


[quoted text, click to view]
Kevin
3/30/2007 5:27:40 PM
It is already set to ~/
So am even more totally confused.


[quoted text, click to view]

AddThis Social Bookmark Button