This topic has 2 replies, 2 voices, and was last updated 4 years ago by Tekbilge Tech.

  • Author
    Posts
  • #2597

    Everyting worked fine 1246 before Update to 1336. Now i get assembly error Microsoft.Owin.Security.Cookies, version =2.1.0.0

    Could not load file or assembly ‘Microsoft.Owin.Security.Cookies, 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)

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    anyone were get an error like this?

    1
    1 person likes this.
    Please wait...
    #2598
     Alexander
    Member

    Please fix Portal Web.config this way

    <configuration>
      ....
      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <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" publicKeyToken="31bf3856ad364e35" culture="neutral" xmlns="urn:schemas-microsoft-com:asm.v1" />
            <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" xmlns="urn:schemas-microsoft-com:asm.v1" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" xmlns="urn:schemas-microsoft-com:asm.v1" />
            <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" xmlns="urn:schemas-microsoft-com:asm.v1" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" xmlns="urn:schemas-microsoft-com:asm.v1" />
            <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" xmlns="urn:schemas-microsoft-com:asm.v1" />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    </configuration>
    1
    1 person likes this.
    Please wait...
    #2599

    Thats IT!!!

    Thank You Alexander

    0
    Be the first one to like this.
    Please wait...
Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Microsoft.Owin.Security’ is closed to new replies.

©2020 MSPControl | Privacy Policy

Log in with your credentials

or    

Forgot your details?

Create Account