VS attempts to update from the database, it encounters an exception of type ' Microsoft.VSDesigner.Data.Local.ConnectionStringConverterServiceException '. The exception message is: "";

Source: Internet
Author: User

Recently, due to the replacement of the machine, running the update database model on the new machine, error: When attempting to update from the database, you encounter a type of " Microsoft.VSDesigner.Data.Local.ConnectionStringConverterServiceException "Exception. The exception message is: "";

Such errors are typically caused by an EDMX update from the database to the model, and the error

I'm using VS2012, the database is MySQL.

Solution One:

Locate your entities.edmx file and check that the ConnectionString is correct. Verify that the connection string for App. config in the project and the project folder are correct. In general, modify the connection string (including the connection address, database user name, password) of the app. Config in Web. config and the project folder to match the database you are using.

Solution Two:

If you modify the connection string for App. Config under Web. config and the project folder, you still get an error when updating from the database to the model, possibly missing related components in VS, go to MySQL official website https://dev.mysql.com/ downloads/windows/visualstudio/Download the latest Mysql-for-visualstudio-2.0.4.msi components and install them.

The installation is complete, the connection test is completed, the test is successful, and subsequent updates from the database to the model work.

VS attempts to update from the database, it encounters an exception of type ' Microsoft.VSDesigner.Data.Local.ConnectionStringConverterServiceException '. The exception message is: "";

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.