spurious error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
guy said:
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.
 
Back
Top