Server Error in '/' Application.

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

Source Error:


Line 177:                                break;
Line 178:                            case "MAL":
Line 179:                                phcontrol.Controls.Add(LoadControl("photos/controls.ascx"));
Line 180:                                break;
Line 181:                            case "MVD":

Source File: c:\Hosting\vietphonglaw.vn\vietphonglaw.vn\wwwroot\home\controls.ascx.cs    Line: 179

Stack Trace:


[HttpException (0x80004005): The file '/home/photos/controls.ascx' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +4650016
   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
   home_controls.Page_Load(Object sender, EventArgs e) in c:\Hosting\vietphonglaw.vn\vietphonglaw.vn\wwwroot\home\controls.ascx.cs:179
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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