Clientaccesspolicy.xml on Windows Azure Storage BLOB $root not work

question is listed below:-

Hi eric,
How did your code the $root container and upload clientaccesspolicy.xml file?  You could refer to this code sample form Smarx (http://blog.smarx.com/posts/uploading-windows-azure-blobs-from-silverlight-part-2-enabling-cross-domain-access-to-blobs
private void CreateSilverlightPolicy(CloudBlobClient blobs)
blobs.GetContainerReference("$root").CreateIfNotExist();
blobs.GetContainerReference("$root").SetPermissions(
new BlobContainerPermissions() {
PublicAccess = BlobContainerPublicAccessType.Blob
var blob = blobs.GetBlobReference("clientaccesspolicy.xml");
blob.Properties.ContentType = "text/xml";
blob.UploadText(@"<?xml version=""1.0"" encoding=""utf-8""?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-methods=""*"" http-request-headers=""*"">
<domain uri=""*"" />
<domain uri=""http://*"" />
</allow-from>
<grant-to>
<resource path=""/"" include-subpaths=""true"" />
</grant-to>
</policy>
</cross-domain-access>
</access-policy>");
And about the error info, I suggest you could install the latest Silverlight (http://social.msdn.microsoft.com/Forums/silverlight/en-US/77c14c7d-dd5e-4281-84d4-345e7439a895/agenetworkerror-4001?forum=silverlightjavascript
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Uploading Stream (Images/Audio/Video files/Doc files) to Windows Azure Storage Blob by using SharePoint Online 2013 Library

    Dear All,
    How I can store the Images/Audio/Video/documents files in blob storage by help of SharePoint document library and keep a reference to them in SharePoint by putting metadata in a SharePoint Library.
    I searched a lot, but not finding suitable source.
    Thanks,
    Sharad
    sharadpatil

    hi,
    Base on my experience, you could use azure storage reference sharepoint app. I suggest you could recommend this blog via (http://sachintana.blogspot.com/2012/08/azure-blob-storage-for-sharepoint.html ).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows Azure Storage Account Location change

    Hi Experts,
    I have deployed my Web site on Windows azure. I have created Windows Azure Storage Account. By mistakely i have set the location wrong. How can we change the location of Windows storage account? 
    Thanks!

    Hello CRM Inn,
    I am sorry to know that you have chosen an incorrect location and would like to change the location for your storage account. Unfortunately, there is no option available to change the storage location for an existing storage account.
    Your only option would be to create a new storage account, migrate data to the new storage account and delete the existing one. You can refer to this article that will give you information on migrating data from one account to another:
    http://blogs.msdn.com/b/windowsazurestorage/archive/2012/06/12/introducing-asynchronous-cross-account-copy-blob.aspx
    I also suggest that you create affinity groups. By creating affinity groups you can be sure that all your related services are under the same data center. You can refer to this article to learn about Affinity groups:
    http://msdn.microsoft.com/en-us/library/azure/jj156209.aspx
    Syed irfan Hussain

  • Can't install windows azure storage sdk on windows phone 8

    From Visual studio 2013 ultimate, I opened Nuget package manager console and typed following command for my windows phone 8 solution:
    install-package windowsazure.storage
    And I got the following error:
    install-package : Could not install package 'Microsoft.WindowsAzure.ConfigurationManager 1.8.0.0'. You are trying to install this package into a project that targets 'WindowsPhone,Version=v8.0', but the package does not contain any assembly references or
    content files that
    are compatible with that framework. For more information, contact the package author.
    At line:1 char:1
    I get the same problem using UI version of package manager as well.
    Did something change with the newer version of windows azure storage?

    The package you are trying to install does not include the Windows Phone library. Please use the following command instead:
    Install-Package WindowsAzure.Storage-Preview -Pre
    Thanks for this. It worked for me. Can I just add, for those that don't know how to run this command. You go to tools > Library package manager > package manager console then paste in the command and hit enter.
    Thanks again!

  • Cannot install Windows Azure Storage Emulator - 3.0 Error: No available SQL Instance was found

    When trying to install Windows Azure SDK for .NET (VS 2013) - 2.3 from Web Platform Installer 4.6, the install fails because  Windows Azure Storage Emulator - 3.0 (Dependency) does not install successfully.  
    Possibly relevant lines from the install log are:
    CAQuietExec:  Entering CAQuietExec in C:\WINDOWS\Installer\MSI1223.tmp, version 3.6.3303.0
    CAQuietExec:  "C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator\WAStorageEmulator.exe" init -forcecreate -autodetect
    CAQuietExec:  Windows Azure Storage Emulator 3.0.0.0 command line tool
    CAQuietExec:  Error: No available SQL Instance was found.
    CAQuietExec:  Error 0xfffffff6: Command line returned an error.
    CAQuietExec:  Error 0xfffffff6: CAQuietExec Failed
    CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    Action ended 11:50:13: InstallFinalize. Return value 3.
    Action ended 11:50:13: INSTALL. Return value 3.
    In terms of SQL Instance, SQL LocalDB is installed and working properly.  SQL Server 2012 is also installed and working properly.

    Hi,
    It is a SDK version issue. I suggest you could remove all azure sdk form your PC and use WPI to install the latest version again.
    If you have any questions, please let me know.
    Regards,
    Will 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Azure Storage Blob error - AnonymousClientOtherError and AnonymousNetworkError (why cannot see images)

    I have an mobile app and I put images in Azure Storage Blob. when tested by several of our own people (on test and beta), it is all good.
    But when we released it to beta and had hundreds (maybe above one thousand) of users to use, lots of them report that they cannot see images. It happens on their iPhones and also on many different brands of Android phones. Sometimes, for the same image,
    on one phone it is good, but on another it doesn't show.
    When I check blob log, I saw a lot of errors, mainly these two:
    AnonymousClientOtherError; 304
    "Anonymous request that failed as expected, most commonly a request that failed a specified precondition. The total number of anonymous requests that failed precondition checks (like If- Modified etc.) for GET requests. Examples: Conditional GET requests
    that fail the check."  (From Microsoft)
    AnonymousNetworkError; 200
    "The most common cause of this error is a client disconnecting before a timeout expires in the storage service. You should investigate the code in your client to understand why and when the client disconnects from the storage service. You can also use
    Wireshark, Microsoft Message Analyzer, or Tcping to investigate network connectivity issues from the client. " (From Microsoft) - a question here, this is an error, but why it is 200?
    I wonder if these are the reasons that caused my problem?
    For the first one, from my understanding, it is not actually an error, it just says that the version client cached is the same as server version. But when my client side sees this response, it thinks it is an error and throw an exception and thus no image
    is shown? (I actually outsourced my client side, so I can only guess). I later tested with my browser to access these images and found that if I refresh the browser with the same URL of the image, I saw error 304 on the log but I still see the image. So I
    guess this is not actually a reason for my problem.
    For the second one, is it because my client side's timeout is shorter than the server side's timeout? But is the timeout a connection timeout or a socket timeout? what are the default values on client side and on Azure Blob? Or is it because the network
    is not good? My Azure server is located in East Asia (Hongkong), but my users are in mainland China. I wonder if that could cause problem? But when a few users tested in China it is all good.
    Many of the images are actually very small,  just one to two hundred k. Some are just 11k.
    I cannot figure out what is the reason...

    Hi,
    Does any people encounter this error when they access the small picture, if this issue is only caused by large picture, please try to improve the timeout, you can also monitor your storage account from the Azure Management Portal, this may be help us
    to find out the detailed error information. see more at:
    http://azure.microsoft.com/en-gb/documentation/articles/storage-monitor-storage-account/, hope it helps.
    Regards

  • Windows Azure Tools: Failed to initialize Windows Azure storage emulator. Unable to start the storage emulator.

    Hi,
    I created a cloud service using Visual Studio 2013. When I tried to run the service, it fails with
    Windows Azure Tools: Failed to initialize Windows Azure storage emulator. Unable to start the storage emulator.
    Is there a way to debug this error? At a bare minimum, it would be great to get an error message on why it could not start.
    Thanks

    I ran Windows Azure Storage Emulator -v3.1 to launch the command line tool. I wanted to see if I could get some debug information, but that failed with the following exception.
    C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator>WAStorageEmulator.exe start
    Windows Azure Storage Emulator 3.1.0.0 command line tool
    Unhandled Exception: System.TimeoutException: Unable to open wait handle.
       at Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessController.InternalWaitForStorageEmulator(Int32 timeoutInMilliseconds)
       at Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessController.EnsureRunning(Int32 timeoutInMilliseconds)
       at Microsoft.WindowsAzure.Storage.Emulator.StartCommand.RunCommand()
       at Microsoft.WindowsAzure.Storage.Emulator.Program.Main(String[] args)

  • Windows azure storage DevelopmentStorageAccount CloudTable.CreateIfNotExists() always get 400 http error

    environment:
    windows 8.1,  Visual Studio 2013,  Windows Azure SDK2.2 ,  Microsoft.WindowsAzure.Storage V3.0.0.0,  Windows Azure Storage Emulator 2.2
    Code snippet:
    CloudStorageAccount account = CloudStorageAccount.DevelopmentStorageAccount;
    CloudTableClient tableClient = account.CreateCloudTableClient();
    CloudTable table = tableClient.GetTableReference(tableName);
    table.CreateIfNotExists();  // this line cause error
    Error Message:
    System.Net.HttpWebRequest.GetResponse() +6594148
    Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync(RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext) +1948
    [StorageException: remote server return error: (400) bad request]Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync(RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext) +7389
    Microsoft.WindowsAzure.Storage.Table.TableOperation.Execute(CloudTableClient client, CloudTable table, TableRequestOptions requestOptions, OperationContext operationContext) +206
    Microsoft.WindowsAzure.Storage.Table.CloudTable.Exists(Boolean primaryOnly, TableRequestOptions requestOptions, OperationContext operationContext) +394
    I have search many threads on internet.  And I cannot get any solution.  Who can help? Thanks a lot.

    Hi,
    I didn’t find any issue in the code that you provided, I also try it and in my PC it created a new table in my storage, my system is windows 8, Visual Studio 2012, Windows Azure SDK2.2, Microsfot.WindowsAzure.Storage V2.0.0.0. From my experience, there is
    something wrong in you Windows Azure SDK, I recommended you to reinstall, and then try the code again. If you have any further issue, please feel free to let me know.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Reopen All Windows from Last Session is not working

    The option Reopen All Windows from Last Session is not working, is there any other way to recover the tabs from my last session?
    Last night I fell asleep and my friend shut down my laptop.
    When I woke up in the morning I couldn't restore my last session which had several tabs opened for my research.
    I don't know the exact date when I found them, so I haven't been able to find them in History either.
    I've looked around on the internet, but haven't been able to find anything that helped me out.
    Hope you can help me! Thanks.

    Restart your Mac.
    Check the box for:  Reopen windows when logging back in
    Then check History >  Reopen Windows from Last Session

  • TS1814 I have windows vista and this did not work for my ipod it still will not update PLEASE HELP!

    I have windows vista and this did not work for my ipod it still will not update PLEASE HELP!
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server

    Try this:
    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Windows Vista and iTunes does not work

    First Time sorry for my bad English, I'm from Germany and my English is not the best.
    I have the new Windows Vista but iTunes does not work good.
    And I have to use it, to manage my music on my iPod.
    When there will be a Vista compatibles Version of iTunes??
    And when will come an 64-Bit Version?
    Thanks for Help,
    Karsten

    iTunes running under VISTA does not recognize media burned by iTunes Backup (v7.0.2) from a non-Vista machine.
    The original machine recognizes the media just fine, but the new VISTA machine does not recognize the dvd at all.
    Anyone else having a problem with VISTA recognizing burnt media?

  • I downloaded Elements 13 to my PC, but my PC has windows Vista and it does not work.  How can I download it to my laptop that has Windows 8?

    I downloaded Elements 13 to my PC, but my PC has windows Vista and it does not work.  How can I download it to my laptop that has Windows 8?

    You can get it at this link and validate with your 24 digit serial number - click here for PSE downloads

  • Problem surface pro 2, windows 8. brush pressure is not working in Ps CC ,

    problem surface pro 2, windows 8. brush pressure is not working in Ps CC

    Este foro es un Foro de Usuarios en español.
    Puedes probar a explicar tu problema con mayor detalle.
    Indica por favor detalles de hardware
    (Podemos estar familiarizados con Photoshop, pero no con tabletas híbridas)
    Concretamente, cómo utilizas el pincel de presión?

  • After Security updation of Windows 7 in Boot Camp (Mac Book Pro with Retina Display) on 13-Nov-2013, Windows 7 Desktop Gadgets are not working properly.

    After Security updation of Windows 7 in Boot Camp (Mac Book Pro with Retina Display) on 13-Nov-2013, Windows 7 Desktop Gadgets are not working properly.
    This is boot camp problem, because in other normal notebooks (e.g. SONY VAIO, Lenovo with Windows 7) the gadgets are working normally.
    I am attaching the screen shot of Desktop Gadgets and Security updates of Windows 7.
    Kindly solve this issue ASAP.
    Shailendra Gupta
    <edited by host>

    You are not addressing Apple, but a community of unpaid volunteers. So ASAP won't cut it. Also, you should refrain from posting personal information (like your email address) in the body of your comments, as this is part of the community usage guidelines.
    Have you reinstalled the latest Boot Camp Windows 7 drivers, just in case Microsoft overwrote some of them during the Windows 7 security update?
    If you want to communicate issues with Apple about Boot Camp and OS X, click on the link. Just don't hold your breath on receiving a response.

  • Window 10 build 10041 does not work with Intel 82579V Gigabit Ethernet on ASUS motherboard

          
    I originally posted this question here:
    answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_update/window-10-build-10041-does-not-work-with-intel/6729892f-83aa-4822-b20a-ea84f4fd06c7
    and was asked to post it on this forum...
    I updated a computer I have which is a quad core i7 that I built and includes an ASUS motherboard with Intel 82579V Gigabit Ethernet built in. Windows 10 preview 9926 worked fine with this network adapter. Window 10 build 10041 does not, and I have tried
    it twice so far. I even went as far as buying a Thunderbolt-Gigabit Ethernet Adapter (Broadcom, sold by Apple)... and while it installed the driver automatically, it did not work either. Each time you try to view the properties of either of them, it locks
    up or give an error. In fact, doing much of anything with the Intel adapter icon assures you of not being able to do a clean reboot... have to kill power.  I have finally gone back the previous version 9926, which has its issues but no where near as bad
    as not having any network connectivity!  Does anyone have this issue and a workaround? 
    Note, there are two images on the windows 10 preview forum that I posted this question on. I could not post the full link as I was getting a message here that links and graphics are not allowed.

    Thanks Roger, I posted the following yesterday in the other thread (thinking it was this thread - confusing after they moved it here)... It may be that the new driver fixes the issue that 10041 has with it, but I have not tried that yet. If I do I will update
    this... Thanks!
    I have more information about this, which basically exonerates any issue with the Intel 82579V Gigabit Ethernet hardware or software. I have 3 computers with Windows 10 preview so I have multiple angles to see issues from. With this I have found a culprit
    (but I suspect not just the only culprit) in this above mentioned problem...
    10041 build combined with installing (or attempting to install) CISCO VPN Windows 7 64bit 5.0.07.0440-k9 client causes the issue mentioned above. I confirmed this on a completely different machine with a totally different Ethernet adapter. First machine
    is an ASUS motherboard in a tower system I built, with the Intel 82579V Gigabit Ethernet hardware built in. Second machine is a Gateway Laptop from 2008 which has a Marvell Yukon 88E8057 PCI-E Gigabit adapter built in. Build 10041 will work fine with my 2008
    laptop, including the MS VPN client (which I have tested). However, if you attempt to install or even uninstall the Cisco client you will have to do a recovery to a restore point (as I have done twice) in order to get your network working again. Installing
    or attempting to install (because it never even does install properly and times out), CISCO VPN client will render your entire network unusable. Going back to a restore point saved me and I am still running 10041 but I can't use CISCO VPN client any longer.
    I could with build 9926, including on all 3 machines. I now have 9926 on two machines and 10041 on only the 2008 laptop. 
    Hopefully this above information helps someone resolve the issue. I will also mention, even though my network is working on the 2008 laptop, I still can't go into the Control Panel\Network and Internet\Network Connections and right mouse click on the Marvell
    Yukon 88E8057 PCI-E Gigabit adapter icon. I get an error when clicking on Properties menu popup : "An unexpected error has occurred". So something is still up with my network adapter driver or windows software, but it could be a side effect of all
    that has happened with the Cisco software install attempts under 10041.
    Another note: CISCO Anyconnect also has the issue.

Maybe you are looking for