The type Database cannot be constructed

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Posts: 1
Joined: Tue 27 Dec 2011 21:49

The type Database cannot be constructed

Post by iunabilly » Tue 27 Dec 2011 22:01

I am changing the db for my application from SQL Server to MySQL.
I am using EntrepriseLibrary 5.0 and ASP.NET 4.0

When i am going to my page, what works perfect with the SQLServer connection string fails with the MySQL one.

I have downloaded dotConnect for MySQL and placed the relevant dlls in my bin directory.

My Web.config goes as follows :




I wonder what's the mattter?? Can you help ??

Devart Team
Posts: 2108
Joined: Wed 02 Nov 2011 09:44

Post by Pinturiccio » Thu 05 Jan 2012 08:50

We are investigating the issue and we will notify you about results as soon as possible.

Devart Team
Posts: 7979
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 17 Jan 2012 13:25

Please replace

Code: Select all

providerName="dotConnect for MySQL"

Code: Select all

in the connectionStrings and providerMappings sections of your *.config. An example of our provider registration is available at %ProgramFiles%\Devart\dotConnect\MySQL\Enterprise Library\NET3.5\DataAccessQuickStart\CS\App.config.

Notify us about the results.

Post Reply