When logging into CA Asset Portfolio Management (APM) 12.9 or 14.x, the ITAMClient.log displays the error:
FATAL CA.Common.Web - Error initializing EEM (eiam.config) System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. To create the source, you need permission to read all event logs to make sure that the new source name is unique. Inaccessible logs: Security.
Issue has also been observed in later ITAM releases (17.3 and higher)
Release: 12.9 and higher
Component: IT Asset Manager
1. Grant permission to create a custom event log. Follow either 1a. or 1b., depending on your operating system:
For Windows 7 or Windows Server 2008
- Log on to the web server as an administrator
- Click Start, click Run, type regedit, to open registry editor
- Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security",
right click on security and select permissions.
- Click add, select "Network Service", give it read permissions and click "OK"
- Navigate to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog"
- Right-click Eventlog, and then click Permissions. The Permissions for Eventlog dialog box appears.
- Click Advanced. The Advanced Security Settings for Eventlog dialog box appears.
- In the Name column, double-click the Users group. The Permission Entry for Eventlog dialog box appears.
Select to ‘Show advanced permissions’
- Select the ‘Set Value’ and ‘Create Subkey’ check box, and then click OK.
- Exit the Registry Editor
b. For Windows 8 or Windows Server 2012
- Log on to the web server as an administrator
- Click Start, click Run, type regedit, to open registry editor
- Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security",
right click on security and select permissions.
- Click add, select "Network Service", give it read permissions and click "OK"
- Navigate to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security"
- Right-click Security, and then click Permissions. The Permissions for Eventlog dialog box appears.
- Click Advanced. “The Advanced Security Settings for Security” dialog box appears.
- Select the principal “Network Service” (if not available then create); and click on “Edit”
and a new pop up appears with the title “Permission Entry for Security”.
- Ensure that Applies to “This key and Subkeys” is selected.
- Click on “Show Advanced Permissions”
- Select the ‘Set Value’ and ‘Create Subkey’ check box, and then click OK.
- Exit the Registry Editor
2. Update the APM Web server web.config file to point to the full path name of the eiam.config file:
3. Update the APM Application server web.config file to point to the full path name of the eiam.config file:
4. Restart IIS (iisreset)