Using Episerver 11 on Episerver Azure host
On a new site, I created many media images that are currently stored in the App_Data blob folder. I've installed the EpiCode.BlobConverter package to migrate these to Azure blob storage. I've confirmed that my Azure blob provider has been added to the web.config file.
<episerver.framework><blob defaultProvider="azureblobs" xdt:Transform="Insert"><providers><add name="azureblobs" type="EPiServer.Azure.Blobs.AzureBlobProvider,EPiServer.Azure" connectionStringName="EPiServerAzureBlobs" container="mysitemedia"/></providers></blob></episerver.framework>
However, when I run the "Convert File Blobs" job, I get the following error for all images.
System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\App_Data\blobs\fff13e7fcf584be3869b7ba1113d3e74\42922beab0db42aeb9889606ebdec309_Thumbnail.png' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at EPiServer.Framework.Blobs.FileBlob.OpenWrite() at EPiServer.Framework.Blobs.FileBlob.Write(Stream data) at EPiCode.BlobConverter.BlobJob.ProcessFile(String path, String directory)
Any idea on how to convert these images to blob storage?