Server Error in '/' Application.

Could not find file 'D:\www\vanwoldeadvocatuur.nl\www\App_Data\Pages\5a091f73-8d8a-4449-a921-061e6cd4e242.config'.

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.IO.FileNotFoundException: Could not find file 'D:\www\vanwoldeadvocatuur.nl\www\App_Data\Pages\5a091f73-8d8a-4449-a921-061e6cd4e242.config'.

Source Error:


Line 52:                     //if nothing was found in the cache, the data must be loaded from the disk
Line 53:                     //load and deserialize the data from the filesystem
Line 54:                     using (FileStream reader = File.Open(_path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
Line 55:                     {
Line 56:                         XmlSerializer serializer = new XmlSerializer(typeof(T));

Source File: d:\www\vanwoldeadvocatuur.nl\www\App_Code\Persistable.cs    Line: 54

Stack Trace:


[FileNotFoundException: Could not find file 'D:\www\vanwoldeadvocatuur.nl\www\App_Data\Pages\5a091f73-8d8a-4449-a921-061e6cd4e242.config'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +305
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +1162
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +66
   System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share) +36
   MyWebPagesStarterKit.Persistable`1.LoadData() in d:\www\vanwoldeadvocatuur.nl\www\App_Code\Persistable.cs:54
   MyWebPagesStarterKit.WebPage..ctor(String id) in d:\www\vanwoldeadvocatuur.nl\www\App_Code\WebPage.cs:31
   _Default.Page_Init(Object sender, EventArgs e) in d:\www\vanwoldeadvocatuur.nl\www\Default.aspx.cs:77
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnInit(EventArgs e) +99
   System.Web.UI.Page.OnInit(EventArgs e) +12
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175