开发者

ASP.net - Cannot obtain provider factory for data provider named

开发者 https://www.devze.com 2023-03-04 03:07 出处:网络
I\'m building a website in ASP.net and using a MySQL connector 5.1 to connect to an online MySQL database. I have a dataset with all my tables, but when I try to configure or add a new table I get the

I'm building a website in ASP.net and using a MySQL connector 5.1 to connect to an online MySQL database. I have a dataset with all my tables, but when I try to configure or add a new table I get the follow error:

开发者_运维知识库
Cannot obtain provider factory for data provider named "System.data.odbc"

Anyone know anything about this?

Thanks


That's the ODBC driver. IMHO you'd be better off with the .NET Connector:

Connector/Net is a fully-managed ADO.NET driver for MySQL

0

精彩评论

暂无评论...
验证码 换一张
取 消