1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Problem with rendering web parts on edit mode (Object reference not set to an instance of an object)

Problem with rendering web parts on edit mode (Object reference not set to an instance of an object)

4 posts, 1 answered
  1. Lazar Atanasov
    Lazar Atanasov avatar
    22 posts
    Registered:
    12 Apr 2010
    27 May 2010
    Link to this post
    Dear All,

    I'll describe my problem that looks  really strange. I convert the Sitefinity Community Edition 3.7 into .Net 4.0 framework with VS 2010 and I get an error in the news module (for DynamicHyperLink). the error was:

    'DynamicHyperLink' is an ambiguous reference between 'Telerik.Cms.Web.UI.DynamicHyperLink' and 'System.Web.DynamicData.DynamicHyperLink' 

    so instead of DynamicHyperLink I make an inheritance like this - Telerik.Cms.Engine.WebControls.DynamicHyperLink

    But when I'm trying to edit a page the web controls are not rendering the error of every control is Object reference not set to an instance of an object. I can not see the content of the control. Every control that is dragged shows the same error.

    Is this caused with the conversion or .... ???

    Please help,
    Best regards,
    Lazar
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    27 May 2010
    Link to this post
    Hello Lazar Atanasov,

    Thank you for using our services.

    Sitefinity 3.x is not compatible with .NET 4.0 yet. So you will have to convert your project back to .NET 3.5 framework. The issue you are describing is a know one if Sitefinity is used with .NET 4.0 (object reference is null). Also the sitemap provider is throwing XML errors.

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Lazar Atanasov
    Lazar Atanasov avatar
    22 posts
    Registered:
    12 Apr 2010
    28 May 2010
    Link to this post
    Thank you Radoslav,

    So, as I understand You are planing to fix this in future don't you? So the 3.x version (in my case 3.7) will be working fine on .Net 4.0.

    Best Regards,

    Lazar
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    28 May 2010
    Link to this post
    Hello Lazar Atanasov,

    There will be a SP4 of Sitefinity 3.7 after Q2 or RadControl for ASP.NET AJAX - middle of July beginning of August. I believe that we will manage to release build for .NET Framework 4.0.
    Sitefinity uses RadControls for ASP.NET AJAX and there are also known issues with the controls for .NET Framework 4.0 - ClientIdMode support for ASP.NET 4.0

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
    Answered
Register for webinar
4 posts, 1 answered