Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source array was not long enough. Check srcIndex and length, and the array's lower bounds. #7

Closed
sbwalker opened this issue Jun 13, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@sbwalker
Copy link
Contributor

The application will sometimes throw an error "Source array was not long enough. Check srcIndex and length, and the array's lower bounds." which will leave it in an unrecoverable error state. The only resolution is to restart the application which will immediately resolve the issue. The rest of the error details are included below:

at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.List`1.Insert(Int32 index, T item)
at System.Web.Mvc.ViewEngineCollection.InsertItem(Int32 index, IViewEngine item)
at Hotcakes.Commerce.Dnn.Providers.HccUrlRoutingModule.RegisterViewEngines(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

@WillStrohl WillStrohl added the bug label Jun 14, 2017
@WillStrohl WillStrohl added this to the 03.00.01 milestone Jun 14, 2017
@WillStrohl
Copy link
Member

For anyone experiencing this issue today, a temporary workaround you can employ right now is to increase the frequency at which your application pool recycles itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants