Server Error in '/' Application.

The file '/controls/news-show/gallery/default.ascx' does not exist.

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.Web.HttpException: The file '/controls/news-show/gallery/default.ascx' does not exist.

Source Error:


Line 299:<%If p IsNot Nothing Then %>
Line 300:<%For I As Integer = 0 To g.Rows.Count - 1 %>
Line 301:    <%=Loader.LoadNewsSubControl("gallery", g.Rows(I)(dbnTemplateName), New NewsGalleryData With {.Name = g.Rows(I)(dbnName), .Photos = p.Select(dbnNewsGalleryID & Equal & g.Rows(I)(dbnID))})  %>
Line 302:<%Next %>
Line 303:<%End If %>

Source File: F:\site\masr\print.aspx    Line: 301

Stack Trace:


[HttpException (0x80004005): The file '/controls/news-show/gallery/default.ascx' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +4650408
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +540
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +146
   System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +143
   Loader.LoadControl(String ControlFullPath, Object Data, ViewData View, Int32 CacheSeconds, Int32 CacheSecondsDiffer, String AddCacheDiffer) +488
   Loader.LoadControl(String BaseDir, String ControlName, Object Data, ViewData View, Int32 CacheSeconds, Int32 CacheSecondsDiffer, String AddCacheDiffer) +389
   Loader.LoadNewsSubControl(String SubFolder, String ControlName, Object Data, ViewData View) +111
   ASP.print_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in F:\site\masr\print.aspx:301
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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