473,386 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Parser error in global.asax

I have had to move my files to another machine, and re-install
visualstudio.net2003 and re-integrate my project into the IDE.
When trying to run/f5 debug , I'm getting a Could Not Load type
myproject.global on line one in my global.asax.cs :

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

....even if I try to view the page locally thru my localhost in my
browser

It's hard to locate the point in the global.asax.cs file because the
global.asax file itself is just one line that reads what you see above
(the page directive), so I'm unclear as to where to put a breakpoint
into global.asax.cs 's code.

???
..NetSports

Jul 28 '05 #1
1 2230
This looks like the project was not compiled. It is trying to load the
'myproject.Global' class, but cannot find it.

".Net Sports" <ba********@cox.net> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I have had to move my files to another machine, and re-install
visualstudio.net2003 and re-integrate my project into the IDE.
When trying to run/f5 debug , I'm getting a Could Not Load type
myproject.global on line one in my global.asax.cs :

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

...even if I try to view the page locally thru my localhost in my
browser

It's hard to locate the point in the global.asax.cs file because the
global.asax file itself is just one line that reads what you see above
(the page directive), so I'm unclear as to where to put a breakpoint
into global.asax.cs 's code.

???
.NetSports

Jul 28 '05 #2

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

Similar topics

1
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 ...
2
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...
5
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...
2
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...
0
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...
2
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....
1
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...
2
by: pj_servadmin | last post by:
Server Error in '/<applicationName>' Application -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of...
1
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...
1
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.