ASP.net - Cannot obtain provider factory for data provider named
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
精彩评论