I'm using Visual Studio 2017 and these are the errors I encountered when I drag my table to the dataset
:
Some updating commands could not be generated automatically. The database returned the following error:
You have a usable connection already.
Mouse drag operation failed.
Could not retrieve schema information for table or view
access_rights
..
This is my setup currently installed:
I already tried this:
Visual Studio 2017 (Community, Professional, and Enterprise):
MySQL for Visual Studio 1.2.8 or 2.0.5 with Connector/NET 6.9.8
I already solve this i saw a random answer from another website
Important
Uninstall both Mysql for VS and Connector/net and you must first install Mysql for VS before connector/net
and it works properly now
I was struggling with this for hours. I used the advice in another 2015 VS post.
Uninstalled MySQL Connector Net and MySQL for Visual Studio
Installed MySQL Connector Net 6.9.8
Installed MySQL for Visual Studio 1.2.7
And it worked after that. I think it is important to install the connector before the visual studio. The latest version are not friendly and you need to downgrade.
Job Fine for me in Visual Studio 2019:
Uninstall MySQL Connector Net and MySQL for Visual Studio
Installed MySQL Connector Net 8.0.19 (Install this first)
Installed MySQL for Visual Studio 1.2.9 (Install last)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.