Home All Groups Group Topic Archive Search About
Author
21 Jul 2006 12:05 PM
guy
VB.Net2005 / ASP.net

i have had strange errors in this web app before, however on a control i am
building i get a blue squiggly "Name lblName is not defined" although it is
defined.
lblName is not visible using Me.
a build page shows this as an error
a Rebuild Solution does NOT error, and returns build succeeded
running the application returns build succeeded and runs correctly

whats going on?

Author
21 Jul 2006 2:16 PM
Travis Sharpe
guy wrote:
> VB.Net2005 / ASP.net
>
> i have had strange errors in this web app before, however on a control i am
> building i get a blue squiggly "Name lblName is not defined" although it is
> defined.
> lblName is not visible using Me.
> a build page shows this as an error
> a Rebuild Solution does NOT error, and returns build succeeded
> running the application returns build succeeded and runs correctly
>
> whats going on?

I've seen this happen a couple of times with Visual Studio 2005.  If you
save your solution/project and close Visual Studio, then open it back
up, does it then recognize lblName?

You can try to rebuild the project as well, although that's never worked
for me when this happens.

Switching the page from design view/source view will sometimes fix this
as well.

Hope this helps.