Reputation: 21
I'm trying to generate/update an edmx model from an oracle database and I need to create a new connection to that oracle database. When I click "Test Connection" it succeeds but when I click "OK" it gives the following error:
Operation is not valid due to the current state of the object
VS 2017 error when adding new connection to update edmx model
Upvotes: 2
Views: 1225
Reputation: 2309
I had the exact same issue after a brand new installation of VS2017.
Installed Oracle Developer Tools for Visual Studio 2017
Reinstalled ODAC 12.2c Release 1 and Oracle Developer Tools for Visual Studio (12.2.0.1.0)
Now, everything works as expected and I'm able to e.g. refresh my EF6 models.
Upvotes: 2