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

Forums / Developing with Sitefinity / Telerik.Cms.Engine.WebControls.GenericContent, Telerik.Cms.Engine version mismatch

Telerik.Cms.Engine.WebControls.GenericContent, Telerik.Cms.Engine version mismatch

2 posts, 0 answered
  1. sarath
    sarath avatar
    24 posts
    Registered:
    24 Jan 2010
    07 Feb 2010
    Link to this post
    Hi,

    I am facing the below version mismatch. Please see the below.

    I loaded the template controls programmatically to pull the generic content. I am seeing the Telerik.Cms.Engine.WebControls.GenericContent, Telerik.Cms.Engine version mismatch.

    1.
    template.Controls[0].TypeName

    Telerik.Cms.Engine.WebControls.GenericContent, Telerik.Cms.Engine, Version=3.7.2022.3, Culture=neutral, PublicKeyToken=dfeaee0e3978ac79

    2.

    template.Controls[4].TypeName
    Telerik.Cms.Engine.WebControls.GenericContent, Telerik.Cms.Engine, Version=3.7.2057.3, Culture=neutral, PublicKeyToken=dfeaee0e3978ac79


    For control "0" the version is 3.7.2022.3 and control "4" the version is 3.7.2057.3.

    My below condition is failing for first scenario and pass for second secnario.
    if(control.TypeName.Equals(typeof(Telerik.Cms.Engine.WebControls.GenericContent).AssemblyQualifiedName))
    {

    //get generic content

    }

    Please advice why i am getting two versions in the same template controls. how to make first scenario also to pass.

    Thanks,
    Mahesh
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    07 Feb 2010
    Link to this post
    Hello sarath,

    Check your project references and dlls you have in the bin. Remove the unnecessary dlls and references.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
2 posts, 0 answered