Azure文件服务共享驱动器与System.IO无法正常工作

时间:2016-06-20 12:44:53

标签: c# azure azure-storage

我在Azure中有几个使用相同数据(图片等)的VM,它们存储在具有文件服务设置的存储帐户中。

我运行https://azure.microsoft.com/en-in/documentation/articles/storage-dotnet-how-to-use-files/中提到的命令将驱动器挂载到VM上并保留凭据。

从我的c#代码中,我不断得到无法找到路径的异常。

An exception of type 'System.IO.DirectoryNotFoundException' occurred in mscorlib.dll but was not handled in user code

Additional information: Could not find a part of the path 'X:\Data\test'.

0 个答案:

没有答案