Oracle Client

Oracle Client

Postby tvr » Thu 23 Aug 2007 17:53

Is Oracle Client required to run this software?
tvr
 
Posts: 18
Joined: Fri 22 Sep 2006 21:56

Client Server

Postby tvr » Thu 23 Aug 2007 18:32

I forgot to mention we are using OraDirect .NET Mobile 4.0.15.1.
tvr
 
Posts: 18
Joined: Fri 22 Sep 2006 21:56

Postby Alexey » Mon 27 Aug 2007 06:25

No, Oracle client is not to be used with OraDirect .NET Mobile.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Oracle Client

Postby tvr » Mon 27 Aug 2007 16:00

We have two different work sites getting two different results.

1st Site:
Have Oracle Client on the workstation using a regular server with the following connection:
string sConnection = "User Id=" + sServerUserId
+ ";Password=" + sServerPassword
+ ";Port=" + iPort
+ ";Server=" + sServer
+ ";Sid=" + sSid.ToUpper();

OracleConnection(sConnection)
Everything works fine.

2nd Site:
Does not have Oracle Client on the workstation using a multi-threaded server with the same connection string as above. They are getting the following error message:

Error Msg -
Header : "Unhandled Exception"
Body: Error loading user data: Network error:: Could not find resource assembly.


Does the connection need to be different, because of the multi-threaded server? Do they need to establish a DEDICATED server connection to get through the firewall.

Any idea would be greatly appreciated.
tvr
 
Posts: 18
Joined: Fri 22 Sep 2006 21:56

Postby Alexey » Mon 27 Aug 2007 16:26

You cannot execute more than one command on the same connection simultaneously in direct mode. You need to create new connection in each thread.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Oracle Client

Postby tvr » Mon 27 Aug 2007 18:22

I'm sorry if I was not clear. I'm not using the same connection. I talking about two totally different locations using the same software and exactly the same way.
tvr
 
Posts: 18
Joined: Fri 22 Sep 2006 21:56

Postby Alexey » Tue 28 Aug 2007 05:49

I understood you. I am talking about second site. You are using direct mode of OraDirect .NET on a multi-threaded server. In this case you need to open new connection for each command. When do you get the error?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Oracle Client

Postby tvr » Tue 28 Aug 2007 18:04

I have a new connection for each command. The error is happening immediately.
tvr
 
Posts: 18
Joined: Fri 22 Sep 2006 21:56

Postby Alexey » Wed 29 Aug 2007 07:18

Could you provide me with the stack trace?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Oracle Client

Postby tvr » Wed 29 Aug 2007 13:51

Can you send me an example the connect string? The stack trace ??? how do we create this?
tvr
 
Posts: 18
Joined: Fri 22 Sep 2006 21:56

Postby Alexey » Thu 30 Aug 2007 07:23

Here is the example of the connectiong string:
Code: Select all
User Id=scott;Password=tiger;Port=1521;Server=DB;Sid=orcl1020;

The call stack you should get along with the error message.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle