Server Error in '/' Application.

Value cannot be null.
Parameter name: source

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.ArgumentNullException: Value cannot be null.
Parameter name: source

Source Error:


Line 12:         wucProduct1.Products = products
Line 13: 
Line 14:         MaakPaginaOp(Me, products.Products.Products(0).Title, RemoveHTML(products.Products.Products(0).ShortDescription))
Line 15: 
Line 16:     End Sub

Source File: C:\RootWebstites\TinamicsCMS\ReceptenEnZo\Shops\Product.aspx.vb    Line: 14

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: source]
   System.Linq.Enumerable.ElementAtOrDefault(IEnumerable`1 source, Int32 index) +393
   Shops_Product.Page_Load(Object sender, EventArgs e) in C:\RootWebstites\TinamicsCMS\ReceptenEnZo\Shops\Product.aspx.vb:14
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   TinamicsBaseClass.OnLoad(EventArgs e) in C:\RootWebstites\TinamicsCMS\ReceptenEnZo\App_Code\TinamicsBaseclass.vb:46
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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