Hi,
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 ??
The type Database cannot be constructed
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Please replace
with
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.
Code: Select all
providerName="dotConnect for MySQL"
Code: Select all
providerName="Devart.Data.MySql"
Notify us about the results.