Domain validation fails during User setup, but doesn't give the failure reason


 Product(s):APM Implementation and Performance Management
 Version(s):All
 Environment:N\A
 Area:N/A
 Subarea:N\A

Problem

When adding an APM user, the user's domain can be validated using, the Validate button. When validation fails, the message is a generic:

"The entered network domain name xxxxxx.com is invalid."

Knowing the reason for the validation failure is requied to correct the problem.

Solution

A domain can be validated using "ntest /sc_verify:xxxxxx.com", in an Elevated command prompt window (e.g., Run as Administrator).

If successful, the result will show as "NERR_Success". Otherwise, the result should be one of the following:

Return code
Description
DNS_ERROR_INVALID_NAME_CHAR
The DNS name contains an invalid character. This error is returned if the NameType parameter specified is NetSetupDnsMachine and the DNS name in the lpName parameter contains an invalid character.
DNS_ERROR_NON_RFC_NAME
The DNS name does not comply with RFC specifications. This error is returned if the NameType parameter specified is NetSetupDnsMachine and the DNS name in the lpName parameter does not comply with RFC specifications.
ERROR_DUP_NAME
A duplicate name already exists on the network.
ERROR_INVALID_COMPUTERNAME
The format of the specified computer name is not valid.
ERROR_INVALID_PARAMETER
A parameter is incorrect. This error is returned if the lpName parameter is NULL or the NameType parameter is specified as NetSetupUnknown or an unknown nametype.
ERROR_NO_SUCH_DOMAIN
The specified domain does not exist.
ERROR_NOT_SUPPORTED
The request is not supported. This error is returned if a remote computer was specified in the lpServer parameter and this call is not supported on the remote computer.
NERR_InvalidComputer
The specified computer name is not valid. This error is returned if the NameType parameter specified is NetSetupDnsMachine or NetSetupMachine and the specified computer name is not valid.
NERR_InvalidWorkgroupName
The specified workgroup name is not valid. This error is returned if the NameType parameter specified is NetSetupWorkgroup and the specified workgroup name is not valid.
RPC_S_SERVER_UNAVAILABLE
The RPC server is not available. This error is returned if a remote computer was specified in the lpServer parameter and the RPC server is not available.
RPC_E_REMOTE_DISABLED
Remote calls are not allowed for this process. This error is returned if a remote computer was specified in the lpServer parameter and remote calls are not allowed for this process.

 

See Also

N/A



 Original Author:Roy Suthers