I have a Visual Studio 2010 project with a Master Page that works fine.

```
~/Site.Master

```

In the same project is a Folder with another directory structure that needs to use another Master Page.

```
/xr

```

Within this folder, I have included the Master Page for those files.

```
/xr/XR.Master

```

My `Default.aspx` file attempts to access this Master Page using the following include:

```
<%@ Page Title="XR Project" Language="C#" MasterPageFile="~/xr/XR.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Test1.Default" %>

```

Debugging on my machine in `localhost` works fine, but whenever I deploy it and try to navigate to the Default page in the `xr` folder, I get

**Parser Error Message:** `The file '/xr/xr/XR.Master' does not exist.`

However, the **Source Error** returns Line 1 as I have shown above.

**Here is what I tried:**

* I moved the `XR.Master` page into the root folder and changed all of the files in the `xr` folder to reference the XR Master Page using the following include:
* I debugged and tested the code on my machine using `localhost`, and it worked fine.
* I pushed it out to the remote website and got the new error:

**Parser Error Message:** `The file '/xr/~/XR.Master' does not exist.`

What am I doing wrong?

**EDIT:** I do not like posting a link to the page, but I will for a short time until this is resolved:

* [Projects](http://www.jp2code.net/Projects.aspx)

From there, you will see everything works well enough except for the link to `XR1200`.