Parser Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jerry Tovar

    #1

    Parser Error

    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="Glo bal.asax.cs" change to src="Global.asa x.cs"
    and
    Codebehind="emp loyee.aspx.cs" change to
    src="employee.a spx.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="emp loyee.aspx.cs".

    Why does src="employee.a spx.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.Globa l'.

    Source Error:
    Line 1: <%@ Application Codebehind="Glo bal.asax.cs"
    Inherits="emplo yee.Global" %>

Working...