Copied to clipboard

Flag this post as spam?

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


  • Ronald Mol 13 posts 32 karma points
    Jan 05, 2011 @ 17:21
    Ronald Mol
    0

    MySql.Data.dll version parameters

    Recently I installed UMB 4.5.2. with MySQL database.
    Works fine.

    Created new Macro which saves some data in database.
    Impossible to save data using the MySql.Data.dll 5.1 which comes standard with UMB 4.5.2..
    No error shown but no data saved either :(

    Everything works well with MySql.Data.dll 5.2.5 in my testing environment.
    But using this 5.2.5 dll on de live server causes UMB to crash :(

    Is their anyone who knows about this 'bug' and hopefull has a solution ?

    Thanks in advance!

  • hr.moller 6 posts 26 karma points
    Oct 20, 2011 @ 20:20
    hr.moller
    0

    I know this is a question you asked way back... but I am new to Umbraco and can't find info on how to make the shift of the MySql.Data.dll 5.1.2.2 included in Umbraco 4.7.0

    Have you any info to share on making that replacement of the .dll - to any later version of MySql.Data.dll (currently 6.4.4.0 is out).

     

  • Ronald Mol 13 posts 32 karma points
    Oct 24, 2011 @ 11:21
    Ronald Mol
    0

    Hi,

    Sounds little dumb but I can't remember I posted this?!
    Can't remember I had this issue or/and have it solved, sorry.

    What problem(s) are you facing exactly?

  • hr.moller 6 posts 26 karma points
    Oct 24, 2011 @ 17:28
    hr.moller
    0

    Hi,

    Umbraco 4.7.0 (and the 4.7.1 which is out now) has in the bin-folder version 5.1.2.2 of MySql.Data.dll

    So how to go about getting it to run when replacing it with v. 6.4.4.0 - that was the issue.

    That I solved by adding in web.config the following to the //runtime/assemblyBinding/:

     <dependentAssembly>

    <assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" />

    <bindingRedirect oldVersion="0.0.0.0-5.1.2.2" newVersion="6.4.4.0" />

     </dependentAssembly>

     

  • Ronald Mol 13 posts 32 karma points
    Oct 24, 2011 @ 17:32
    Ronald Mol
    0

    Hi,

    Well thnx for your reply.
    Good to hear you solved the problem. Good to know and good for other / all Umbraco users to have a solution on this forum.


     

Please Sign in or register to post replies

Write your reply to:

Draft