StartIndex cannot be less than zero.

Oct 6, 2010 at 7:28 AM

Hello

Thanks for this provider. It's very useful.

On one portal i get this error when i try to edit modules which contain a texteditor: StartIndex cannot be less than zero. Parameter name: startIndex

Details:

AssemblyVersion: 5.4.4
PortalID: 0
....
RawURL: /Fanclub/News/tabid/64/articleType/SubmitNews/ArticleID/678/Default.aspx?ReturnUrl=%2fDefault.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.fanclub-cologna.ch/
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 GTB7.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 3e1badd5-54c1-4c5b-9881-408a9b5f49b9
InnerException: StartIndex cannot be less than zero. Parameter name: startIndex
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.InternalSubStringWithChecks
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: StartIndex cannot be less than zero. Parameter name: startIndex ---> System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at dnnWerk.Providers.RadEditorProvider.EditorProvider.AddLink(TabInfo objTab, EditorLink& parent) at dnnWerk.Providers.RadEditorProvider.EditorProvider.AddChildLinks(Int32 TabId, EditorLink& links) at dnnWerk.Providers.RadEditorProvider.EditorProvider.AddPortalLinks() at dnnWerk.Providers.RadEditorProvider.EditorProvider.RadEditor_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

This error occours only with this portal, other portals within that DNN installation have no error.

Kind regards
Nicolo

Oct 8, 2010 at 2:20 AM

I get the same issue on a clean install to a single 05.04.02 portal

Bummer, i was trying to work around the messed up DNN class dropdown in a custom config of RADeditor by using this module. Let me know when there's a fix.

 

Oct 8, 2010 at 2:37 AM

This thread should be under Issue Tracker. The mentioned error is caused by the provider. Change to any other provider and the error is gone.

Oct 8, 2010 at 4:55 AM

I reinstalled, and understand that you mean I can switch BACK to any other provider to stop producing the error. The error remains for the dnnWerk.RadEditorProvider.

 

I've begun the Issue Tracker thread