Server Error in '/' Application.

ControlBackdropThumbDisplay - method LoadControl(): method LoadThumbnailImage(...): GalleryImageXREFCollection.cs, LoadAll(): DataHelper.cs, method FetchData(...):Error executing query procedure: Procedure or function 'IMAGE_GALLERY_XREFGetByGalleryName' expects parameter '@gallery_name', 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.ApplicationException: ControlBackdropThumbDisplay - method LoadControl(): method LoadThumbnailImage(...): GalleryImageXREFCollection.cs, LoadAll(): DataHelper.cs, method FetchData(...):Error executing query procedure: Procedure or function 'IMAGE_GALLERY_XREFGetByGalleryName' expects parameter '@gallery_name', which was not supplied.

Source Error:


Line 55:         catch (System.Exception ex)
Line 56:         {
Line 57:             throw new ApplicationException("ControlBackdropThumbDisplay - method LoadControl(): " + ex.Message);
Line 58:         }
Line 59:     }

Source File: d:\webs\znfdeys\kenmarkbackdrops.com\wwwroot\controls\ControlBackdropThumbDisplay.ascx.cs    Line: 57

Stack Trace:


[ApplicationException: ControlBackdropThumbDisplay - method LoadControl(): method LoadThumbnailImage(...): GalleryImageXREFCollection.cs, LoadAll(): DataHelper.cs, method FetchData(...):Error executing query procedure: Procedure or function 'IMAGE_GALLERY_XREFGetByGalleryName' expects parameter '@gallery_name', which was not supplied.]
   controls_ControlBackdropThumbDisplay.LoadControl() in d:\webs\znfdeys\kenmarkbackdrops.com\wwwroot\controls\ControlBackdropThumbDisplay.ascx.cs:57
   controls_ControlBackdropThumbDisplay.set__BackdropID(Int32 value) in d:\webs\znfdeys\kenmarkbackdrops.com\wwwroot\controls\ControlBackdropThumbDisplay.ascx.cs:107
   add_testimonial.InitializePageControls() in d:\webs\znfdeys\kenmarkbackdrops.com\wwwroot\add-testimonial.aspx.cs:44
   add_testimonial.Page_Load(Object sender, EventArgs e) in d:\webs\znfdeys\kenmarkbackdrops.com\wwwroot\add-testimonial.aspx.cs:17
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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