I keep getting the following error in visual studio when trying to run the page. It keeps happening whenever I create a new web form and I don't know why.
If I remove the inherits it then works but my code page then does not recognize any of the buttons on this page etc. So doesn't really solve the problem.
Any ideas on a permanent solution?
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 'WebApplication1.HolidayRequests'. Source Error: Line 1: <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/HRSite.Master" CodeBehind="HolidayRequests.aspx.vb" Inherits="WebApplication1.HolidayRequests" %>
Source File: /HR/HolidayRequests.aspx Line: 1
WebApplication1.HolidayRequests
from the code, but that class isn't found. – DavidWebApplication1.
from theInherits
value? See if this thread is any help forums.asp.net/t/1318456.aspx/1 – Nick Rolando