MySQL Forums
Forum List  »  MySQL for Visual Studio

Re: Connector 6.9.9 pointing to the wrong instance
Posted by: JOSE RAMIREZ
Date: March 29, 2017 10:43AM

Hello Samra,
apologies for the late reply.

Entity Framework will create a new database if it is unable to find the original database, this scenario can occur if the name of the connection string has been changed either on the Web.config file or the context class (note that the class calls a base constructor where the connection's name is hardcoded).
Is it possible that you made a similar change? If this is the case you need to make sure that the context class is pointing to the correct connection in the Web.config file.

You can find info about the previously mentioned behavior in Step 3 of the following link: https://msdn.microsoft.com/en-us/library/jj200620(v=vs.113).aspx



Regards.

====================================
Jose Maria Ramirez
MySQL Windows Experience Team

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Connector 6.9.9 pointing to the wrong instance
176
March 29, 2017 10:43AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.