Server Error in '/' Application.

The file '/Controls/BangGia/BangGiaDetail.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/BangGia/BangGiaDetail.ascx' does not exist.

Source Error:


Line 12:         var menuEtt = MenuUserBiz.GetMenuUserByUrlName(_menuName);
Line 13:         var a = PathUserControl;
Line 14:         phPage.Controls.Add(Page.LoadControl(Page.ResolveUrl("~") + PathUserControl));
Line 15:         if (string.IsNullOrEmpty(menuEtt.Name) && mid != string.Empty) 
Line 16:                   Response.Redirect("/404");        

Source File: c:\inetpub\vhosts\saigonsmilespa.com\saigonsmilespa.com.vn\Default.aspx.cs    Line: 14

Stack Trace:


[HttpException (0x80004005): The file '/Controls/BangGia/BangGiaDetail.ascx' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +4654114
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +519
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +142
   System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +138
   _Default.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\saigonsmilespa.com\saigonsmilespa.com.vn\Default.aspx.cs:14
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   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.4057.0