Server Error in '/' Application.

Directory 'C:\HPT2021\data\consultant' 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 'C:\HPT2021\data\consultant' does not exist. Failed to start monitoring file changes.

Source Error:


[No relevant source lines]

Source File: E:\WORK\QueThanh-TL-2016\HPT\HPT.CMS.Web\Common\Utils.cs    Line: 112

Stack Trace:


[HttpException (0x80070002): Directory 'C:\HPT2021\data\consultant' 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.Hosting.ObjectCacheHost.System.Runtime.Caching.Hosting.IFileChangeNotificationSystem.StartMonitoring(String filePath, OnChangedCallback onChangedCallback, Object& state, DateTimeOffset& lastWrite, Int64& fileSize) +119
   System.Runtime.Caching.HostFileChangeMonitor.InitDisposableMembers() +177
   System.Runtime.Caching.HostFileChangeMonitor..ctor(IList`1 filePaths) +93
   Utils.ReadFromCache(String filePath) in E:\WORK\QueThanh-TL-2016\HPT\HPT.CMS.Web\Common\Utils.cs:112
   TranLe.Consultant.Page_Load(Object sender, EventArgs e) in E:\WORK\QueThanh-TL-2016\HPT\HPT.CMS.Web\Consultant.aspx.cs:36
   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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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