Home All Groups Group Topic Archive Search About

Problem converting from 1.1 to 2.0 & VS 2003 to VS 2005.

Author
26 Apr 2006 4:51 PM
Blasting Cap
I had a copy of a project that was working in Visual Studio 2003 and
Framework 1.1.

After a computer crash, I was given VS 2005 and am having more than a
little difficulty getting things to open in VS 2005.

At first, I tried converting the project.  That failed (it brought in
all the junk I had in my source folder).

As Plan B, I created a new website, using Visual Web Developer, and
thought I'd bring over a page or two at a time.

As of now, I have brought over my original global.asax (and the .vb
codebehind), and my default.aspx page.  They don't do much, other than
set some global variables, and read from a database.

Right now, both Visual Web Developer and Visual Studio barf on the
Inherits item in the global.asax.  No matter what I put - the new name,
the old name, no name - it tells me "Could not load type 'global'.

None of the fixes I have found seem to address this problem.

Any one have any advice or suggestions?  I am about to take this
computer out back & put it out of my misery.

BC

Author
26 Apr 2006 5:44 PM
Peter Bromberg [C# MVP]
Try adding a brand new Global.asax file from the Solution Explorer and copy
over any needed code from the old, and trash the old.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




Show quote
"Blasting Cap" wrote:

> I had a copy of a project that was working in Visual Studio 2003 and
> Framework 1.1.
>
> After a computer crash, I was given VS 2005 and am having more than a
> little difficulty getting things to open in VS 2005.
>
> At first, I tried converting the project.  That failed (it brought in
> all the junk I had in my source folder).
>
> As Plan B, I created a new website, using Visual Web Developer, and
> thought I'd bring over a page or two at a time.
>
> As of now, I have brought over my original global.asax (and the .vb
> codebehind), and my default.aspx page.  They don't do much, other than
> set some global variables, and read from a database.
>
> Right now, both Visual Web Developer and Visual Studio barf on the
> Inherits item in the global.asax.  No matter what I put - the new name,
> the old name, no name - it tells me "Could not load type 'global'.
>
> None of the fixes I have found seem to address this problem.
>
> Any one have any advice or suggestions?  I am about to take this
> computer out back & put it out of my misery.
>
> BC
>

AddThis Social Bookmark Button