Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

EntityFramework and mySQL (no replies)

$
0
0
Hey MySQL

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=4.0.0.0, 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.

best regards
Pete

Viewing all articles
Browse latest Browse all 1447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>