如果插入下面的web.config的appSettings,它應春生命 - > 7.4.1
<add key="owin:AutomaticAppStartup" value="true" />
<add key="owin:appStartup" value="UmbracoDefaultOwinStartup" />
我7.2.8升級後收到此錯誤。執行上述操作後,Umbraco聲稱它找不到System.Object。這通過將以下內容添加到組件部分來解決:
<add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
此外;如果您收到任何依賴項不匹配(儘管最新的Umbraco NuGet使用3.0.1.0版本,但收到'umbraco'試圖使用Microsoft.Owin 2.1.0的消息),您可能需要將以下內容添加到assemblyBinding部分:
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
同樣在這裏。你有沒有設法找到答案@PeteTheGreek ...? – droidbot