Problem is when I run the project from visual studio it works fine but when I run the applicaiton from localhost I get the following error.
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 virtual path '/assets/masters/homepage.master' maps to another application, which is not allowed.
Source Error:
Line 1: <% @ Page Language="C#" MasterPageFile="/assets/masters/homepage.master" Title="Content Page 1" %>
Line 2:
Line 3: <asp:Content ContentPlaceHolderID="Extra_dNet_Code" Runat="Server">
Source File: /WebSite4/default.aspx Line: 1
Though, there is no error in visual studio, it shows several warnings.
This is where the error give in following file /assets/masters/homepage.master
<% @ Page Language="C#" MasterPageFile="/assets/masters/homepage.master" Title="Content Page 1" %>
How to fix this?