VS.NET 2003 Bug when ASP.NET control is in Design mode

Discussion in 'ASP .Net Building Controls' started by ~~~ .NET Ed ~~~, Nov 14, 2004.

  1. Odd problem it is... on the design surface the web control is shown with red
    letters claiming that VS.NET was "Unable to create Control". But the entire
    assembly compiles flawlessly and even the test page displays the "damaged"
    controls perfectly. Looks like a VS.NET bug.
     
    ~~~ .NET Ed ~~~, Nov 14, 2004
    #1
    1. Advertising

  2. "~~~ .NET Ed ~~~" <> wrote in message
    news:er$...
    > Odd problem it is... on the design surface the web control is shown with
    > red
    > letters claiming that VS.NET was "Unable to create Control". But the
    > entire
    > assembly compiles flawlessly and even the test page displays the "damaged"
    > controls perfectly. Looks like a VS.NET bug.


    Bug: sometimes VS.NET fails to create the control for no good reason.

    Not likely!

    What's more likely is that there _is_ a good reason, but VS.NET isn't nice
    enough to tell you what that reason is.

    At times like these, it's necessary to debug the design-time behavior of the
    control. To do this, I usually just start up another instance of Visual
    Studio.NET, then use Tools->Debug Processes to select the original instance
    of devenv.exe. I then use the Debug->Exceptions dialog have the likely
    culprits break into the debugger immediately. I then just go over to the
    original and reproduce the problem. Chances are, you'll catch an exception
    in the debugger (the favorite being NullReferenceException).

    John Saunders
     
    John Saunders, Nov 15, 2004
    #2
    1. Advertising

  3. Hi,

    You have not told what control you are using. Some times, if you have a
    control which has only run time license, you may see this issue.

    "~~~ .NET Ed ~~~" wrote:

    > Odd problem it is... on the design surface the web control is shown with red
    > letters claiming that VS.NET was "Unable to create Control". But the entire
    > assembly compiles flawlessly and even the test page displays the "damaged"
    > controls perfectly. Looks like a VS.NET bug.
    >
    >
    >
    >
     
    Saravanan K V, Nov 19, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John J Lee
    Replies:
    3
    Views:
    549
    bruno at modulix
    Dec 1, 2005
  2. Edward Loper
    Replies:
    0
    Views:
    523
    Edward Loper
    Aug 7, 2007
  3. John J Lee
    Replies:
    0
    Views:
    556
    John J Lee
    Aug 7, 2007
  4. Edward Loper

    mmm-mode, python-mode and doctest-mode?

    Edward Loper, Aug 9, 2007, in forum: Python
    Replies:
    0
    Views:
    472
    Edward Loper
    Aug 9, 2007
  5. Neal Becker
    Replies:
    0
    Views:
    409
    Neal Becker
    Aug 9, 2007
Loading...

Share This Page