MySqlNet 3.5.10.0 Beta fails immediately after install

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
JBortz
Posts: 1
Joined: Tue 11 Apr 2006 02:50

MySqlNet 3.5.10.0 Beta fails immediately after install

Post by JBortz » Tue 11 Apr 2006 02:53

In VS2005 when running program using the driver throws CoreLab.MySql.MySqlException was unhandled
Message="License not found. Please view \"Licensing\" topic in MySQLDirect .NET documentation for details or contact Core Lab technical support."
Source="CoreLab.MySql"
ErrorCode=-2147467259
Code=-1
SqlState="00000"
StackTrace:
at CoreLab.MySql.MySqlConnection.Open()
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at ...etc...

What is the fix?

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 11 Apr 2006 06:02

MySQLDirect .NET requires special embedded resource being present in your
application. This resource can be added automatically when you drop
MySqlConnection component to the WinForms designer, or created manually. For
more information refer to 'Licensing' article in MySQLDirect .NET
documentation. Please read it carefully.

Inform us if you cannot read documentation.

If instructions provided there do not help you please make sure you have
newest version of MySQLDirect .NET installed. If you do, specify your .NET
Framework version, MySQLDirect .NET version and type of project you create.

Please inform us if you solved the problem.

Post Reply