473,769 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Parser error in Global.asax

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
(WebApplication 1, 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 'WebApplication 1.Global'.

Source Error:
Line 1: <%@ Application Codebehind="Glo bal.asax.cs"
Inherits="WebAp plication1.Glob al" %>

Source File: c:\inetpub\wwwr oot\WebApplicat ion1\global.asa x Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032; ASP.NET
Version:1.1.432 2.2032
Nov 19 '05 #1
1 4691
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" <Ne**@discussio ns.microsoft.co m> wrote in message
news:D9******** *************** ***********@mic rosoft.com...
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
(WebApplication 1, 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 'WebApplication 1.Global'.

Source Error:
Line 1: <%@ Application Codebehind="Glo bal.asax.cs"
Inherits="WebAp plication1.Glob al" %>

Source File: c:\inetpub\wwwr oot\WebApplicat ion1\global.asa x Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032; ASP.NET
Version:1.1.432 2.2032

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
639
by: Tyson Zwicker | last post by:
Hi, I'm suddenly unable to run any ASP.net applications. Last week everything worked. But now (Mondays!) I get the same error from _every_ application I've written: Parser Error Description: An error occured during the parsing of a resource required to service this request. Please review the following specific parse error
2
1560
by: Michael D Murphy | last post by:
Hi, I am getting the following error when I strart debugging, regardless of the project or solution I am working on. Any help would certainly be appreciated. Michael Server Error in '/LeagueHelper' Application. ---------------------------------------------------------------------------- ----
5
2251
by: CES | last post by:
All, I've just started to use VBStudio, up tell now I've coded with note pad, so this is all new to me. I'm trying to create my first project but I'm running into problems. I've created a base ASP.net web application and used the default name WebApplication1. Without doing !!anything!! to the WebForm1.aspx I build the project by going to File Menu Build\Build Solution (Ctr+Shift+B) : In the Output window I get:
2
2030
by: Jerry Tovar | last post by:
I am using .net 2003. I am trying to create a C# ASP.Net webform. When I attempt to create a new ASP.Net project and place a label on my webform, build it and run the webform, I get the following error in my browser. At one time I was able to successfully create ASP.Net webforms. However, now I can not even create a test webform. I am unable to create any ASP webforms. I am using XP Pro with IIS. But my web root in on our
0
1133
by: Jerry Tovar | last post by:
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
2
1304
by: VB Programmer | last post by:
If I run my ASP.NET solution locally it runs perfectly. I uploaded it to my website and I keep getting this error on load.. Any ideas? Thanks. Server Error in '/' Application. -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to
1
2164
by: Vijay | last post by:
I have an asp.net application. I am able to combile the application in vs.net but when i run/browse the application i am getting the following error. 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 'PTS.Global'. Source Error:
2
2140
by: pj_servadmin | last post by:
Server Error in '/<applicationName>' 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 'Default.Global'. Source Error: Line 1: <%@ Application...
1
1794
by: =?Utf-8?B?QWNl?= | last post by:
hello, i just converted old .net project (it was a solution with web project and class project) built in .net 1.0 and 1.1 framework to .net 2.0. as i expected, when i clicked on the solution file from vs 2005, it went through a conversion process and all seemed to go ok. when i attempt to run, i get first parser error on global.asax and cs. i still have global.asax and global.asax.cs attached together (as code-behind). after few...
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9422
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9987
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9857
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8867
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7404
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5294
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3952
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2812
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.