473,385 Members | 1,492 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,385 software developers and data experts.

Parser error in global.asax

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
network's LAN drive. I am an Admin.

Here's my error page:
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 'testnet2.Global'.

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

Source File: \\DSDHOLS01\DEVELOP\FOXPRO\EXP5-208
\ROOT\\testnet2\global.asax Line: 1

Nov 17 '05 #1
2 2010
1) Ensure you have the following line in the machine.config file.

<add assembly="*"/>

2) Review http://support.microsoft.com/default...b;en-us;321748
and ensure you build before viewing the pages.

3) Does the dll exist in the applications’ \bin directory
Regards
Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only
Nov 17 '05 #2
1) Ensure you have the following line in the machine.config file.

<add assembly="*"/>

2) Review http://support.microsoft.com/default...b;en-us;321748
and ensure you build before viewing the pages.

3) Does the dll exist in the applications’ \bin directory
Regards
Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only
Nov 17 '05 #3

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...
0
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....
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.