Troubleshooting
Problem
Starting Db2 LUW V12.1, Visual Studio 2022(VS2022) is added to the list of supported versions for Db2 clients and applications that use the IBM Database Add-Ins for Visual Studio (VSAI).
While installing VSAI for VS2022, a message pops up asking for an upgrade if there is already an installation of VSAI for VS2019.
This causes the installation to either fail or to be incorrect. Subsequently, required VSAI functionality fails to work.
This causes the installation to either fail or to be incorrect. Subsequently, required VSAI functionality fails to work.
Similarly, if VSAI for VS2022 is already installed and user tries to install VSAI for VS2019(or below Visual Studio versions), similar issues exist.
These errors happen as VSAI for VS2019 (and below versions) is a 32-bit installer and VSAI for VS2022 is a 64-bit installer.
Symptom
This issue is observed in IBM Database Add-ins for Visual Studio of version 12.1
Environment
Windows
Resolving The Problem
Install only 32-bit or 64-bit VSAI.
32-bit VSAI installer is for VS2019 and below. 64-bit installer is only for VS2022.
If VSAI for VS2022 is installed and VSAI for VS2019 is needed,
then uninstall VSAI for VS2022 and install VSAI for VS2019. Similarly, if VSAI for VS2022 is installed and VSAI for VS2019/VS2017 is needed, uninstall the VSAI for VS2022 and then install VSAI for VS2019
then uninstall VSAI for VS2022 and install VSAI for VS2019. Similarly, if VSAI for VS2022 is installed and VSAI for VS2019/VS2017 is needed, uninstall the VSAI for VS2022 and then install VSAI for VS2019
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"","label":""},"Business Unit":{"code":"","label":""},"Product":{"code":"SS2FT2","label":"IBM Database Add-Ins for Visual Studio"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
12 December 2024
UID
ibm17178500