Erik Hinds
Top achievements
Rank 1
Erik Hinds
asked on 03 Nov 2009, 09:58 PM
Using DNN 5.1.4 and the Rad Editor.
A critical error has occurred.
Could not load RadEditor! Check your provider configuration for errors (folders, links, or CSS) ! StartIndex cannot be less than zero. Parameter name: startIndex
To recreate, with LinksUseTabNames="false" in the web.config file, add a new page to the portal. In the advanced settings for the page, set the Link Type to URL (A link to an external resource...) and put in any URL.
Then go to any page and edit a text module. You will get the above error. The theory on this end is that the page with the external url link cannot be built by the radeditor when it's building the Custom Links dropdown.
A critical error has occurred.
Could not load RadEditor! Check your provider configuration for errors (folders, links, or CSS) ! StartIndex cannot be less than zero. Parameter name: startIndex
To recreate, with LinksUseTabNames="false" in the web.config file, add a new page to the portal. In the advanced settings for the page, set the Link Type to URL (A link to an external resource...) and put in any URL.
Then go to any page and edit a text module. You will get the above error. The theory on this end is that the page with the external url link cannot be built by the radeditor when it's building the Custom Links dropdown.
6 Answers, 1 is accepted
0
Erik Hinds
Top achievements
Rank 1
answered on 05 Nov 2009, 01:50 PM
No response? Should I open a ticket or something?
0
Hi Erik Hinds,
You should not experience this problem by adding the following property to the provider declaration: LinksUseRelativeUrls="false". This will force absolute URLs for the portal links (i.e. starting with http://).
I am also attaching a fixed version of the editor provider that will not throw an error even if you don't set LinksUseRelativeUrls. Simply update the RadEditorProvider.vb file in the ~/App_Code/TelerikWebUI/ folder of your DNN site with the one from this message.
Sincerely,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You should not experience this problem by adding the following property to the provider declaration: LinksUseRelativeUrls="false". This will force absolute URLs for the portal links (i.e. starting with http://).
I am also attaching a fixed version of the editor provider that will not throw an error even if you don't set LinksUseRelativeUrls. Simply update the RadEditorProvider.vb file in the ~/App_Code/TelerikWebUI/ folder of your DNN site with the one from this message.
Sincerely,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Erik Hinds
Top achievements
Rank 1
answered on 09 Nov 2009, 09:31 PM
Thanks for the updated file. However, the proposed solution for only using absolute URLs is not ideal. Using relative URLs is very important, especially if you are moving the site between different environments, or exporting the content. All links and images would be broken.
0
Hi Erik,
This problem is fixed in the Q3 2009 release of RadControls for ASP.NET AJAX. Please, upgrade to the latest version in order to solve the issue.
Kind regards,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
This problem is fixed in the Q3 2009 release of RadControls for ASP.NET AJAX. Please, upgrade to the latest version in order to solve the issue.
Kind regards,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Dax
Top achievements
Rank 2
answered on 21 Jan 2010, 08:46 PM
I'm having this same issue on DNN 5.2.1. I have LinksUseTabNames="false" and just added a page with a URL redirect. The Telerik.Web.UI.dll 2009.3.1104.35. Is there a solution to this for these newer versions that doesn't involve absolute URLs?
0
Hi Dax,
Could you please upgrade the RadEditor's DNN provider with this one
radeditorprovider.zip
and see whether the problem still persists?
Kind regards,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Could you please upgrade the RadEditor's DNN provider with this one
radeditorprovider.zip
and see whether the problem still persists?
Kind regards,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
