[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

Force .NET cide to pick up 64 bit Oracle Client in a 32 bit Windows Process (related to AutoSys

P.L.

8/29/2008 8:31:00 PM

Dear Experts,

I met a problem and hope to have your advices and help.

My Question:
How to force my c# program to call 64 bit oracle client instead of 32
bit oracle client while both client are installed on the same machine?

Details;
OS: Windows 2003 64 bit server
Oracle Clients: both 32 bit and 64 bit Oracle 10g clients

AutoSys is a scheduler tool, and its local agents running on windows
64 bit servers in 32 bit mode, connecting its backend Oracle database
using 32 bit Oracle client.

My c# program on the same server connects another oracle database
using the 64 bit oracle client.

All're running well, but work together.

When the AutoSys agent invokes my c# program, the following exception
will raise:
"Exception - UpdateUserProfiles: Attempt to load Oracle client
libraries threw BadImageFormatException. This problem will occur when
running in 64 bit mode with the 32 bit Oracle client components
installed."

It seems, in the process that AutoSys starts (it is 32 bit process),
my c# program is forbidden to use 64 bit oracle client, as AutoSys is
running with 32 bit Oracle client simultaneously.

Again, my Question:
How to force my c# program to call 64 bit oracle client?

Thanks a lot,

P.L
1 Answer

Naked Gonad

11/24/2008 11:32:00 AM

0

Eli Grubman wrote:
> On Mon, 24 Nov 2008 09:24:17 +0000, Naked Gonad
> <bodron57@tiscali.co.uk> wrote:
>
>> Eli Grubman wrote:
>>> On Tue, 18 Nov 2008 09:33:04 +0000, Naked Gonad
>>> <bodron57@tiscali.co.uk> wrote:
>>>
>>>> Eli Grubman wrote:
>>>>> On Mon, 17 Nov 2008 18:45:42 +0000, Naked Gonad
>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>
>>>>>> Eli Grubman wrote:
>>>>>>> On Mon, 17 Nov 2008 17:21:06 +0000, Naked Gonad
>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>
>>>>>>>> Eli Grubman wrote:
>>>>>>>>> On Mon, 17 Nov 2008 16:22:35 +0000, Naked Gonad
>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>
>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>> On Mon, 17 Nov 2008 15:28:12 +0000, Naked Gonad
>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>> On Mon, 17 Nov 2008 13:52:03 +0000, Naked Gonad
>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>> On Mon, 17 Nov 2008 11:47:12 +0000, Naked Gonad
>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>> On Mon, 17 Nov 2008 09:51:30 +0000, Naked Gonad
>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>> On Sun, 16 Nov 2008 19:19:59 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>> On Sun, 16 Nov 2008 18:41:33 -0000, "Peter Hucker" <none@spam.com>
>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Fri, 14 Nov 2008 12:31:44 -0000, Eli Grubman <eli.grubman@googlemail.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Fri, 14 Nov 2008 11:32:15 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, 14 Nov 2008 09:47:22 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, 14 Nov 2008 09:22:14 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Thu, 13 Nov 2008 15:44:56 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Speaking personally, on behalf of meself, I don't know, to be sure.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> It's possible that the question is in the answer...er!....erm!
>>>>>>>>>>>>>>>>>>>>>>>>>>> There's no question of that.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> There's your answer then.
>>>>>>>>>>>>>>>>>>>>>>>>> You don't ask, you don't get.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> If you don't move, you stay still.
>>>>>>>>>>>>>>>>>>>>>>> Sic transit gloria mundi.
>>>>>>>>>>>>>>>>>>>>>> You did what to Gloria in a Ford Transit?
>>>>>>>>>>>>>>>>>>>>> Too mundiane to answer.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Was she an Escort?
>>>>>>>>>>>>>>>>>>> Please try to Focus.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I find that sucking a Polo mint helps.
>>>>>>>>>>>>>>>>> Even when you're playing Golf?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Yes, my friend Ghia does too.
>>>>>>>>>>>>>>> I bet she's Popular.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Well, she is a Prefect.
>>>>>>>>>>>>> Morris the pity.
>>>>>>>>>>>>>
>>>>>>>>>>>> She was a V8 Pilot at one time.
>>>>>>>>>>> A Minor role.
>>>>>>>>>>>
>>>>>>>>>> She is a bit of a traveller though.
>>>>>>>>> What sign of the Zodiac?
>>>>>>>>>
>>>>>>>> She stank of fish, so I assume....pisces.
>>>>>>> Pisces the twins?
>>>>>>>
>>>>>> Correct: the ram.
>>>>> Twin cam ram?
>>>>>
>>>> Well, she was was pretty horny.
>>> A banana in the exhaust pipe would take care of that!
>>>
>> That makes the engine sound really fruity.
>
> Toot toot!
>
Poo! what a honk!