Frequently asked questions about IBM DB .NET Core Provider
vish2017 270005003V Visits (27247)
This section lists the commonly asked questions about IBM Data Server Provider support for .NET Core.
Q: Where can I find the latest package?
The package can be downloaded from http
For macOS[version 1.2 and above only]
Q: What other installation is needed to use this package with IBM Database servers?
This package is self contained and no other installation is needed to connect to IBM Database servers.
Q: Does it requires a license?
There is no additional license needed for this package. Your existing DB2Connect v11.1 license should work.
Q: I have a valid DB2Connect license, how I can configure this package using the same license?
After downloading the package to your project, locate the NuGet installation folder and copy the license file inside the sub directory as follows.
If the .nuget is located inside %USERS DATA% folder then,
is the location where the license needs to be copied.
From version 1.2 for bin deployment scenarios, the applications needs to be built after license file copy.
Q: Where can I find more information on using the package on macOS[applicable to version 1.2 and above]
Q: If I am using the earlier release of the package and created an application with it, what are the changes I should do to my application to use the latest package?
Q: There were requests for common package for all three platforms. What happened to that?
Q: Can I use this package with full.NET framework applications?
Q. Which tool is available for reverse engi
From version 1.2, the reverse engineering is supported. An example is listed here.
Q: Do I need to do any additional configuration for using this package?
Yes, on Linux:
Q: How can I validate the package for connectivity?
A sample .NET Core Console application can validate both runtime and EF package. The instructions for creating a sample DB2 .NET Core Console application is here.
Q: Does this package affect my existing IBM dsdriver installation?
It will not impact any existing dsdriver installation since the package installation is specific to the application. However, for this package to work, there should not be any other DB2Connect installations present in the system.
Q: What I have to do to port my application which is written in .NET Core on Windows to Linux macOS?
The windows specific IBM package needs to be uninstalled and linux/macOS package needs to be installed.
Q: What type of .NET applications I can write(64 bit / 32 bit / ANYCPU)?
Currently, only 64 bit applications are supported.
Q: Which Visual Studio Versions I can use to develop my .NET Applications with this package?
You can use Visual Studio 2017 to develop .NET Core applications with this package.
Q: Is there a testconn40 type utility to validate connectivity?
Currently there is no tool to validate the connectivity. People who are familiar with dsdriver installation, need to be aware that there is no installation involved here and deployment is per application basis and not a machine wide installation.
Q: Can I use the package downloaded for my .NET Core application for Windows to create .NET Core applications for Linux/macOS?
No, There are different packages for .NET Core applications for Windows , Linux and macOS. The package for Linux ends with -lnx and -osx for macOS. However, it is possible to create application which needs to run on Linux or macOS on windows environment using platform specific packages and run the application on Linux or macOS.
Q: I have found an issue or want a new feature to be included, where can I report it?
You can either post a question here for simple queries or contact IBM Technical support incase a new feature support is needed.
Q: I have installed the package to my application but I am not seeing any IBM .NET dlls in GAC, what is the issue?
The package installation is specific to the application and there will not be any machine wide installation.
Q: I am a developer writing .NET application for Windows and planning to use this package with Linux. Is there anything specific I need to know?
You have to use OS specific packages and if you are writing an application targeting Linux, then you need to pick the package which has -lnx in the name.
Q: I am getting the following error:
An unexpected exception has occurred in Process: 244 Function: AESEncryptADONET (Encryption Info)
The .NET driver is unable to find the compatible GSKit. Set the Path(on Windows) or LD_LIBRARY_PATH(on Linux) to the <Pac
Q: I am getting error while publishing the IBM DB2 .Net Core application to Bluemix environment. Where can I find more information on known issues and solutions?
There are some known issues and solution listed in this link.