locked
Could not load file or assembly 'MySql.Data, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80 RRS feed

  • Question

  • User993120701 posted

    Dear Friends,

    I have done patch update in live project and found this error and unable to solve this issue.

    Could not load file or assembly 'MySql.Data, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Pl help me on this. Thanks in advance. Urgent please

    Wednesday, May 6, 2015 12:09 AM

Answers

  • User-166373564 posted

    Hi,

    Could not load file or assembly 'MySql.Data, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    You need to make sure the reference to the assembly is correct.

    If you have more than one assembly referencing MySQL you should check that they are all referencing the same version, from the same location and/or have the "Specific Version" property set to false and "Copy Local" set to true. Please refer to similar scenario: could not load file or assembly 'mysql.data, version=6.9.5.0 

    Please let me know if there is anything that I can do to help.

    Regards,

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 11, 2015 10:46 PM

All replies

  • User177399542 posted

    Have you installed MYSQL connector? 
    http://dev.mysql.com/downloads/connector/net/5.2.html

    Wednesday, May 6, 2015 1:12 AM
  • User-166373564 posted

    Hi,

    Could not load file or assembly 'MySql.Data, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    You need to make sure the reference to the assembly is correct.

    If you have more than one assembly referencing MySQL you should check that they are all referencing the same version, from the same location and/or have the "Specific Version" property set to false and "Copy Local" set to true. Please refer to similar scenario: could not load file or assembly 'mysql.data, version=6.9.5.0 

    Please let me know if there is anything that I can do to help.

    Regards,

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 11, 2015 10:46 PM