This is a migrated thread and some comments may be shown as answers.

Upgrade from 4.5.6.0 to 5.6.2.0

6 Answers 98 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Jason Brownhill
Top achievements
Rank 1
Jason Brownhill asked on 08 Mar 2010, 05:39 PM
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.

6 Answers, 1 is accepted

Sort by
0
Jason Brownhill
Top achievements
Rank 1
answered on 08 Mar 2010, 05:40 PM

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.
0
Jason Brownhill
Top achievements
Rank 1
answered on 08 Mar 2010, 05:47 PM
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?
0
Accepted
Stanimir
Telerik team
answered on 09 Mar 2010, 07:50 AM
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.
0
Jason Brownhill
Top achievements
Rank 1
answered on 09 Mar 2010, 12:59 PM

 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)
0
saran
Top achievements
Rank 1
answered on 12 Jul 2010, 10:08 AM
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.
0
Stanimir
Telerik team
answered on 13 Jul 2010, 10:44 AM
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.
Tags
WebParts for SharePoint
Asked by
Jason Brownhill
Top achievements
Rank 1
Answers by
Jason Brownhill
Top achievements
Rank 1
Stanimir
Telerik team
saran
Top achievements
Rank 1
Share this question
or