Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on my fyp, developing a website in asp.net 4.5 using visual studio 2013.
I have a master page, and a webpage that extends that master page. 2 days ago, it was working well but now it gives error. that master page can not be load.

C++
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: Could not load type 'shiaeventpopper.Users'.

Source Error:
Line 1:  <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Users.master.cs" Inherits="shiaeventpopper.Users" %>
Line 2:  
Line 3:  <!DOCTYPE html>


Source File: /Users.Master    Line: 1 


if any body knows about this error. please help.
Posted

1 solution

There may be namespace/class name conflict as Users may be a class created by Entity Framework too (if pluralization is allowed). Change the name "Users" to "UsersPage" for UI code and Let me know the outcome or error after that.

Please look into following links those may help:
Parser error: Could not load type[^]

http://stackoverflow.com/questions/1709831/master-page-getting-could-not-load-type-error-when-publishing?rq=1[^]

Thanks.
 
Share this answer
 
v3
Comments
Muhammad Taqi Hassan Bukhari 18-Aug-14 10:44am    
I have change name, but the same error.
Snesh Prajapati 18-Aug-14 12:12pm    
I have added two links having similar issue in answer above...hope those will help you.

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