sandrinodimattia / RedDog

Tools to help you build solutions on the Microsoft Azure platform.
MIT License
38 stars 20 forks source link

mount share via azure classic cloud service #3

Open cedrox opened 8 years ago

cedrox commented 8 years ago

Hello, I have some problem using Red Dog with SMB share. When I mount share from multiple thread, I have code error 1219 on NetworkApi.WNetAddConnection2(). It's important to say that this problem is worth than ever right now.

If you have any suggestion, I am more than happy. PS : I try to connect via power shell to kill sessions but I am not sure about what to do...

sandrinodimattia commented 7 years ago

Are you using the same drive letter in all of your threads?

cedrox commented 7 years ago

No I don't use the same letter for a thread. It was working back since 3 days... And now : Unable to mount drive 'X:' to '\fileStorageName\ShareName' (Error: ERROR_BAD_NETPATH)

123rajneesh commented 6 years ago

i have same problem . Unable to mount drive 'U:' to 'testone.file.core.windows.net\library' (Error: ERROR_BAD_NETPATH)

JosXa commented 4 years ago

I'm adding my voice to this, issue persists in 2019 - looks like no matter which path you choose, you get ERROR_BAD_NETPATH on classic cloud services.

Update: Aha, it just means that your file share with that name does not exist (yet). Call share.CreateIfNotExists() first.