I am trying to deploy my Umbraco website to an Azure app service. The solution works and builds locally fine, but when I deploy there is a boot fail(error pasted below). The fail seems to be pointing to Our.Umbraco.FileSystemProviders.Azure. I tried installing the nuget package UmbracoFileSystemProviders.Azure but that didnt fix anything after filling out the FileSystemProviders.config. I uninstalled the nuget package and it worked locally again, but I still can not get to work on the deployed Azure site.
I pasted my packages.config section showing my Umbraco versions and then also the boot fail output. Any help would be greatly appreciated!
-> System.Reflection.ReflectionTypeLoadException: Could not load all types from "Our.Umbraco.FileSystemProviders.Azure, Version=1.0.3.255,
Culture=neutral, PublicKeyToken=null" due to LoaderExceptions,
skipping: . System.TypeLoadException on
Our.Umbraco.FileSystemProviders.Azure.AzureBlobFileSystem: Method
'GetSize' in type
'Our.Umbraco.FileSystemProviders.Azure.AzureBlobFileSystem' from
assembly 'Our.Umbraco.FileSystemProviders.Azure, Version=1.0.3.255,
Culture=neutral, PublicKeyToken=null' does not have an implementation.
. System.TypeLoadException on
Our.Umbraco.FileSystemProviders.Azure.AzureFileSystem: Method
'GetSize' in type
'Our.Umbraco.FileSystemProviders.Azure.AzureFileSystem' from assembly
'Our.Umbraco.FileSystemProviders.Azure, Version=1.0.3.255,
Culture=neutral, PublicKeyToken=null' does not have an implementation.
. System.TypeLoadException on Umbraco.Core.ApplicationEventHandler:
Could not load type 'Umbraco.Core.ApplicationEventHandler' from
assembly 'Umbraco.Core, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=null'.
at
Umbraco.Core.Composing.TypeFinder.GetTypesWithFormattedException(Assembly
a) in d:\a\1\s\src\Umbraco.Core\Composing\TypeFinder.cs:line 569 at
Umbraco.Core.Composing.TypeFinder.GetClassesWithBaseType(Type
baseType, IEnumerable1 assemblies, Boolean onlyConcreteClasses,
Func2 additionalFilter) in
d:\a\1\s\src\Umbraco.Core\Composing\TypeFinder.cs:line 504 at
Umbraco.Core.Composing.TypeFinder.FindClassesOfType[T](IEnumerable1
assemblies, Boolean onlyConcreteClasses) in
d:\a\1\s\src\Umbraco.Core\Composing\TypeFinder.cs:line 346 at
Umbraco.Core.Composing.TypeLoader.<>c__DisplayClass50_01.
Umbraco 8 Azure deployment bootfail
I am trying to deploy my Umbraco website to an Azure app service. The solution works and builds locally fine, but when I deploy there is a boot fail(error pasted below). The fail seems to be pointing to Our.Umbraco.FileSystemProviders.Azure. I tried installing the nuget package UmbracoFileSystemProviders.Azure but that didnt fix anything after filling out the FileSystemProviders.config. I uninstalled the nuget package and it worked locally again, but I still can not get to work on the deployed Azure site.
I pasted my packages.config section showing my Umbraco versions and then also the boot fail output. Any help would be greatly appreciated!
Same problem here, it did work with an Umbraco Package, but since I want to rely on Nuget that's not an option.
Umbraco 8 has a new package for handling the Azure media:
https://www.nuget.org/packages/UmbracoFileSystemProviders.Azure.Media/
The one you're installing is for Umbraco 7 so it won't work with v8.
You can find more details about how to configure the v8 package here:
https://github.com/umbraco-community/UmbracoFileSystemProviders.Azure
is working on a reply...