Troubleshooting
Problem
When db2 is upgraded using "work with existing" option on windows machine it may fail.
Symptom
When db2 is upgraded using "work with existing" option, sometimes users get the following message:
"The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installtion package'DB2 Server.msi' in the box below"
Cause
The windows installer is failing to remove the files from the previous DB2 version installation.
Diagnosing The Problem
On checking the install.log file created by DB2, you will find the below error :
Error 1714. The older version of DB2 Server Edition - <Instance_name> cannot be removed. Contact your technical support group.
This is a windows installer problem. Basically the windows installer is failing to remove
the files from the previous db2 version installation. You get the above error/s because the files (.msi files) cannot be accessed by the installer or there is a file conflict, or some other unknown reason.
Resolving The Problem
There are several(3) methods to resolve this problem :
1> The first is to download a copy of the DB2 Server Edition Fix Pack that matches your existing/current db2level, and unzip it. Then start your new version upgrade procedure as before (no change) i.e. start install using "work with existing" option.
When you get to the problem again i.e. when you see the message :
"The feature you are trying to use is on a network resource that is unavailable.
Click OK to try again, or enter an alternate path to a folder containing the installtion package'DB2 Server.msi' in the box below"
...click on 'Browse' and navigate to 'DB2 Server.msi' from this newly downloaded, unzipped Fix Pack image of existing db2
version. and click 'OK'. Normally 'DB2 Server.msi' can be found in :
Drive:\[Path_To_Extracted_Installation_image]\ESE\db2\Windows\DB2 Server.msi
This will allow the Windows Installer to uninstall current version and new version installation will continue. This method is suggested as we have seen previously that the windows installer cannot find the "DB2 Server.msi" file in original existing db2 version path. So we are ask you to download same db2 software version and use the 'DB2 Server.msi' from there to workaround the problem.
2> If option 1 does not work, you can try the "Program Install and Uninstall Troubleshooter" provided by Microsoft to fix problems that block software's from being upgraded/installed or removed. It can be found in below link (at the time of this document creation):
https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed
This utility will just fix the problems which hold up the uninstalltion/removal of the products in windows. Use this tool to look for and remove 'DB2 Server Edition' from Windows Installer list of products. This will not actually uninstall DB2 version. It merely works around the error.
3> Finally, you can try to uninstall current DB2 version prior to installing a new DB2 version.
Refer below technote for detailed instructions :
DB2 upgrade in Windows by uninstalling old version and installing new version
http://www.ibm.com/support/docview.wss?uid=swg21988490
Note that uninstalling old DB2 version will not remove any local databases. They can be catalogued and upgraded once you have installed higher DB2 version.
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21988489