Page 1 of 1

Cannot drag and drop table

Posted: Thu 31 Mar 2011 12:46
by hudgeo
For some reason I can no longer drag and drop a table from the devart database explorer onto the designer. I have my edml file checked out, have the appropriate permissions on the db table and the table doesn't already exist in the model. I can't seem to drag anything over anymore.

The only change I can think of recently was installing visual studio 2010 sp1 and a new oracle client (11.2 release 3). Looks like v 2.80.136.0 ver of entity developer.

Any ideas? Screencast at http://dl.dropbox.com/u/235508/DevArtEd ... agDrop.avi

Posted: Thu 31 Mar 2011 14:24
by AndreyR
I have just performed a test using VS 2010 SP 1, Oracle Client 11gR2, and Entity Developer 3.20.104, and succeeded.
Could you please upgrade to the latest 6.10.126 build of dotConnect for Oracle?
Please let us know if the problem persists.

Issue remains

Posted: Tue 05 Apr 2011 20:29
by hudgeo
Unfortunately the issue remains after upgrading to the latest

Posted: Wed 06 Apr 2011 17:21
by hudgeo
One thing I noticed is that if I open up the edml externally in the Entity Developer app, it does let me drag and drop from database explorer. It just will not let me from inside visual studio.

I tried disabling some extensions thinking maybe there is some incompatibility there but so far that hasn't helped either.

On a hunch I attached another instance of visual studio and got the below exception when attempting the drag and drop from database explorer:

System.InvalidCastException occurred
Message=Specified cast is not valid.
Source=mscorlib
StackTrace:
at System.Runtime.InteropServices.Marshal.GetIDispatchForObjectNative(Object o, Boolean onlyInContext)
at System.Runtime.InteropServices.Marshal.GetIDispatchForObject(Object o)
InnerException:

Posted: Thu 07 Apr 2011 08:47
by AndreyR
This is a naming ambiguity. The Database Explorer you are trying to use is associated to OraDeveloper Tools. Open the View->Entity Developer->Database Explorer window, everything should work OK.
We will change the naming in one of the future builds.

Posted: Thu 07 Apr 2011 13:17
by hudgeo
Oh gheesh. Haha. Thanks. I didn't even realize DevArt had two Database Explorers and not sure why you guys would and if so why they'd be named the same. In any event that was the problem and hopefully future builds won't have this confusion as much.

Posted: Fri 08 Apr 2011 08:33
by AndreyR
Glad to hear the issue was resolved.