Server Error in '/' Application.

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

Source Error:


Line 16: 
Line 17:         Dim uc As UserControl
Line 18:         uc = LoadControl("MenuFacuties\" + iddonvi.ToString() + ".ascx")
Line 19:         pnHeader.Controls.Add(uc)
Line 20: 

Source File: E:\DATA\data\web\hdu2017Eng\hdu2017Eng\CategoryFaculties.aspx.vb    Line: 18

Stack Trace:


[HttpException (0x80004005): The file '/MenuFacuties/0.ascx' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +8836077
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +113
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
   System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +83
   System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +48
   System.Web.UI.TemplateControl.LoadControl(String virtualPath) +26
   CategoryFaculties.Page_Load(Object sender, EventArgs e) in E:\DATA\data\web\hdu2017Eng\hdu2017Eng\CategoryFaculties.aspx.vb:18
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9043; ASP.NET Version:2.0.50727.9031