Parser error in global.asax

J

Jerry Tovar

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
 
A

Andy Mortimer [MS]

1) Ensure you have the following line in the machine.config file.

<add assembly="*"/>

2) Review http://support.microsoft.com/default.aspx?scid=kb;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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top