05-16-2015 12:27 AM
I am using MySQL .NET Connector with my LV2013 application which has been working fine for months. Today the new exe started requiring the user to pick the location of the MySQL dlls. Ironically, the dialog opens to the directory with the dlls in it. Currently, the dlls are in the /data directory. I have tried moving them into the same directory as the exe. I did see this post, but it didn't help. I haven't tried putting the dlls into the GAC because it wasn't entirely clear where in the GAC they would go, and in principal, having the dlls in the same directory path as the exe should be enough.
Any suggestion would begreatly appreciated.
Solved! Go to Solution.
05-16-2015 10:13 AM
One further note. It appears this may be somehow related to the OS on the target computer. The exe works fine on the dev machine.
05-16-2015 03:13 PM
05-16-2015 06:59 PM
Sorry, Win7 on both.
05-17-2015 02:25 PM
Make sure both machines have the same version of the .NET Framework installed or at least the same CLR version.
As a side note - the GAC controls the location of the files - you can't change this. As long as the dlls are signed then you can install them into the GAC folder (or using GACUtil) and the GAC will sort out the storage location based on name and version. As soon as the dlls are in the GAC then Fusion will be able to resolve them.
05-17-2015 02:56 PM
Thanks for the information. I'll check both of the systemslater today.
Chris
05-20-2015 02:35 PM
Thanks. It looks like 2 different versions were inadvertently installed. That solved it.