Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > VS.NET 2003 Bug when ASP.NET control is in Design mode

Reply
Thread Tools

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

 
 
~~~ .NET Ed ~~~
Guest
Posts: n/a
 
      11-14-2004
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.



 
Reply With Quote
 
 
 
 
John Saunders
Guest
Posts: n/a
 
      11-15-2004
"~~~ .NET Ed ~~~" <(E-Mail Removed)> wrote in message
news:er$(E-Mail Removed)...
> 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


 
Reply With Quote
 
 
 
 
Saravanan K V
Guest
Posts: n/a
 
      11-19-2004
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.
>
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mmm-mode, python-mode and doctest-mode? Edward Loper Python 0 08-09-2007 05:40 AM
re: mmm-mode, python-mode and doctest-mode? John J Lee Python 0 08-07-2007 07:49 PM
re: mmm-mode, python-mode and doctest-mode? Edward Loper Python 0 08-07-2007 08:58 AM
mmm-mode, python-mode and doctest-mode? John J Lee Python 3 12-01-2005 08:35 PM
Safe Mode (?) - It is meant to be normal mode but looks like safe mode English Patient Computer Support 3 10-03-2004 11:10 PM



Advertisments