Server Error in '/' Application.

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Source Error:


Line 128:        Dim zOGDescription As String = "<meta property=""og:description"" content=""" & oModel.Description & """ />"
Line 129:        Dim zOGType As String = "<meta property=""og:type"" content=""product"" />"
Line 130:        Dim zOGImage As String = "<meta property=""og:image"" content=""" & CType(oModel.Images(0), clsImageStream).FetchRawImageURL(1200, 630, "FFFFFF", "E") & """ />"
Line 131:
Line 132:        litMetaData.Text = zTitle & vbCrLf & zDescription & vbCrLf & zOGTitle & vbCrLf & zOGDescription & vbCrLf & zOGType & vbCrLf & zOGImage

Source File: C:\inetpub\wwwroot\Applications\ContentManagedSites\HONDA_MANUFACTURER_SITES\HONDA-V3-CORE-LIVE_TORBAY\honda-view-bike.aspx.vb    Line: 130

Stack Trace:


[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
   System.Collections.ArrayList.get_Item(Int32 index) +12798494
   honda_view_bike.ShowMetaData(clsAssetItem oModel) in C:\inetpub\wwwroot\Applications\ContentManagedSites\HONDA_MANUFACTURER_SITES\HONDA-V3-CORE-LIVE_TORBAY\honda-view-bike.aspx.vb:130
   honda_view_bike.ShowModel(List`1 oParents, List`1 oValues, String zRawQueryString) in C:\inetpub\wwwroot\Applications\ContentManagedSites\HONDA_MANUFACTURER_SITES\HONDA-V3-CORE-LIVE_TORBAY\honda-view-bike.aspx.vb:56
   honda_view_bike.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\Applications\ContentManagedSites\HONDA_MANUFACTURER_SITES\HONDA-V3-CORE-LIVE_TORBAY\honda-view-bike.aspx.vb:23
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3535.0