Entity frame work not Working.

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
sr1n1vas245
Posts: 1
Joined: Wed 03 Aug 2016 11:12

Entity frame work not Working.

Post by sr1n1vas245 » Wed 03 Aug 2016 11:26

When After i was installed Devart dotconnect.I able connected to my server Mysql db fine and i working on ASP.net MVC.When i create a view with database Model .its giving the following error.

There was an error running the selected code generator;'Object reference not set to an instance of an object'

Please give me advice.

Thanks in Advance.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Entity frame work not Working.

Post by Shalex » Wed 03 Aug 2016 17:45

1. Specify a detailed stack trace of the error. If there is no stack trace, please obtain it by connecting from another (2nd) instance of Visual Studio (via Debug > Attach to Proccess) to the first VS (where you are getting 'Object reference not set to an instance of an object.'). Before attaching don't forget to make these settings in your 2nd Visual Studio:
* in the (Debug > Exceptions) window, select Common Language Runtime Exceptions
* in the (Tools > Options) window, navigate to Debugging > General and clear Enable Just My Code (Managed Only)

2. Please send us a small test project with the corresponding DDL/DML script for reproducing the issue in our environment.

In case of >2MB attachment, we recommend either using some file exchange server (send us the corresponding link) or uploading a test project to our FTP server (the credentials will be provided by email request).

Post Reply