I am using Entity Framework with Oracle.
I added the config file with this:
Code: Select all
Devart.Data.Oracle.dll (5.25.42.0)
Devart.Data.Oracle.Entities.dll(5.25.42.0)
I also added two XML files generated by compiler (Devart.Data.xml Devart.Data.Oracle.xml ), though they refer to Devart.Data of version 5.0.1.0.
When I start a program on a computer with Oracle installed, it just hangs...
It was hanging before and I found that the license file was from wrong version (which is frustrating without getting any message), I fixed that and it started to work. This time (with yet newer version of dotConnect) this trick does not help anymore. What am I missing?
Thanks
Update:
The program works from the local drive without Devart installed (the client 's machine). When I run it from the shared drive, it hangs (badly, need to restart computer) on this line:
Code: Select all
contextInstance = new Entities( ConnectString );
contextInstance.Connection.Open(); <---hangs indefinitely
There is no problem when I use the context in a usual way:
Code: Select all
var context = new Entities();
var q = from a in context.Table1 select a;