I followed this link to configure the Azure storage for media libraries. But when i create a media library, i would get below error. Does there someone have the same issue before? Thanks for your time in advance!
EventDescription: Message: Error when getting container. The request failed with the following status: '400 Bad Request'.
Exception type: System.IO.IOException Stack trace: at CMS.AzureStorage.ContainerInfoProvider.InitContainerInfo(ContainerInfo containerInfo, Boolean referenceOnly) at CMS.AzureStorage.ContainerInfo..ctor(AccountInfo accountInfo, String containerName, Boolean referenceOnly, Nullable1 publicContainer) at CMS.AzureStorage.ContainerInfoProvider.GetRootContainerInfo(String path) at CMS.AzureStorage.Directory.GetCaseValidPath(String path, Nullable1 caseSensitive) at CMS.AzureStorage.Directory.GetValidPath(String path, Nullable`1 caseSensitive) at CMS.AzureStorage.Directory.ThrowOnTooLongDirecotoryPath(String path) at CMS.AzureStorage.Directory.CreateDirectory(String path) at CMS.IO.Directory.CreateDirectory(String path) at CMS.MediaLibrary.MediaLibraryInfoProvider.CreateMediaLibraryFolderInternal(String siteName, Int32 libraryID, String newFolderPath, Boolean synchronization, Boolean logSynchronization) at CMS.MediaLibrary.MediaLibraryInfoProvider.SetInfo(MediaLibraryInfo info) at CMS.MediaLibrary.MediaLibraryInfo.SetObject() at CMS.PortalEngine.Web.UI.UIForm.SaveDataInternal()
1 publicContainer) at CMS.AzureStorage.ContainerInfoProvider.GetRootContainerInfo(String path) at CMS.AzureStorage.Directory.GetCaseValidPath(String path, Nullable
Message: The remote server returned an error: (400) Bad Request.
Seems like a permission thing on Azure side. What config did you do on azure side?
Hi David, Thanks for your attention. Do you mean the Blob container's configuration on azure? The access level for this container is Private(no anonymous access).
Please, sign in to be able to submit a new answer.