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

RadEditor and DNN 5

2 Answers 110 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 2
Joseph asked on 20 Jan 2009, 05:18 PM

Hello,

I have a clean install of DNN 5 on localhost (IIS 7, MS Vista Home Premium, MS SQL 2005 Developer Edition, ASP.NET 3.5). I have downloaded from my account RadEditor_7.35_DNN(2008_11_19) and RadEditor_7_3_5_dev. I have installed the Rad Editor using the DotNetNuke Integration Manual included in the RadEditor_7.35_DNN Folder.

After the integration, I dropped an HTML module onto a page and then chose 'Edit Text' and received this message:

==============================================================================================================

A critical error has occurred.
Could not load RadEditor! Check your provider configuration for errors (folders, links, orCSS) ! Method not found: 'DotNetNuke.Security.Permissions.FolderPermissionCollection DotNetNuke.Security.Permissions.FolderPermissionController.GetFolderPermissionsCollectionByFolderPath(Int32, System.String)'.

==============================================================================================================

I am still a novice at this stuff, but trying to learn. I went back and checked all of my work and have copied all of the dll files to the /bin, the RadControls in the /Controls Folder, and the RadHTMLEditorProvider is in the /Providers/HTMLEditorProiders Folder.

I have updated the web.config as follows (I omitted the FckEditor info for readability):

==============================================================================================================

<htmlEditor defaultProvider="RadHtmlEditorProvider">
   <providers>
    <clear/>
<add name="RadHtmlEditorProvider" type="Telerik.DNN.Providers.RadHtmlEditorProvider, Telerik.DNN.Providers.RadHtmlEditorProvider" providerPath="~/Providers/HtmlEditorProviders/RadHtmlEditorProvider/" AutoCreatePaths="true" />
   </providers>
  </htmlEditor>

==============================================================================================================

Any ideas?

Thanks,
Joe

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Lini
Telerik team
answered on 21 Jan 2009, 08:21 AM
Hello Joe,

DotNetNuke 5.0 was released just a few weeks ago and only the new editor provider (from RadControls for ASP.NET AJAX) works with it. The classic ASP.NET version that you have downloaded has not been updated and is only compatible up to DNN 4.9.X (the assembly is compiled against DNN 4).

What you can do is either get the latest ASP.NET AJAX release (2008.3.1314) or manually update the old provider code (we distribute the provider source in addition to the Telerik.DNN.Providers.RadHtmlEditorProvider.dll compiled assembly. Here is what you need to do:

1) Delete Telerik.DNN.Providers.RadHtmlEditorProvider.dll  from the bin folder of your DNN site
2) Copy RadHtmlEditorProvider.vb from the \Providers\HtmlEditorProviders\RadHtmlEditorProvider\ folder to the \App_Code\ folder of your DNN site.
3) Edit the Web.config file and change the line:

  <add name="RadHtmlEditorProvider" type="Telerik.DNN.Providers.RadHtmlEditorProvider, Telerik.DNN.Providers.RadHtmlEditorProvider" ...

to

  <add name="RadHtmlEditorProvider" type="Telerik.DNN.Providers.RadHtmlEditorProvider" ...

(remove the assembly name from the type attribute).

After that the editor should work as expected in DNN 5. If you still see the error, log out and then log into the site again.

Kind regards,
Lini
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Joseph
Top achievements
Rank 2
answered on 21 Jan 2009, 02:48 PM

Thanks,

 

Worked perfectly.

 

Joe

Tags
Editor
Asked by
Joseph
Top achievements
Rank 2
Answers by
Lini
Telerik team
Joseph
Top achievements
Rank 2
Share this question
or