Re: Parser error in Global.asax
- From: "Siva M" <shiva_sm@xxxxxxxxxxxxxxxxx>
- Date: Sun, 18 Sep 2005 19:54:48 +0530
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
.
- References:
- Parser error in Global.asax
- From: Neil
- Parser error in Global.asax
- Prev by Date: Re: Verifying the user is connected
- Next by Date: asp.net tags
- Previous by thread: Parser error in Global.asax
- Next by thread: Re: Autorefresh page at client
- Index(es):
Relevant Pages
|