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 7:      protected void Page_Load(object sender, EventArgs e)
Line 8:      {
Line 9:          phPage.Controls.Add(Page.LoadControl(Page.ResolveUrl("~") + PathUserControl));
Line 10:     }
Line 11: }

Source File: c:\inetpub\vhosts\hoanggiamineralgroup.com.vn\httpdocs\Default.aspx.cs    Line: 9

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:\inetpub\vhosts\hoanggiamineralgroup.com.vn\httpdocs\Default.aspx.cs:9
   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