deployment problem again

deployment problem again

Postby mpovidlov » Fri 23 Oct 2009 03:04

I am trying to deploy an application on a shared drive of our intranet.
I am using Entity Framework with Oracle.
I added the config file with this:
Code: Select all

               description="Devart dotConnect for Oracle"
         type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=, Culture=neutral, PublicKeyToken=09af7300eec23701"/>


I checked that the licenses.licx file has correct version. I copied Devart.Data.Dll (ver.
Devart.Data.Oracle.dll (
I also added two XML files generated by compiler (Devart.Data.xml Devart.Data.Oracle.xml ), though they refer to Devart.Data of version
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?

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

When run from the local directory, it produces Symantec's Antivirus message about blocking program access to a network, though it reads everything from the database successfully.
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;

It also runs from the shared drive on a computer with dotConnect installed.
Posts: 20
Joined: Tue 06 Jan 2009 00:34
Location: US

Postby AndreyR » Tue 27 Oct 2009 11:09

Could you please attach the hanging process with an instance of Visual Studio and post here the Call Stack of the error?
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Return to dotConnect for Oracle