Mounting VHD cloud drive crashes worker role
-
2012년 4월 20일 금요일 오전 1:55I'm trying to deploy RavenDB to a worker role, but the role crashes almost every time it tries to mount the VHD cloud drived used by the database. I used the following walkthrough to set up the RavenDB for Azure and it works fine with the local simulator, but I cannot get it to work on a staging server in Azure: http://www.michaelhanley.org/blog/2011/12/ravendb-running-in-windows-azure.html. I was actually able to get it successfully run a few times, but I keep getting the same exception from the call to MountAt(). I scoured the web to find solutions and even tried making the size 20 MB less than the max cache size, but it still did not work. Does anybody have any suggestions on how to fix this problem?
모든 응답
-
2012년 4월 20일 금요일 오전 3:15
"... but I keep getting the same exception from the call to MountAt()."
Is that exception a secret? Or could you share it? :-)
-
2012년 4월 20일 금요일 오전 6:52중재자
Hello,
As Steve's suggestion, if you can provide more details about the exception messge, i believe it's can help us fix it.
Another question is "I was actually able to get it successfully run a few times", i not sure i understand this correctly, but it's seems your application works for small time, but then throw the exception, am i right? As far fa i know, you must unmount drive before mount it second times.
Hope this helps.
Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework
-
2012년 4월 21일 토요일 오후 7:55
Here is the exception in the Windows event log:
l
-
2012년 4월 21일 토요일 오후 7:57I tried deploying numerous times and almost every time I get the same exception. It somehow started once, but then crashed soon after. I have tried unmounting all drives before mounting the drive and it still didn't work.
-
2012년 4월 23일 월요일 오전 5:59중재자
Hi,
Please check the assemblies copy to local property is "copy always" in your application and open tracing in application, from your exception i think it's a general exception message, it's only tell the exception was thrown from MountAt method.
Hope this helps.
Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework
-
2012년 4월 25일 수요일 오후 1:25
Make sure the azure storage connection string is http and not https, the last i remember is https was not supported for Drives. Just out of curiosity, didn't come across MountAt method which version of SDK did it get added?
-Sachin Sancheti
- 답변으로 제안됨 Arwind - MSFTModerator 2012년 4월 26일 목요일 오전 9:22
-
2012년 4월 27일 금요일 오전 2:57
Thanks, I actually entered a support ticket with Microsoft and they found out that it was the http vs https problem. I had it set to HTTPS instead of HTTP. I really wish that the emulator environment matched the cloud environment more closely in that it would include the same limitations.- 답변으로 표시됨 Arwind - MSFTModerator 2012년 4월 27일 금요일 오전 3:10
-
2012년 4월 27일 금요일 오전 3:10중재자
Hi,
Your can post your idea on this site to help Azure be better:
http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting
Thank you.
Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

