Environment
NetIQ AppManager Integration Adapter 2.0
Situation
Product: NetIQ AppManager Integration Adapter -- The installer failed to upgrade NetIQ AppManager Integration Adapter.
In the installation log the following error is presented:
ERROR2012-02-14 02:11:41 ? Upgrade AppManager Adapter : Error - Unable to cast object of type 'System.String' to type 'System.Byte[]'. - at AppManagerAdapterInstallerActions3.Util.UpgradeAppManagerAdapter.Encrypt2(Object pwd, RegistryKey key, String defaultKeyContainer, Byte[] defaultSessionKey, String registryName)
Resolution
Before following this process, please take a full back up of the Registry.
If the NetIQ AppManager Integration Adapter v1.5 was installed on an Aegis 2.1 installation, use the process below:
- From the Aegis server, open the system registry.
- Start -> Run -> Regedit
- Navigate to the following registry path (note: on 32 bit installs the Wow6432Node portion should be excluded)
- HKLM\SOFTWARE\Wow6432Node\NetIQ\AegisIQConnect\providers\IQAM\CCDBs\{database}
- Delete the key named sqlPassword entirely. An empty value will not work, the entire Key should be removed.
- Repeat this process for any database entered under the CCDB's registry key.
- Navigate to the following registry path (note: on 32 bit installs the Wow6432Node portion should be excluded)
- HKLM\SOFTWARE\Wow6432Node\NetIQ\AegisIQConnect\providers\IQAM\QDBs\{database}
- Delete the key named sqlPassword entirely. An empty value will not work, the entire Key should be removed.
- Repeat this process for any database entered under the QBB's registry key.
- Exit the registry.
- Run the NetIQ AppManager Integration Adapter 2.0 upgrade.
If the NetIQ AppManager Integration Adapter v1.5 was installed on an Aegis 2.2+ installation, use the process below:
- From the Aegis server, open the system registry.
- Start -> Run -> Regedit
- Navigate to the following registry path (note: on 32 bit installs the Wow6432Node portion should be excluded)
- HKLM\SOFTWARE\Wow6432Node\NetIQ\AegisIQConnect73\providers\IQAM\CCDBs\{database}
- Delete the key named sqlPassword entirely. An empty value will not work, the entire Key should be removed.
- Repeat this process for any database entered under the CCDB's registry key.
- Navigate to the following registry path (note: on 32 bit installs the Wow6432Node portion should be excluded)
- HKLM\SOFTWARE\Wow6432Node\NetIQ\AegisIQConnect73\providers\IQAM\QDBs\{database}
- Delete the key named sqlPassword entirely. An empty value will not work, the entire Key should be removed.
- Repeat this process for any database entered under the QBB's registry key.
- Exit the registry.
- Run the NetIQ AppManager Integration Adapter 2.0 upgrade.