VS2015 Update model from database - unexpected exception

entity-framework-6 visual-studio-2015

Question

I have a solution with a lot of project. Few of them are using EDMX. It looks like I did something that crashed my EDMX files. When I open EDMX and click option "Update Model from Database" I get a exception popup windows with message: "An unexpected exception has occurred. The exception message is: 'Exception has been thrown by the target of invocation.'."

http://1drv.ms/20C9Vv0

And interesting is it doesn't matter which project. Any EDMX in the solution give me this bug. I have VS 2015 with latest EF 6.1.3.

Please help me :)

1
4
11/7/2015 7:07:49 PM

Accepted Answer

not sure if any one else is still having this issue. But I found a possible solution.

Open View > Server Explorer. then open the 'data connections' node and delete any connections in there.

This seemed to have fixed it for me.

I ran windbg.exe as well and found it was throwing an exception in Microsoft.AspNet.SignalR.WebSockets.WebSocketHandler

Hope this helps

8
5/3/2016 9:28:01 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow