Azure-Samples / azure-batch-samples

Azure Batch and HPC Code Samples
Other
261 stars 487 forks source link

System.ArgumentException: 'Primary and secondary location URIs in a StorageUri must point to the same resource. Parameter name: secondaryUri' #237

Closed naunihalsidhu closed 6 years ago

naunihalsidhu commented 6 years ago

Getting the following error with C# Sample in jobs.cs

CloudStorageAccount cloudStorageAccount = new CloudStorageAccount( new StorageCredentials( accountSettings.StorageAccountName, accountSettings.StorageAccountKey), accountSettings.StorageServiceUrl, useHttps: true);

System.ArgumentException: 'Primary and secondary location URIs in a StorageUri must point to the same resource. Parameter name: secondaryUri'

matthchr commented 6 years ago

Which sample specifically are you hitting this on?

Also, What version of WindowsAzure.Storage are you building against (the default one included in the sample, or a different one?)

matthchr commented 6 years ago

Given the lack of response above, closing this. Feel free to reopen if you're still observing this.