I have created a virtual directory alias that redirect users to a particular web page. If there is no VD for that particular page, then the master page reference works well. But when I created a virtual directory and try to get the same page by entering the path to VD, I got the error message
Server Error in '/subdirectory' 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 '/subdirectory/MasterPage.master' does not exist.
Source Error:
Line 1: <%@ Page Language="
VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" EnableSessionState="true" EnableViewState="false" Title="Web Page" %>
Source File: /subdirectory/webpage.aspx Line: 1