Server Error in '/' Application.

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

Source Error:


Line 107:        {
Line 108:            var temp = Common.GetPathUserControl(menu_name, name);
Line 109:            phPage.Controls.Add(Page.LoadControl(Page.ResolveUrl("~") + temp));
Line 110:            //Response.Write(temp);
Line 111:        }

Source File: c:\OneDrive\Domains\myvienmaithuy.com.vn\Default.aspx.cs    Line: 109

Stack Trace:


[HttpException (0x80004005): The file '/' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +4650000
   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
   _Default.Page_Load(Object sender, EventArgs e) in c:\OneDrive\Domains\myvienmaithuy.com.vn\Default.aspx.cs:109
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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