Design Time Error: Error Rendering Control

Discussion in 'ASP .Net Web Controls' started by PeterW, Mar 29, 2006.

  1. PeterW

    PeterW Guest

    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?

    PeterW, Mar 29, 2006
    1. Advertisements

  2. PeterW

    CaffieneRush Guest

    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.

    CaffieneRush, Mar 29, 2006
    1. Advertisements

  3. 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
    Steven Cheng[MSFT], Mar 30, 2006
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.