Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have a webapplcation name HRM. Now i am trying to add a file aspx with another project name HRM1 (also web applicaitonFile), but i am getting this error as i try to see that file in browser: **Pareser 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. Message: Could not load type 'HRM1.WebForm10'. Line 1: <%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Nationality.aspx.cs" Inherits="HRM1.WebForm10" %>**

I also have try inherits= "HRM1.WebForm10", but the same parser error ocurring i dont know why? I am using VS 12 and webapplication
Posted
Updated 14-Feb-14 5:35am
v2
Comments
Did you also copied the Mater Page?
Muhamad Faizan Khan 16-Feb-14 2:44am    
nope same name master page exisit in my prject
Muhamad Faizan Khan 16-Feb-14 3:20am    
i also copy the master page now that page is working . what is the secret while my new project also contain a master page and exsisitng aspx file master page i have also changed
I have added one answer. Please accept that and up-vote.
Did you question similar to this resolved or not? Can I add an answer in that question as well?
Muhamad Faizan Khan 16-Feb-14 7:42am    
masterpage isnt the main issue.

1 solution

Quote:
Did you also copied the Mater Page?

Quote:
i also copy the master page now that page is working . what is the secret while my new project also contain a master page and exsisitng aspx file master page i have also changed
Might be your Master Page path is different.
 
Share this answer
 
Comments
Muhamad Faizan Khan 16-Feb-14 7:40am    
path!! which path?? name were same
MasterPageFile="~/Site.Master"
Muhamad Faizan Khan 16-Feb-14 7:48am    
this were correct

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