spurious error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • guy

    #1

    spurious error

    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?
  • Travis Sharpe

    #2
    Re: spurious error

    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.

    Comment

    Working...