EntityFramework and mySQL
Posted by: Peter Thomsen
Date: December 10, 2011 04:26AM
I really have big problems using the Database Model first. I can connect to the database just fine and select the Tables I want, but when I push finish, Visual Studio freeze up for a long time and then comes with an error message.
"Loading metadata from the database took 00:00:02.7821914.
Generating the model took 00:05:04.5286877.
Added the connection string to the Web.Config file.
Successfully registered the assembly 'System.Data.Entity, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the Web.Config file.
Unable to generate the model because of the following exception: 'An error occurred while executing the command definition. See the inner exception for details.
Fatal error encountered during command execution.
Fatal error encountered attempting to read the resultset.
Reading from the stream has failed.
Attempted to read past the end of the stream."
I got the feeling that it is not using the .Net Connector(Got the lastest version from this site).
Can anyone help me here, ty.
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.