Server Error in '/' Application.

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

Source Error:


Line 79:             Dim PageTemplate As String = GetCategoryTemplate(TemplateID)
Line 80: 
Line 81:             Dim c1 As Control = LoadControl(PageTemplate)
Line 82:             Select Case TemplateID
Line 83:                 Case 4

Source File: D:\Domains\finance-helpdesk\finance-helpdesk.org\wwwroot\front\ShowCategory.aspx.vb    Line: 81

Stack Trace:


[HttpException (0x80004005): The file '/Templates/Cat1.ascx' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +8841101
   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
   ContentManagment.ShowCategory.Page_Load(Object sender, EventArgs e) in D:\Domains\finance-helpdesk\finance-helpdesk.org\wwwroot\front\ShowCategory.aspx.vb:81
   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.8966; ASP.NET Version:2.0.50727.8962