Dec2011 Platform Training Kit - Azure Drive Lab issue
-
Montag, 5. März 2012 23:25
I am working my way through the Azure Drive lab and I get to the point where I deploy it into azure. What I am supposed to be able to do is click on the DNS name and see a list of pictures. Instead I get an error:
[DirectoryNotFoundException: Could not find a part of the path 'd:\windows\system32\inetsrv\%PUBLIC%\Pictures\Sample Pictures\'.]
IN the web.config file of my web project, I have this path set based on when I was running this sample in dev fabric. However, I don't think my Azure image has this same drive structure.
What is this image store path supposed to be set to when I deploy to Azure?
EM
Alle Antworten
-
Dienstag, 6. März 2012 07:53Moderator
Hi,
From my experience, to use Drive, we cannot hard code an absolute path. I would like to suggest you to use the CloudDrive.Mount method to mount the drive. It will give us a dynamically generated path (possibly not D:\...). Then we will need to use that path as the root of our drive. The training course has actually pointed this out: http://msdn.microsoft.com/en-us/wazplatformtrainingcourse_exploringwindowsazurestoragevs2010_topic5#_Toc310346241
Best Regards,
Ming Xu.
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- Als Antwort markiert Arwind - MSFTModerator Mittwoch, 14. März 2012 03:18

