473,795 Members | 3,386 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

parser error: Could not load type ???.Global in globall.asax line 1

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
details and modify your source code appropriately.

Parser Error Message: Could not load type HTMLTableExtrac tor.Global

Source Error:

<% Application Codebehind = "Global.asax.cs "
Inherits="HTMLT ableExtractor.G lobal" %>

This is what I have tried to date:

1. Erase Global.asax file and replace with a new one. (Didn't work).
2. Create a whole new empty project, and import old classes in one by one
(Didn't work).
3. Erase "bin" folder and rebuild application from scratch. (Didn't work).
4. Erase all files in
c:/winnt/system/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files.
and then rebuild (Didn't Work).
5. Restarted the ASP.NET thread. (Didn't work).
6. Restarted IIS. (Didn't work).
7. Moved everything to new virtual directory. (Didn't work).
8. Restarted the computer a dozen times..

Now, I can deploy these applications to another server, and they run, on the
other server. Just not on my computer. On my computer they don't run from
IE. Visual studio does not appear to be the problem.

I'm about ready to use the one solution I do know: FORMAT C: :)

Any suggestions? Can I remove IIS and reinstall it without screwing up
Visual Studio and having to reinstall everything?

Thanks,

Tyson

Nov 18 '05 #1
1 5023
I did everything you did and ran into the same issue.

Here was how I was able to work around it.

Inside of the Global.asax.vb wrap the Global class inside of the same namespace your project is in:

NameSpace Group.NameSpace
Public Class Global
------
End Class
End NameSpace

Then Build the app, view in browser and it worked for me.

I was then able to remove the namespace and everything still worked fine.
Good Luck,
Chad

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Nov 18 '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
2285
by: BW | last post by:
When entering web site I get the following error in the Default.aspx page: Server Error in '/' 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
5
2252
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:
0
1134
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
6
3889
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root of the web app 3)restarting IIS 4)recreating the virtual dir in IIS 5)playing with any and all settings I could find for the web app in IIS, including changing permissions 6)recopying the machineconfig file from my asp v1.4... onto my local server
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
2168
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
2141
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
4710
by: Neil | last post by:
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...
1
1795
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
9672
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
9519
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,...
0
10437
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10214
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10164
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,...
1
7538
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
5437
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...
2
3723
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
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.