0

I have the following installed:

VS 2013 Oracle 11g database Oracle Developer Tools for VS 2013 12.1.2400 ODP.NET 12.1.2400 EF 6

After I add or select a new connection when adding a new ADO.NET Entity Data Model, I get an "Object reference not set to an instance of an object" error and am not able to add a new model.

Error screen shot

This was previously working when I had the DevArt Oracle client installed (although I wasn't using it). After I uninstalled the DevArt components I started to get this error.

I have since uninstalled and re-installed the Oracle developer tools and ODP.NET but still get the same error.

I am able to connect to the Oracle database via the Server Explorer within VS.

Any ideas? It's driving me mad.

Dave
  • 329
  • 2
  • 6
  • 17
  • Which architecture did you install? 32-bit or 64-bit? – Wernfried Domscheit Jan 06 '16 at 06:05
  • I originally had installed 64 bit, and everything was working until I uninstalled the Devart component I was no longer using. I've tried to reinstall the 64 bit version with the same error. I have also uninstalled everything and tried the 32 bit version and got the same error. – Dave Jan 07 '16 at 17:59

1 Answers1

0

I decided to give up on VS 2013 and installed VS 2015 which I was planning on doing anyway.

In VS 2015 I got the same "Object reference error" when trying to add a new project. I found this thread: Error message "No exports were found that match the constraint contract name" which had the solution for that.

I installed the Oracle Developer Tools for VS 2015 (the MSI version) and it's working. Still not working in VS 2013, but I will just abandon it.

I suspect uninstalling the Devart component caused this issue.

Community
  • 1
  • 1
Dave
  • 329
  • 2
  • 6
  • 17