ITAM: Unable to upgrade from 14.1 to a RU patch or 17.2
search cancel

ITAM: Unable to upgrade from 14.1 to a RU patch or 17.2


Article ID: 130762


Updated On:


CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager


Attempts to upgrade ITAM/APM on a rollup patch or to a release such as 17.2 may error out during the Binary update step, being told:

 "Failed to apply CA APM Patch, refer logs for more details":

In the T6EE494_20190408_160730.log files, one may notice when searching for "WriteIIS7ConfigChanges" (entries of interest in bold)

MSI (s) (A4!40) [16:07:52:498]: PROPERTY CHANGE: Adding WriteIIS7ConfigChanges property. Its value is '**********'. 

MSI (s) (A4!40) [16:07:52:498]: Doing action: WriteIIS7ConfigChanges 

Action start 16:07:52: WriteIIS7ConfigChanges. 

Action ended 16:07:52: WriteIIS7ConfigChanges. Return value 1. 

MSI (s) (A4:F8) [16:08:26:781]: Executing op: ActionStart(Name=WriteIIS7ConfigChanges,Description=Installing Config Keys and Values,) 

MSI (s) (A4:F8) [16:08:26:781]: Executing op: CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) 

MSI (s) (A4:68) [16:08:26:783]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIE8AA.tmp, Entrypoint: WriteIIS7ConfigChanges 

WriteIIS7ConfigChanges: Error 0x80070002: Site not found for create application 

WriteIIS7ConfigChanges: Error 0x80070002: Failed to configure IIS application. 

WriteIIS7ConfigChanges: Error 0x80070002: WriteIIS7ConfigChanges Failed.

CustomAction WriteIIS7ConfigChanges returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) 

MSI (s) (A4:F8) [16:08:27:547]: Executing op: ActionStart(Name=WriteIIS7ConfigChanges,Description=Installing Config Keys and Values,) 

Property(S): WriteIIS7ConfigChanges = ********** 

Property(S): MsiHiddenProperties = CommitIIS7ConfigTransaction;CommitMetabaseTransaction;ConfigureIIs7Exec;ConfigureIIsExec;DBADMINPASS;DBADMINUSER;DBPASSWORD;DBSERVERLOGINPW;ExecutePostInstallsetup;RollbackIIS7ConfigTransaction;RollbackMetabaseTransaction;StartIIS7ConfigTransaction;StartMetabaseTransaction;UAPMBATCHPWD;UAPMREPORTING;WriteIIS7ConfigChanges;WriteMetabaseChanges 



CA IT Asset Manager 14.1, upgrading to a rollup patch or to 17.x


Examining HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CA\Shared\ITAM in registry reveals two entries are missing:  WebSiteName and WebSitePort.


To address the issue, please do the following, ensuring you have a full backup/snapshot of the environment before proceeding.

The following instructions introduce a change to your registry. Please be sure to take all precautions and backups prior to modifying your registry.

1. Go to Application Server
2. Run 'regedit'
4. Right Click on ITAM and export to save the registry key (just a backup)
5. Add the following registry keys.
a. WebSiteName
b. WebSitePort

To add them Right click in the right-pane - select New -> String Value
Enter: Name: WebSiteName Hit Enter.
Right click on WebSiteName. Select Modify.
Enter Value Data: APMWebsite Click OK.

Do the same to add the next parameter too.
Name: WebSitePort
Value: 99

After introducing the above registry entries and saving the changes, re-test the RU or 17.2 patch update.