Having trouble with MySQL - compiled from source

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/10/2010 3:57:26 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Having trouble with MySQL - compiled from source

Hi Joe, I have a strange situation. I updated the source today from the repository (version 2.3.5.1) and rebuilt the project under the 'Release - MySQL" configuration. Now my Windows 7 local IIS site seems to be working properly, but when I deploy to Windows Server 2008 (tried deploying with both Visual Studio and UnleashIt), I get the following error trying to run setup:

Could not load file or assembly 'MySql.Data, Version=6.2.3.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)

Am I missing an updated MySql.Data.Dll file? Or do you think this could be a different issue? I'm pretty sure I've eliminated the possibility of a corrupted upload by trying several different methods without error.

Thanks,

Jamie

8/10/2010 4:09:12 PM
Gravatar
Total Posts 18439

Re: Having trouble with MySQL - compiled from source

Hi Jamie,

On your local machine delete the MySql.Data.dll from the bin and rebuild and it should bring the new version into your bin folder then repackage.

Or deploy the file from the _libs/mysql623 folder to your server.

Sometimes it doesn't always replace the dll in VS if it already exists.

Hope it helps,

Joe

8/10/2010 4:20:36 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Having trouble with MySQL - compiled from source

Hey Joe, thanks for the quick reply! For some reason, even deleting the DLL and rebuilding the solution didn't deploy the new DLL to Web/bin, but I was able to manually copy it from _libs, and everything seems to be working properly.

Thanks!

Jamie

You must sign in to post in the forums. This thread is closed to new posts.