IBM® Informix® Client Software Development Kit, Version 4.10
Installing the IBM Informix .NET Provider
You can install the IBM® Informix® .NET Provider with the IBM Informix Client Software Development Kit (Client SDK) through a typical or custom installation.
The IBM
Informix .NET Provider installation
registers strong-named assemblies in the Global Assembly Cache (GAC).
If your application is not running in a debugger, the application
automatically finds the assembly that is registered in the GAC. If
you are upgrading .NET applications on 64-bit Windows, you must clear the GAC to load the
new version of the IBM
Informix .NET Provider DLL.
Clear the GAC with the gacutil utility using the
following command:
gacutil /u IBM.Data.Informix
You
can perform this operation before upgrading IBM
Informix .NET
Provider.The locations of the IBM Informix .NET Framework assemblies are shown in the following table:
Framework that the assembly implements | Location |
---|---|
IBM Informix .NET Provider 2.0 Framework | %INFORMIXDIR%\bin\netf20 |
IBM Informix .NET Provider 4.0 Framework | %INFORMIXDIR%\bin\netf40 |
Use the Informix .NET Framework 2.0 Provider for .NET Framework 2.0, 3.0, and 3.5.
Use the Informix .NET Framework 4.0 Provider for .NET Framework 4.0 and 4.5.
Because of security functions in .NET, you must reference
one of these versions instead of the GAC version when you run your
application in a debugger. If you are using Microsoft Visual Studio .NET, complete
the following steps to add the reference:
- In the Solution Explorer window, right-click References.
- Click Browse and
go to the assembly. The file name of the assembly is IBM.Data.Informix.dll.
Select the file from the folder for the version that you want to use.
- %INFORMIXDIR%\bin\netf20
- %INFORMIXDIR%\bin\netf40
- Select the assembly and click Open.
- Click OK.
To verify the version of the .NET assembly file, right-click the file and select Properties.