Error when I try to use blog or forum

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/20/2008 6:28:21 AM
Gravatar
Total Posts 18439

Re: Error when I try to use blog or forum

No, the error is talking about MySql.Data.dll, not your version of the database. Did you get the files from the mojopoportal-2-2-6-8-mysqldatalayer.zip?

In medium trust its probably using the MySql.Data.dll from the GAC that was installed by the host and that one may not be the expected version.

If it were me I'd stay away from trying to use MySql in Medium Trust and use MS SQL instead or move to full trust hosting.

Best,

Joe

8/20/2008 1:38:37 PM
Gravatar
Total Posts 12

Re: Error when I try to use blog or forum

Ok, thanks. I did use the correct files.

I am stuck with 2 years left of my hosting lease though. I'll see if I can get off of it because of their really lousy service.

Thanks for your help.

 

8/21/2008 8:09:10 AM
Gravatar
Total Posts 18439

Re: Error when I try to use blog or forum

Doh!, I just found out that I failed to include the MySql.Data.dll in the zip for my sql data layer for 2.2.6.8. I have just corrected the download so you can try downloading it again and addingthe MySql.Data.dll to your bin folder. It still may not work due to Medium Trust, but it definitely won't work if the file is missing.

Best,

Joe

9/23/2008 7:57:46 AM
Gravatar
Total Posts 12

Re: Error when I try to use blog or forum

gee, I have finally got a reply from my host.

MySQL connector on the  server is version 3.51.12.0 according to them, I guess that means the same as GAC?
They support only version 4 of mysql, but can get me a version 5 for testing purposes.

By the way, I tried to upgrade to the new 2273 version, but perhaps there has been an error in the mysql datalayer?
There is a connection problem stating that mssql  cannot connect to the server. I have the mysql connection string defined.

Best regards

9/23/2008 1:25:10 PM
Gravatar
Total Posts 18439

Re: Error when I try to use blog or forum

Version 4 of MySql database should be no problem.

What they said about the MySql Connector makes no sense to me. We use the 5.2 connector, as far as I know there is only 1.x and 5.x versions ever made so I don't get any usefull information by 3.51.12.0, that may be a build number rather than the formal version.

The cannot connect to the server message doesn't tell a lie. If the connection string is there it is not correct.

Hope it helps,

Joe

9/23/2008 4:11:58 PM
Gravatar
Total Posts 12

Re: Error when I try to use blog or forum

Hi, somehow I must have replaced the MySql files in bin with the MSSql ones instead of the other way round.

I have finally gotten to test MySql 5, and it works!
Perhaps there is some kind of mismatch between the Mysql connector, v 4 and medium trust.
With v 5 it seems to work this far at least.

Once again, thanks for your great support. I really hope you get many votes in the CMS awards.
I get angry every time I see some kind of comparisons or evaluations of different CMS's and Mojoportal isn't one of them.
I have tried most of them and mojoportal is the simplest to use of them - but perhaps a bit more complex when it comes to all the files it comes with.
Umbraco brags about having the best / fastest support forum, but you alone competes with all of them, as you have almost instant answers to all our questions.

Perhaps I just found a bug? I tried to use the smiley icon in the editor and my browser somehow hangs, waiting for some kind of input. There is a popup of some kind that cannot appear correctly, perhaps hindered by some popup blocker I have???
I had the same error in my site when I tried to add an image. When I switched the default editor it worked though.

I use Avant browser, based on IExplorer.

 

Cheers mate!

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