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.
Entity frame work not Working.
Re: Entity frame work not Working.
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).
* 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).