471,325 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 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 2137
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Michael D Murphy | last post: by
2 posts views Thread by Jerry Tovar | last post: by
reply views Thread by Jerry Tovar | last post: by
2 posts views Thread by VB Programmer | last post: by
1 post views Thread by Neil | last post: by
1 post views Thread by =?Utf-8?B?QWNl?= | last post: by

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.