Server Error in '/' Application.

The source contains no DataRows.

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.InvalidOperationException: The source contains no DataRows.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: The source contains no DataRows.]
   System.Data.DataTableExtensions.LoadTableFromEnumerable(IEnumerable`1 source, DataTable table, Nullable`1 options, FillErrorEventHandler errorHandler) +1095
   System.Data.DataTableExtensions.CopyToDataTable(IEnumerable`1 source) +96
   Utilize.Web.Solutions.Webshop.ws_productfilter.get_product_codes(String language, String sort_order) in F:\utilize-webportal\Utilize.Web.Solutions.GLOBAL\Webshop\GlobalClasses\ws_productfilter.vb:1024
   uc_product_list_v2.set_product_list() +4180
   uc_product_list_v2.Page_Init(Object sender, EventArgs e) +1848
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnInit(EventArgs e) +106
   System.Web.UI.Control.InitRecursive(Control namingContainer) +166
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +214
   product_list.Page_InitComplete1(Object sender, EventArgs e) +621
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnInitComplete(EventArgs e) +11860412
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2054


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