Hello Eveyone:
I was wondering if someone can set me straight on this little
problem I am having which I believe must be a configuration issue. Everytime
VS.NET creates a new web form and puts this at the top:
Page language="c#" Codebehind="MyWebForm.aspx.cs" AutoEventWireup="false"
Inherits="MyProject.MyWebForm"
....when I hit the page on my server, I get this message:
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 'MyProject.MyWebform'.
Source Error:
Line 1: <%@ Page language="c#" Codebehind="MyWebForm.aspx.cs"
AutoEventWireup="false" Inherits="MyProject.MyWebForm" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 3: <HTML>
It looks like the error is with the 'inherits' directive. Does anyone know a
cure for this? Than you in advance!
Sincerely,
Kevin Parkinson
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.647 / Virus Database: 414 - Release Date: 3/29/2004