I have a class that encapsulates the cloud drive code for creating the page blob, the container, the cloud drive and mounting it. The resultant drive letter is stored as a static string that's then accessible by my web role (actually methods in
Default.aspx). When I start up the web role and start interacting with the web pages, everything works fine--the page is basically a from for user input that then gets stored on the cloud drive. But after some time period (15 min?) the next access (when loading
the page anew) of the drive letter reults in this error:
Could not find a part of the path 'F:\'.
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.DirectoryNotFoundException: Could not find a part of the path 'F:\'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[DirectoryNotFoundException: Could not find a part of the path 'F:\'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +239
System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) +2134
System.IO.DirectoryInfo.GetDirectories(String searchPattern, SearchOption searchOption) +140
JNBridge.CloudInterop.AzrInterOpCore.FileSystem.getAllProjectDirectories() in C:\Data\JNBridge\Cloud projects\InteropService\Prototype\AzrInteropCore\FileSystem.cs:164
JNBridge.CloudInterop.AzrInterOpCore.AzrInteropProjectManager.loadProjects() in C:\Data\JNBridge\Cloud projects\InteropService\Prototype\AzrInteropCore\AzrInteropProject.cs:197
JNBridge.CloudInterop.InterOpDistrib._Default.Page_Load(Object sender, EventArgs e) in C:\Data\JNBridge\Cloud projects\InteropService\Prototype\JNBAzrInteropSvc\InterOpDistrib\Default.aspx.cs:53
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
System.Web.UI.Control.OnLoad(EventArgs e) +132
System.Web.UI.Control.LoadRecursive() +66
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428
|
Any thoughts?
Bill
Bill Heinzman JNBridge, LLC www.jnbridge.com