Parser error in global.asax

  • Thread starter Thread starter .Net Sports
  • Start date Start date
N

.Net Sports

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
 
This looks like the project was not compiled. It is trying to load the
'myproject.Global' class, but cannot find it.
 

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

Back
Top