Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...StartIndex cannot be less than zero. Parameter name: startIndexStartIndex cannot be less than zero. Parameter name: startIndex
Previous
 
Next
New Post
2/15/2007 11:49 PM
 

I could really use some help with this error. I have no idea. The page loads fine in IE^ and IE&, but in Firefox I get:

 

2/15/2007 10:42:11 PM   Page Load Exception      AssemblyVersion: 04.04.01; PortalID: 0; PortalNa ...

AssemblyVersion: 04.04.01
PortalID: 0
PortalName: TestPortal

UserID: 8
UserName:

ActiveTabID: 63
ActiveTabName: View Monthly Statements
RawURL: /statements_dnn/ProductsandServices/ViewMonthlyStatements/tabid/63/Default.aspx
AbsoluteURL: /Statements_DNN/Default.aspx
AbsoluteURLReferrer: http://10.0.13.154/statements_dnn/ProductsandServices/ViewMonthlyStatements/tabid/63/ctl/Login/Default.aspx?returnurl=%2fstatements_dnn%2fProductsandServices%2fViewMonthlyStatements%2ftabid%2f63%2fDefault.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 01655bba-ae69-4b38-bc24-0761b4b853b3
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 System.String.Substring(Int32 startIndex, Int32 length) at DesktopModules_ViewStatementMonthly_ViewStatementMonthly.Page_Load(Object sender, EventArgs e) in c:\Statements_DNN\DesktopModules\ViewStatementMonthly\ViewStatementMonthly.ascx.cs:line 85 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 Should I try to track down Method: System.String.InternalSubStringWithChecks

I searched all over the web but only found old threads

Anyone have any experience?


 
New Post
2/16/2007 2:00 PM
 
Disregard. Once I figured out how to have Firefox be my default browser for VS.NET, I was able to debug. The error was in my code behind of the module.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...StartIndex cannot be less than zero. Parameter name: startIndexStartIndex cannot be less than zero. Parameter name: startIndex


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out