Page 1 of 1

Help migrating development from .net 1.1 to 2.0

Posted: Mon 19 Jun 2006 13:51
by kevinherring
We are about to move all our development from 1.1 to 2.0.

The first phase of the migration is to remove 1.1 from all client machines, install 2.0, and to ensure that all our 1.1 compiled programs work on machines with only 2.0 installed.

All our 1.1-compiled programs now work on machines with only a 2.0 runtime installed, except ones using oradirect. Using the 1.1 version of oradirect in a 2.0 environment throws an access denied error when you try to open the connection (as detailed back in December 2005).

Is there any way to make the 1.1 version of 3.20 work in a 2.0 environment so that our software will work with machines with either 1.1 or 2.0 installed?

Many thanks
Kevin

Posted: Tue 20 Jun 2006 06:03
by Alexey
You should install OraDirect for .NET 2.0.

Posted: Tue 20 Jun 2006 08:00
by kevinherring
hmmm, very insightful.

Does OraDirect for .NET 2.0 work with .NET 1.1 as well? Because if it doesnt, then it doesnt really help me much!

Posted: Tue 20 Jun 2006 08:23
by Alexey
No, OraDirect for .NET 2.0 doesn't work with .NET 1.1. But you can install both OraDirect for .NET 2.0 and OraDirect for .NET 1.1 at the same time and use them.

Posted: Tue 20 Jun 2006 08:28
by kevinherring
ok, so if I have both installed at the same time, how will it know which version to use at runtime? is there an example of how to accomplish this in some documentation somewhere?
Thanks for your help
kevin

Posted: Tue 20 Jun 2006 11:05
by Alexey
You can compile you projects with Oradirect for .NET 1.1 and deploy them on .NET 2.0.

Posted: Tue 20 Jun 2006 11:14
by kevinherring
no, I cant.

when I compile my .NET 1.1 project with Oradirect 3.2 for 1.1, and then run it on a mchine with only .NET 2.0 installed, I get an 'Access denied' error as detailed here:
http://crlab.com/forums/viewtopic.php?t=2054

are you saying that it is not the case? Has this been fixed with version 3.50?

Posted: Tue 20 Jun 2006 11:45
by Alexey
You should deploy it with assembly from the OraDirect for .NET 2.0

Posted: Tue 20 Jun 2006 12:24
by kevinherring
right, I have tried 3.50 for 1.1 and it now works fine on a machine with only .NET 2.0 installed.
Thanks
Kevin