Troubleshooting
Problem
This technote identifies how you can uninstall Sybase SQL Anywhere when it is not completely removed after an initial attempt to remove it.
Cause
Sybase SQL Anywhere does not appear in the Currently Installed Programs list because the Microsoft® Windows® Registry Key that is used to display the program in the Currently Installed Programs list has been removed or corrupted.
Once this registry key is missing or corrupted, you would not able to uninstall Sybase SQL Anywhere until its registry key is fully restored.
Resolving The Problem
In this situation, you can still use the Sybase SQL Anywhere service since Windows makes no reference to this registry key when you start up or stop the Sybase service. However, you need to put back the program under the Currently Installed Programs list in Add or Remove Programs tool before you can uninstall Sybase SQL Anywhere.
Perform the following to resolve this issue
Note: This solution contains information about modifying the system registry. Before making any modifications to the Microsoft® Registry Editor, it is strongly recommended that you make a backup of the existing registry. For more information describing how to back up the registry, refer to the Microsoft Knowledge Base article 256986 http://support.microsoft.com/kb/256986.
- Verify your Sybase SQL Anywhere Server version.
For Sybase SQL Anywhere version 5.5.x:
Bring up a DOS Windows and cd into the following directory:
C:\Program Files\Rational\SqlAny50\win32
Issue the dbsrv50.exe -v command and the product version is displayed in a small message box.
For Sybase SQL Anywhere version 8.x:
Bring up a DOS Windows and cd into the following directory:
C:\Program Files\Rational\SqlAnywhere8\win32
Issue the dbsrv8.exe -v command and the product version is displayed in a small message box.
- Reinstall the correct version of Sybase SQL Anywhere according to step 1.
- The reinstall should be able to restore the Sybase SQL Anywhere Server Windows registry key.
To verify this:
Select Start > Run..., enter regedt32 and then click OK
In Registry Editor, locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Each key listed under Uninstall in the left pane of Registry Editor represents a program that is displayed in the Currently installed programs list of the Add or Remove Programs tool. To determine which key represents Sybase SQL Anywhere Server program, click the key, and then view the following values in the details pane on the right:
DisplayName: The value data for the DisplayName key is the name that is listed in Add or Remove Programs.
UninstallString: The value data for the UninstallString key is the program that is used to uninstall the program.
- Now you can uninstall Sybase SQL Anywhere as needed.
If SQL Anywhere is still not listed under the Currently installed programs list in the Add or Remove Programs tool, you need to restart Windows.
Was this topic helpful?
Document Information
More support for:
Rational Common Components
Software version:
2003.06.00, 2003.06.01, 2003.06.10, 2003.06.12, 2003.06.13, 2003.06.14, 2003.06.15
Operating system(s):
Windows
Document number:
579337
Modified date:
16 June 2018
UID
swg21169988