MySql Version

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/5/2007 4:32:17 AM
Gravatar
Total Posts 2

MySql Version

I'm trying to install in a medium trust hosting environment. The ISP tells me that the MySQL connector version 5.0.7.0 is in the GAC. The installation is failing on requesting version 5.0.8.0. Is there some way that I can ovverride the request for 5.0.8.0?

I've put the following line in web.config:

<add assembly="MySql.Data, Version=5.0.7.0, Culture=neutral, PublicKeyToken=994bc1102e243463" />

It still doesn't work.

12/5/2007 6:28:14 AM
Gravatar
Total Posts 18439

Re: MySql Version

Hi,

Are you using mojoPortal 2-2-4-0preview? If not you should be because there were problems under medium trust in 2-2-3-9.

I just uploaded an updated download for MySql data layer 2-2-4-0-preview.

I looked at the references from the mojoportal data layer to the MySql connector and noticed it was set to specific version = true. I changed this to false and re-compiled.

Maybe this will solve it for you by letting it use whataver version is available.

Let me know how it goes.

Best,

Joe

12/6/2007 3:32:41 AM
Gravatar
Total Posts 2

Re: MySql Version

Hi,

I switched to 2-2-4-0-preview, used a modified version of Web.config.mediumtrust for my web.config, and now I'm getting:

Could not load file or assembly 'MySql.Data, Version=5.1.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

My web.config contains:

<add assembly="MySql.Data, Version=5.0.7.0, Culture=neutral, PublicKeyToken=994bc1102e243463" />

12/6/2007 6:56:48 AM
Gravatar
Total Posts 18439

Re: MySql Version

If you got the mssql 2-2-4-0-preview download you need also the mysqldatalayer download and replace the mojoPortal.Data.dll in the /bin folder and add the MySql.Data.dll from the mysqldatalayer download. The can't find file message sounds like you didn't do that part.

If you've already done that, then I would try making the add assembly setting match the one its asking for. If that doesn't work, try removing the add assembly setting.

If that doesn't work I would ask your host to install the newer MySql connector in the GAC.

Hope it helps,

Joe

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