License not found after switching from Framework 2.0 dll down to 1.1
Posted: Tue 13 Jun 2006 02:32
I originally downloaded and installed the framework 2.0 capatible driver, however, now I'm being told we need to deliver our app under 1.1.
The driver worked fine under 2.0, and I completely uninstalled it, before installing the new 1.1 version.
I deleted the old license.licx file from 2.0 and created a form to drag in a new MySqlConnection object. This successfully re-created the license.licx file. And I can setup all the properties to connect successfully to my database (using a MySqlCommand and MySqlDataTable on the form)
However, I need this to work as a library (formless), and when I manually create the MySqlConnection object in my code, it exceptions when I call MySqlConnection.Open() with:
"License not valid. Please view "Licensing" topic in MySQLDirect .NET documentation for details or contact Core Lab technical support."
I've gone over and over through the documentation and tried several things, but cannot seem to make this work.
The contents of my license.licx file are:
CoreLab.MySql.MySqlConnection, CoreLab.MySql, Version=3.50.10.0, Culture=neutral, PublicKeyToken=09af7300eec23701
Any ideas?
Matthew Scott
The driver worked fine under 2.0, and I completely uninstalled it, before installing the new 1.1 version.
I deleted the old license.licx file from 2.0 and created a form to drag in a new MySqlConnection object. This successfully re-created the license.licx file. And I can setup all the properties to connect successfully to my database (using a MySqlCommand and MySqlDataTable on the form)
However, I need this to work as a library (formless), and when I manually create the MySqlConnection object in my code, it exceptions when I call MySqlConnection.Open() with:
"License not valid. Please view "Licensing" topic in MySQLDirect .NET documentation for details or contact Core Lab technical support."
I've gone over and over through the documentation and tried several things, but cannot seem to make this work.
The contents of my license.licx file are:
CoreLab.MySql.MySqlConnection, CoreLab.MySql, Version=3.50.10.0, Culture=neutral, PublicKeyToken=09af7300eec23701
Any ideas?
Matthew Scott