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 171:                                break;
Line 172:                            case "MAL":
Line 173:                                phcontrol.Controls.Add(LoadControl("photos/controls.ascx"));
Line 174:                                break;
Line 175:                            case "MVD":

Source File: c:\HostingSpaces\thanglongkidsmart.edu.vn\thanglongkidsmart.edu.vn\wwwroot\home\controls.ascx.cs    Line: 173

Stack Trace:


[HttpException (0x80004005): The file '/home/photos/controls.ascx' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +10230821
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +484
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +107
   System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +107
   System.Web.UI.TemplateControl.LoadControl(String virtualPath) +29
   home_controls.Page_Load(Object sender, EventArgs e) in c:\HostingSpaces\thanglongkidsmart.edu.vn\thanglongkidsmart.edu.vn\wwwroot\home\controls.ascx.cs:173
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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