Click here to Skip to main content
15,889,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Could not load type 'WebSite31.SiteMaster'.

Parser Error

\<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="WebSite31.SiteMaster" %>
Posted

Try solution suggested by Nirav first.

If not working try as below

HTML
<![CDATA[<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="WebSite31.Site" %>]]>
 
Share this answer
 
 
Share this answer
 
Comments
Member 10533469 23-Jan-14 7:31am    
Sir this is the situation
I copy the sitemaster.masterpage of one project and i add this item to replace my existing masterpage...

Can you explain this to me?
Copy some default html markup provided by “our designer” into the Site.Master page generated by Visual Studio from the default ASP.NET WebForms templates.
(whats the default markup)


In our working solution, open the Site.Master page, select and delete all the markup. Using Windows NotePad (or a text editor of your choice) find and open the text file MasterPage-Template.txt. Then copy and paste the entire content of the text file into the Ste.Master file.
Member 10533469 23-Jan-14 7:39am    
?????

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