Server Error in '/' Application.

Procedure or function 'EC_getCategoryByItemLevel' expects parameter '@itemLevel', which was not supplied.

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.Data.SqlClient.SqlException: Procedure or function 'EC_getCategoryByItemLevel' expects parameter '@itemLevel', which was not supplied.

Source Error:


Line 718:            catch (Exception Exception1)
Line 719:            {
Line 720:                throw Exception1;
Line 721:            }
Line 722:        }

Source File: e:\inetpub\wwwroot\AxelLarsson3\App_Code\EC.cs    Line: 720

Stack Trace:


[SqlException (0x80131904): Procedure or function 'EC_getCategoryByItemLevel' expects parameter '@itemLevel', which was not supplied.]
   Publisher.Component.Object.EC.GetCategoryByItemLevel(Object itemLevel, Object SiteId) in e:\inetpub\wwwroot\AxelLarsson3\App_Code\EC.cs:720
   template_product_01.FillData(Int32 pageIndex) in e:\inetpub\wwwroot\AxelLarsson3\templates\product_01.ascx.cs:96
   template_product_01.Page_Load(Object sender, EventArgs e) in e:\inetpub\wwwroot\AxelLarsson3\templates\product_01.ascx.cs:35
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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