Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# ashansen 8/13/2006 1:03 PM
Hello

I am trying to install this cms system om my website, but it dont work, but i have a problem that i don't understand.

see it at www.roensholt.com/Install/Install.aspx


Hope someone can help me....

Regards

Allan
- Denmark
# martijnb 8/13/2006 2:59 PM
In the exception you can see the following message:
Could not create connection from Driver

This means that the application is unable to connect to the database, mostly due to an invalid connectionstring. Could you post the connectionstring (without security info of course) to see what might be the problem?
# ashansen 8/13/2006 5:04 PM
This is my connection string

add key="hibernate.connection.connection_string" value="server=mysql2.unoeuro.com;database=roensholt_com_db;uid=myuid;pwd=mypwd;"

i have removed < and /> in the connectionstring, so i can post it here.

MySQL database is version 4.1.14.
# ashansen 8/14/2006 8:55 AM
I am pretty sure that my connectionstring i correct.

I have tried to remove all credentials - server, database, uid and pwd - to see what happens.
Without these, it tells that it cannot connect to eny host at all.
If i enter server, it tells that password is "NO".
If i then enter uid and pwd, it tells that i cant find the database.
If i then enter the database, i reports the error you can se by the link - "Could not create connection from Driver" and Unable to cast object of type 'System.Byte[]' to type 'System.IConvertible'.

So it must be the connection to the database.
I have doublechecked the mysql db version at my webhost - and the version number i have entered is correct.

Is there anyone who can help me?

Regards

Allan
# martijnb 8/14/2006 5:06 PM
After some googling I found this thread: http://www.mojoportal.com/ForumThreadView.aspx?thread=312&pageindex=3.

It seems that there might be an issue with the MySQL Connector 1.0.4 that is used by Cuyahoga and some database specific settings and that the latest MySQL Connector solves that bug.

Could you try and download the latest MySQL Connector, put it in the /bin directory and see if that works?