Server Error in '/' Application.

Directory 'f:\www\newtcuk\thermocouple-cable\app_data' does not exist. Failed to start monitoring file changes.

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: Directory 'f:\www\newtcuk\thermocouple-cable\app_data' does not exist. Failed to start monitoring file changes.

Source Error:


Line 134:
Line 135:            //let's cache this with a file dependent cache, when the file updates the cache clears - cool huh!??
Line 136:            Cache.Add("menu", mnlist, new System.Web.Caching.CacheDependency(Server.MapPath("app_data\\webdata.mdb")),DateTime.Now.AddMinutes(1), System.Web.Caching.Cache.NoSlidingExpiration, System.Web.Caching.CacheItemPriority.Normal, null);
Line 137:
Line 138:        }

Source File: f:\www\newtcuk\SiteTemplate.master.cs    Line: 136

Stack Trace:


[HttpException (0x80070002): Directory 'f:\www\newtcuk\thermocouple-cable\app_data' does not exist. Failed to start monitoring file changes.]
   System.Web.FileChangesMonitor.FindDirectoryMonitor(String dir, Boolean addIfNotFound, Boolean throwOnError) +610
   System.Web.FileChangesMonitor.StartMonitoringPath(String alias, FileChangeEventHandler callback, FileAttributesData& fad) +676
   System.Web.Caching.CacheDependency.Init(Boolean isPublic, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart) +2624
   System.Web.Caching.CacheDependency..ctor(String filename, DateTime start) +114
   System.Web.Caching.CacheDependency..ctor(String filename) +63
   SiteTemplate.Page_Load(Object sender, EventArgs e) in f:\www\newtcuk\SiteTemplate.master.cs:136
   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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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