Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all,
I'm getting the following error trying to use UmbracoFileSystemProviders.Azure:
[ArgumentException: The container name https://xxx.blob.core.windows.net/ is not valid, see https://msdn.microsoft.com/en-us/library/azure/dd135715.aspx for the restrtictions for container names.] Our.Umbraco.FileSystemProviders.Azure.AzureFileSystem.CreateContainer(CloudBlobClient cloudBlobClient, String containerName, BlobContainerPublicAccessType accessType) +250 Our.Umbraco.FileSystemProviders.Azure.AzureFileSystem..ctor(String containerName, String rootUrl, String connectionString, Int32 maxDays, Boolean useDefaultRoute, BlobContainerPublicAccessType accessType) +233 Our.Umbraco.FileSystemProviders.Azure.AzureFileSystem.GetInstance(String containerName, String rootUrl, String connectionString, String maxDays, String useDefaultRoute, String usePrivateContainer) +280 Our.Umbraco.FileSystemProviders.Azure.AzureBlobFileSystem..ctor(String containerName, String rootUrl, String connectionString, String maxDays, String useDefaultRoute, String usePrivateContainer) +28
Here is my package version:
<package id="UmbracoFileSystemProviders.Azure" version="0.5.8-beta" targetFramework="net462" />
And the FileSystemProviders.config I am using:
<?xml version="1.0"?> <FileSystemProviders> <!-- Media --> <Provider alias="media" type="Our.Umbraco.FileSystemProviders.Azure.AzureBlobFileSystem, Our.Umbraco.FileSystemProviders.Azure"> <Parameters> <add key="rootUrl" value="https://xxx.blob.core.windows.net/" /> <add key="containerName" value="media"/> <add key="connectionString" value="DefaultEndpointsProtocol=https;AccountName=xxx;AccountKey=MY_KEY;EndpointSuffix=core.windows.net"/> <add key="maxDays" value="365"/> <add key="useDefaultRoute" value="true"/> <add key="usePrivateContainer" value="false"/> </Parameters> </Provider> </FileSystemProviders>
Does anyone know how I can resolve this error? I find it strange that the error is thinking that the containerName is actually the root URL.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
The container name https://xxxxx.blob.core.windows.net/ is not valid ... UmbracoFileSystemProviders.Azure Error
Hi all,
I'm getting the following error trying to use UmbracoFileSystemProviders.Azure:
Here is my package version:
And the FileSystemProviders.config I am using:
Does anyone know how I can resolve this error? I find it strange that the error is thinking that the containerName is actually the root URL.
is working on a reply...