getting this error and im stuck in days.. please help

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 'LibrarySystem.Site2'.

Line 1:  <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site2.master.cs" Inherits="LibrarySystem.Site2" %>
Line 2:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Line 3:

thank guys ;)

I used to get errors with that line 1.I omitted it completely and used inline scripts in the page by delimiting server side scripts with

<script runat="server">
'code here
</script>

All the problems disappeared you can try it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.