Re: Parser error in Global.asax



Hi,

Open the .asax file and make a simple edit (say, a space character at the
end of the file), save it and rebuild.

HTH.

"Neil" <Neil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D939863F-C057-4A96-8AA3-37AF163BF7E1@xxxxxxxxxxxxxxxx
Hello -
In every project I try to compile and run, I'm getting a parser error on
global.asax (pasted below). I have rebuilt and recompiled, and this happens
on every project on my machine, no matter how simple or complex. For example
purposes, I even created a new app using all the defaults in VS.Net 2003
(WebApplication1, WebForm1) and dropped a label on WebForm1, did a Ctrl-F5
and still get the error. I have tried reinstalling the .NET Framework,
VS.Net
2003 and IIS, but it still fails. Can anyone help please?

Error message below...thanks in advance, Neil


Server Error in '/WebApplication1' Application.
--------------------------------------------------------------------------------

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.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="WebApplication1.Global" %>



Source File: c:\inetpub\wwwroot\WebApplication1\global.asax Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032



.



Relevant Pages

  • ASP.NET Question
    ... it seems to load but boms out with 404 error. ... machine 2 Error message ... details and modify your source file appropriately. ... Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Problem with global.asax
    ... An error occurred during the parsing of a resource required to ... details and modify your source file appropriately. ... Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Microsoft Please Help??
    ... 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: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Move an application to another machine....
    ... I find the folder WORK and I set it as an ASP.NET application.. ... details and modify your source file appropriately. ... Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Security Error Message on Page.
    ... Rebuild all the solution. ... > details and modify your source file appropriately. ... > Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet.security)