Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i copied one asp.net webproject from my friend sysytem, but its show error in my design view like masterpage cannot be loaded,

error mesg:
in my design view:
the master page file'~Masterpag3.master' cannot be loaded
correct the code in codefile


but in code view it shows like this'
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="homepage.aspx.cs" Inherits="homepage" Title="Untitled Page" %>
Posted
Comments
gnani_pal 2-Jan-14 3:10am    
please give any reply seniours

Did you search Google for this error? Below link has few solutions, check it out(Don't try the "reinstalling VS Orcas" solution first, try others before that
"Master Page error
The Master Page file '~/MasterPage.master' cannot be loaded.
Correct the problem in Code View"
[^]
 
Share this answer
 
MasterPageFile="~/MasterPage.master"
first u need to delete ~/Masterpage.master" from the tag after that place cursor after MasterPageFile=" and press space now u have option to select master page (In other words choose master page again) ,pick the master page after that u didn't get error in the master page
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900