Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Design Time Error: Error Rendering Control

Thread Tools

Design Time Error: Error Rendering Control

Posts: n/a
I am attempting to use a WebControl VspFromRequest supplied by ProtX in a
recently released development kit developed for .NET 1.1. I am trying to use
this in .NET 2.0.

The control appears in the Web Parts tab but on being dragged to the design
surface shows the Error "Error Rendering Control" followed by "Object
reference not set to an instance of an object".

I conclude that perhaps the HtmlTextWriter being used by any of the Render
methods is not being instantiated and passed to the methods or something

Can anyone shine any light on this or offer suggestions please?

Reply With Quote
Posts: n/a
Not answering your question directly but I'd check whether your vendor
has a 2.0 (VS 2005) version of the same control. In our case the two
3rd party control we used were upgraded without cost.


Reply With Quote
Steven Cheng[MSFT]
Posts: n/a
Hi PeterW,

I think the problem is likely due to the incompatibility of the design-time
interfaces between ASP.NET 1.X/VS 2003 and ASP.NET 2.0/vs 2005. For
ASP.NET webcontrol, it contains both runtime and design-time interfaces.
Generally, the runtime interfaces hasn't changed much from 1.1 to 2.0,
however, since design-time interfaces and feature depend on the VS IDE, so
it has varied much from vs 2003 to vs 2005. So the design-time error you
encountered on that 3rd party control is likely caused by some vs 2003
specific design-time code that broke in vs 2005 environment. I also suggest
you contact the webcontrol's vendor company to see whether they'll provide
a VS 2005 specific one.


Steven Cheng
Microsoft Online Community Support


When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.


This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure!
(This posting is provided "AS IS", with no warranties, and confers no

Reply With Quote

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
Design Time Error Rendering Control Roberto Kohler ASP .Net Web Controls 0 01-13-2006 02:54 PM
Design time rendering of a composite custom web control Barry Carr ASP .Net 4 01-15-2004 09:03 PM
Rendering DataGrid in a custom control at design time Sam Fields ASP .Net Building Controls 0 01-15-2004 07:41 PM
Rendering literal and serveral controls nested in web control at design time Stephen Miller ASP .Net Building Controls 1 01-02-2004 01:26 AM
Design-time rendering of User Control PV ASP .Net Building Controls 7 11-06-2003 06:11 AM