Home All Groups Group Topic Archive Search About

Web App 1.1 to 2.0 Conversion

Author
6 Feb 2007 10:28 PM
Mike
Hi...

I'm in the process of converting a 1.1 web application to 2.0.  The
automatic conversion failed, so I was forced to create a new web project. 
After copying my aspx, ascx, and vb files into the new project, I'm getting
messages for all of my controls in the code-behind files saying that the
controls have not been declared. 

I would assume that it has to do with the namespace under which the control
is declared, but because visual studio 2005 hides this information in the
partial classes, I can't find this out (am I the only person who's beginning
to hate partial classes?).  I've searched the object browser for the control
name, but it tells me that the control was not found.

I know that this has to be something something stupidly simple, but for the
life of me, I can't figure out what's going on.

Author
11 Feb 2007 2:30 PM
Alvin Bruney [MVP]
What errors did the wizard show? I don't see why you needed to start from
scratch. 1.1 is not far off from 2.0 that you can't repair the issue.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley


Show quote
"Mike" <M***@discussions.microsoft.com> wrote in message
news:908D3B22-4078-4DDA-86DD-C9E98A0E4FF2@microsoft.com...
> Hi...
>
> I'm in the process of converting a 1.1 web application to 2.0.  The
> automatic conversion failed, so I was forced to create a new web project.
> After copying my aspx, ascx, and vb files into the new project, I'm
> getting
> messages for all of my controls in the code-behind files saying that the
> controls have not been declared.
>
> I would assume that it has to do with the namespace under which the
> control
> is declared, but because visual studio 2005 hides this information in the
> partial classes, I can't find this out (am I the only person who's
> beginning
> to hate partial classes?).  I've searched the object browser for the
> control
> name, but it tells me that the control was not found.
>
> I know that this has to be something something stupidly simple, but for
> the
> life of me, I can't figure out what's going on.

AddThis Social Bookmark Button