Close

Profile: shvager87

Avatar

User posts

11 years ago

There is an error when the Plugin is added to any widgetZone.
Nop 2.7
Server Error in '/' Application.

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

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.

Source Error:


Line 3:  @foreach (var widget in Model)
Line 4:  {
Line 5:      @Html.Action(widget.ActionName, widget.ControllerName, widget.RouteValues)
Line 6:  }

Source File: d:\WebSites\27\Views\Widget\WidgetsByZone.cshtml    Line: 5

Stack Trace:


[ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.]
   System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) +0
   System.Collections.Generic.List`1.set_Capacity(Int32 value) +101
   System.Collections.Generic.List`1.EnsureCapacity(Int32 min) +43.....