积极答复者
In the Azure, Between creating a new document and visiting it from a URL, sometimes we can't find the resource.

问题
答案
-
Hi,
How do you creat that new document in Azure? In your Azure application or something else? And where does it stored? Azure Storage or SQL Azure?
I guess you may store the file in server-side directory, and as you enable 2 or more isntances, actually every instance is a independent virtual machine, it has its own OS, disk, momery, etc. So if you handle the documentation as the normal ASP.NET way (store it in Server directory), it will just store in one of these instance. Azure local balancer will redirect your request to all of instances, if the instace who include the resouce give the response, you can find it. If not, you can receive this error.
The workaround i figure out is use Azure Storage or SQL Azure, every instance can access them.
http://msdn.microsoft.com/en-us/WAZPlatformTrainingCourse_ExploringWindowsAzureStorageVS2010
http://msdn.microsoft.com/en-us/wazplatformtrainingcourse_sqlazure_unit
You can also still store document in Azure VM, but you'd better enable Internal Endpoint to share it with other instances.
Azure 1.17 SDK provide Virtual Machine feature, and Virtual Mahine will retain your image so the document will never lose.
http://www.windowsazure.com/en-us/home/features/virtual-machines/
Hope this help.
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
- 已编辑 Arwind - MSFTModerator 2012年7月4日 3:20
- 已标记为答案 Arwind - MSFTModerator 2012年7月9日 8:06
-
I think you use remote desktop to create your document, but you just created new document on one virtual machine.
If you connect to different virtual machine, you will be reported no document found.
You can create your document on azure storage (BLOB or table), it can be navigated from any virtual machine you created.
學習不是查個 Google 套個書上的範例就算了,而是去熟悉了解每個程式碼背後的意義,否則就算學個幾百年,它也不會是你的。
=================================
小朱的技術隨手寫:http://www.dotblogs.com.tw/regionbbs/
雲端學堂Facebook: http://www.facebook.com/studyazure
- 已编辑 小朱MVP 2012年7月4日 11:35
- 已标记为答案 Arwind - MSFTModerator 2012年7月9日 8:07
全部回复
-
Hi,
How do you creat that new document in Azure? In your Azure application or something else? And where does it stored? Azure Storage or SQL Azure?
I guess you may store the file in server-side directory, and as you enable 2 or more isntances, actually every instance is a independent virtual machine, it has its own OS, disk, momery, etc. So if you handle the documentation as the normal ASP.NET way (store it in Server directory), it will just store in one of these instance. Azure local balancer will redirect your request to all of instances, if the instace who include the resouce give the response, you can find it. If not, you can receive this error.
The workaround i figure out is use Azure Storage or SQL Azure, every instance can access them.
http://msdn.microsoft.com/en-us/WAZPlatformTrainingCourse_ExploringWindowsAzureStorageVS2010
http://msdn.microsoft.com/en-us/wazplatformtrainingcourse_sqlazure_unit
You can also still store document in Azure VM, but you'd better enable Internal Endpoint to share it with other instances.
Azure 1.17 SDK provide Virtual Machine feature, and Virtual Mahine will retain your image so the document will never lose.
http://www.windowsazure.com/en-us/home/features/virtual-machines/
Hope this help.
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
- 已编辑 Arwind - MSFTModerator 2012年7月4日 3:20
- 已标记为答案 Arwind - MSFTModerator 2012年7月9日 8:06
-
I think you use remote desktop to create your document, but you just created new document on one virtual machine.
If you connect to different virtual machine, you will be reported no document found.
You can create your document on azure storage (BLOB or table), it can be navigated from any virtual machine you created.
學習不是查個 Google 套個書上的範例就算了,而是去熟悉了解每個程式碼背後的意義,否則就算學個幾百年,它也不會是你的。
=================================
小朱的技術隨手寫:http://www.dotblogs.com.tw/regionbbs/
雲端學堂Facebook: http://www.facebook.com/studyazure
- 已编辑 小朱MVP 2012年7月4日 11:35
- 已标记为答案 Arwind - MSFTModerator 2012年7月9日 8:07