Last post Feb 22, 2021 09:12 PM by Lannie
Feb 22, 2021 12:25 PM|Yash24|LINK
I get the Unable to load DLL 'db2app64.dll': The specified module could not be found
error while trying to connect DB2 using IBM.Data.DB2.Core nuget package. Works fine in a console application, But not in asp.net. Did you find the fix for this?
Feb 22, 2021 02:04 PM|PatriceSc|LINK
If you have both a 64 bit and 32 bit version make sure to install the one that matches your app. To be on the safe side you could show
https://docs.microsoft.com/en-us/dotnet/api/system.environment.is64bitprocess?view=net-5.0 to make 100% sure if your app runs in 32 bit or 64 bit mode.
Feb 22, 2021 02:57 PM|Yash24|LINK
Thanks for your reply. My application and the IBM.Data.DB2.Core.dll are both 64-bit only.
Feb 22, 2021 09:12 PM|Lannie|LINK
In the ASPP app, make a reference to the specific location of the dll