HomeHome Product Discus... Product Discus...SmithCartSmithCartNon-negative number required. Parameter name: lengthNon-negative number required. Parameter name: length
Previous
 
Next
New Post
12/6/2012 7:05 AM
 
Here's a new one. Chrome browser. Smith cart 5.25.

Just cruising through pages of products in smith cart. DNN produces this error inside the smith module. The skin loads on the page but modules do not, and an error is displayed this has happened to me three times this morning. Yesterday another administrator for my site experienced the same error while trying to edit the categories on a product:

AssemblyVersion: 6.2.4

PortalID: 0

PortalName: YandasMusic.com - Online Music Web Store

UserID: 4

UserName: alex

ActiveTabID: 253

ActiveTabName: 25

RawURL: /25/tabid/253/categoryid/656/cymbals

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: https://www.yandasmusic.com/25/tabid/253/categoryid/656/cymbals

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 41515dd9-7a71-46c5-aa6d-85e7b73fdda5

InnerException: Non-negative number required. Parameter name: length

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Array.CreateInstance

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Non-negative number required. Parameter name: length ---> System.ArgumentOutOfRangeException: Non-negative number required. Parameter name: length at System.Array.CreateInstance(Type elementType, Int32 length) at Telerik.Web.UI.Upload.RequestParser.GetFieldBytes(Byte[] chunk, Int32 fieldStartIndex, Int32 fieldBytesCount) at Telerik.Web.UI.Upload.RequestParser.Parse(Byte[] chunk, Int32 validChunkBytes) at Telerik.Web.UI.Upload.ProgressWorkerRequest.UpdateProgress(Byte[] buffer, Int32 validBytes) at Telerik.Web.UI.Upload.ProgressWorkerRequest.ReadEntityBody(Byte[] buffer, Int32 size) at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.GetMultipartContent() at System.Web.HttpRequest.FillInFormCollection() at System.Web.HttpRequest.EnsureForm() at System.Web.HttpRequest.get_Form() at System.Web.HttpRequest.get_HasForm() at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: CLOUD278


 
New Post
12/6/2012 8:30 AM
 
I am now getting this error in multiple places. When I try to save changes to a product, changing product categories, browsing through product listings and categories.

Now counting 12 instances of this error in the last 2 hours.
 
New Post
12/6/2012 2:34 PM
 
After looking closer at the error, I can see that it is referencing the Telerik HTML editor inside the error. After noticing this, I checked the log, and the error is only happening to administrators.

Hope this helps.
 
New Post
12/10/2012 3:07 PM
 
Hi Alex,

Smith Cart uses the telerik controls that come with DNN. Can you confirm which version of DNN you are currently running?

Have you upgraded DNN from a previous version?

Are you receiving this issue when using a specific browser?

Thanks
 
New Post
12/11/2012 1:43 PM
 
Hey Kevin,

Our site is running "AssemblyVersion: 6.2.4"

It is a fresh install of DNN, that has not been upgraded. We have noticed it in both firefox and chrome. We don't really use IE or Opera much, but I can test those to see if they produce it as well.

Also, it only seems to happen on days where I am "updating" products. Some days I work on marketing / design, and don't do much with product updating. On those "off" days, the error has not happened at all.
 
New Post
12/14/2012 1:49 AM
 
Hi Alex,

I have seen issues like this before. This sounds like it could be a caching issue if you are noticing it only when changes have been made to your Products.
 
New Post
12/19/2012 9:03 AM
 
A caching issue on my browser?
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartNon-negative number required. Parameter name: lengthNon-negative number required. Parameter name: length