Previous Topic: Filter CA ControlMinder Endpoints by PropertyNext Topic: SAM Feeder Polling Inconsistent In a Load Balancing Environment


Cannot Create Endpoints Due to Incorrect Parameter

Symptom:

When creating an endpoint definition using SAM, you may receive an error that indicates that "The parameter is incorrect."

Error: [General] Endpoint cannot be created in this endpoint type. 
Details: Endpoint hostname: The parameter is incorrect.

The error is logged in the AgentManager.log as shown:

10/05/2013 12:37:54 acctmgr 2712> Using WMI ...
10/05/2013 12:37:54 acctmgr 2712> Connecting to host <HOST> using account CORP \UserName ...
10/05/2013 12:37:55 acctmgr 2712> Failed IWbemLocator::ConnectServer, 
                                  Error = 0x80070005 (Access is denied.)
10/05/2013 12:37:55 acctmgr 2712> Failed ValidateEndpointWMI, Trying ValidateEndpointLDAP ...
10/05/2013 12:37:55 acctmgr 2712> Using LDAP ...
10/05/2013 12:37:55 acctmgr 2712> Connecting to host <HOST> using account CORP \UserName ...
10/05/2013 12:37:59 acctmgr 2712> Failed IADsComputer::get_OperatingSystem, 
                                  Error = 0x80070057 (The parameter is incorrect.)
10/05/2013 12:37:59 acctmgr 2712> Failed to validate endpoint HOSTNAME - 
                                  The parameter is incorrect.
10/05/2013 12:37:59 acctmgr 2712> 'validate ep' ret FAIL

Solution:

The error is caused by a malformed username. In the above error log, note the misplaced space between the domain name and the slash in front of the username, “CORP \UserName”.

The correct formatting of the account name is “CORP\UserName”. Make certain to remove trailing spaces from the domain name, and remove leading spaces from the user name.