7.4.1 Upgrade results in: 'UmbracoDefaultOwinStartup' does not match the given value ''
Upon upgrading a project from 7.2.8 -> 7.4.1 via NuGet, compiling and reloading, we received the following error message:
The following errors occurred while attempting to load the app.
- The OwinStartupAttribute.FriendlyName value 'UmbracoDefaultOwinStartup' does not match the given value '' in Assembly 'umbraco, Version=1.0.5891.23243, Culture=neutral, PublicKeyToken=null'.
- No assembly found containing a Startup or [AssemblyName].Startup class.
To disable OWIN startup discovery, add the appSetting owin:AutomaticAppStartup with a value of "false" in your web.config.
To specify the OWIN startup Assembly, Class, or Method, add the appSetting owin:AppStartup with the fully qualified startup class or configuration method name in your web.config.`
I managed to kick this into gear by adding the following entries to the App Settings:
After this, the compiler threw up a dependency version mismatch; claiming that 'umbraco' was attempting to use Microsoft.Owin 2.1.0.0, despite the NuGet package manager automatically pulling Microsoft.Owin 3.0.1.0 when I upgraded to Umbraco 7.4.1.
This is the highest number of errors I've encountered during an upgrade, particularly one which appeared to be so smooth. There were no breaking changes listed.
The thing which got me under way initially was this Stack Overflow post from January.
I can't seem to find many reports of this, is it a known issue?
I just came across an Umbraco Forms form which was not loading; the error log indicated that it could not find a type:
error CS0012: The type 'System.Collections.Generic.Dictionary`2<T0,T1>' is defined in an assembly that is not referenced.
You must add a reference to assembly 'System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Adding this reference resolved the issue. It's rather disconcerting to have these thrown up however.
7.4.1 Upgrade results in: 'UmbracoDefaultOwinStartup' does not match the given value ''
Upon upgrading a project from 7.2.8 -> 7.4.1 via NuGet, compiling and reloading, we received the following error message:
I managed to kick this into gear by adding the following entries to the App Settings:
After this, the compiler threw up a dependency version mismatch; claiming that 'umbraco' was attempting to use Microsoft.Owin 2.1.0.0, despite the NuGet package manager automatically pulling Microsoft.Owin 3.0.1.0 when I upgraded to Umbraco 7.4.1.
The following Assembly Bindings fixed that:
At which point the compiler then claimed it could not find System.Object. This was fixed by adding this key to the Assemblies section:
This is the highest number of errors I've encountered during an upgrade, particularly one which appeared to be so smooth. There were no breaking changes listed.
The thing which got me under way initially was this Stack Overflow post from January.
I can't seem to find many reports of this, is it a known issue?
/Chris
I just came across an Umbraco Forms form which was not loading; the error log indicated that it could not find a type:
Adding this reference resolved the issue. It's rather disconcerting to have these thrown up however.
/Chris
is working on a reply...