Server Error in '/' Application.

The file '/Areas/Display/Customer/Control/LoadControl.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 '/Areas/Display/Customer/Control/LoadControl.ascx' does not exist.

Source Error:


Line 40:             plLoadControl.Controls.Add(LoadControl("Product/Control/LoadControl.ascx"));
Line 41:         }
Line 42:         else if (_rewrite == RewriteExtension.Customer) plLoadControl.Controls.Add(LoadControl("Customer/Control/LoadControl.ascx"));
Line 43:         else if (_rewrite == RewriteExtension.AboutUs) plLoadControl.Controls.Add(LoadControl("AboutUs/Control/LoadControl.ascx"));
Line 44:         else if (_rewrite == RewriteExtension.Contact) plLoadControl.Controls.Add(LoadControl("Contact/Control/LoadControl.ascx"));

Source File: d:\WEB\dongphuckhanhlinh.com\Areas\Display\DisplayLoadControl.ascx.cs    Line: 42

Stack Trace:


[HttpException (0x80004005): The file '/Areas/Display/Customer/Control/LoadControl.ascx' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +4567021
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +549
   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) +141
   Areas_Display_DisplayLoadControl.Page_Load(Object sender, EventArgs e) in d:\WEB\dongphuckhanhlinh.com\Areas\Display\DisplayLoadControl.ascx.cs:42
   System.Web.UI.Control.OnLoad(EventArgs e) +109
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +165
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


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