October 31st, 2012, 01:43 AM
Creating virtual directory alias
I need to create a virtual directory alias which redirects user to a given web page. If there is no VD for that page, then master page ref works well.As soon as I created VD and try to get that same page by entering the path to VD, I got the error message
Server Error in '/subdirectory' Application.
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 File: /subdirectory/webpage.aspx Line: 1
Line 1: <%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" EnableSessionState="true" EnableViewState="false" Title="Web Page" %>