I am using .Net 2003. I am trying to build ASP.Net applications, however whenever I build my project and then try to view the webform in a browser, I keep getting the following Parser Error.
I have read somewhere about changing the global.asax and the .Aspx source lines from the Codebehind statement to src. For Example:
Codebehind="Global.asax.cs" change to src="Global.asax.cs"
and
Codebehind="employee.aspx.cs" change to src="employee.aspx.cs"
This does allow me to view my webform in a browser and everything works, however I can't edit my .ASPX in the designer again unless I change the above line to read Codebehind="employee.aspx.cs".
Why does src="employee.aspx.cs" allow my webforms to work?
What can I do to correct these Parser Errors?
Any suggestions?
Thanks,
Jerry
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 'employee.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="employee.Global" %>