Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Warren Harding 54 posts 107 karma points
    Sep 22, 2017 @ 00:43
    Warren Harding
    0

    Microsoft.Owin Version 2.1.0.0 Error

    Having just upgraded to Umbraco 7.7 I'm seeing an error with Microsoft.Owin when testing the builds on our servers...

    Could not load file or assembly 'Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Seems that Miniprofiler is the only binary referencing v 2.1 but it doesn't look like we're able to update Miniprofiler to v 3.1 as it's a dependancy of Umbraco ( < 3.0.0 required )

    Anyone hit this problem and found a solution? Thank you

  • Craig Mayers 164 posts 507 karma points
    Sep 22, 2017 @ 11:50
    Craig Mayers
    0

    Hi Warren,

    Haven't actually run into this issue myself, but you might want to take a look at Assembly Binding Redirects.

    See the following article: https://forums.asp.net/t/2010163.aspx?Could+not+load+file+or+assembly+Microsoft+Owin+Version+2+1+0+0+Culture+neutral+PublicKeyToken+31bf3856ad364e35+or+one+of+its+dependencies+The+located+assembly+s+manifest+definition+does+not+match+the+assembly+reference+Exception+from+HRESULT+

    Let me know how it goes.

    Thanks

    Craig

  • Christopher Bryan 4 posts 85 karma points
    Jun 07, 2018 @ 18:40
    Christopher Bryan
    0

    Hello everyone,

    I have not seen any direct answer to this question.

    I have tried to upgrade from 6.6.13 to 7.7.13 as per someones suggestion as to a migration path. I am going manual up grades. I get the same Microsoft Owin error. Has anyone resolved this issue.

    Thank you, Chris

  • Warren Harding 54 posts 107 karma points
    Jun 07, 2018 @ 21:36
    Warren Harding
    0

    I believe the issue was running the project with visual studio 17 rather than 15 but we ended up creating a new project and copying the build over in the end

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies