Upgrade from 4.5.6.0 to 5.6.2.0

7 posts, 1 answers
  1. Jason Brownhill
    Jason Brownhill avatar
    55 posts
    Member since:
    Jun 2009

    Posted 08 Mar 2010 Link to this post

    Hi,
     We've finally purchased the full version and have a license for the Rad Editor for Sharepoint - Yayy!

     I've gone through the upgrade instructions here and I'm still having a few problems with the web part being allowed through the safecontrols entries that I've added back into the web.config file. The error I'm getting is :-

    Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.
    [UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.]
      at Microsoft.SharePoint.ApplicationRuntime.SafeControls.GetTypeFromGuid(Guid guid)
      at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)


     On trying to correct this I've added all of the old safe controls lines into the web.config file as they were previously. Does it matter if they are after the new versions? The lines I've added back in are :-

    <SafeControl Assembly="RadEditorSharePoint, Version=4.5.6.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" />
          <SafeControl Assembly="RadEditorSharePoint, Version=4.5.6.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" />
          <SafeControl Assembly="RadEditorSharePoint, Version=4.5.6.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" />

     I'm a bit unsure about what the instructions refer to in option 3, so I'm not sure if I'm missing a stage here or something. Can you advise please?

    Thanks,
    Jason.
  2. Jason Brownhill
    Jason Brownhill avatar
    55 posts
    Member since:
    Jun 2009

    Posted 08 Mar 2010 Link to this post


    Just to clarify a little further. The 4.5.6.0 version was withdrawn from the site from the solution management pages and removed from the farm. The files still exist under the folder :- C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.6.0__1f131a624888eeed

    Thanks.

  3. Jason Brownhill
    Jason Brownhill avatar
    55 posts
    Member since:
    Jun 2009

    Posted 08 Mar 2010 Link to this post

    Reading the help file, the instructions are slightly different. Stage 3 is split up into sections a, b and c instead of continuing in the numbered bullet list in the web article. No worries though.

    So, does this 'Do the following for each editing scenario' mean that I have to do something more than the once? I'm not sure what it means for each editing scenario. Sorry.

    If I've had 3 lines from the previous version in the web.config file, does it now require 3 entries for the bindingRedirect?
  4. Answer
    Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 09 Mar 2010 Link to this post

    Hi Jason,

    All you need to do is add the correct bindingRedirect element in the web.config (if you have the latest version of RadEditor for MOSS 5.x.x.0 should be 5.6.2.0).
    <dependentAssembly>
         <assemblyIdentity name="RadEditorSharePoint" publicKeyToken="1f131a624888eeed" culture="neutral" />
         <bindingRedirect oldVersion="1.0.0.0-4.5.6.0" newVersion="5.x.x.0" />
    </dependentAssembly>

    and add a SafeControl element for the old version of the editor in the web.config
    <SafeControl Assembly="RadEditorSharePoint, Version=4.5.6.0, Culture=neutral,
    PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*"
    Safe="True" />



    Greetings,
    Stanimir
    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.
  5. Jason Brownhill
    Jason Brownhill avatar
    55 posts
    Member since:
    Jun 2009

    Posted 09 Mar 2010 Link to this post


     Thanks for the solution - it just wasn't apparent from the instructions that I would need to edit the actual version numbers in the code snippets. ;o)
  6. saran
    saran avatar
    1 posts
    Member since:
    Jul 2010

    Posted 12 Jul 2010 Link to this post

    Hi Team,
    We have a corporate intrantet publishing site and Telerik controls is being used !
    When i tried to add a "Telerik RadEditor for MOSS" webpart, below error message is being displayed.

    "Telerik RadEditor for MOSS : A web part or web form control on this page cannot be displayed or imported. The type is not registered as safe."
    And i have not checked the versions information.

    Could you please check and help me on this to ressolve this error ?

    Thanking you in advance.
  7. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 13 Jul 2010 Link to this post

    Hello saran,

    Could  you please open an official support ticket and provide me with the web.config file of your MOSS server. I will check it and advise you further.


    Best wishes,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top