MSCEPErrorId property gets the ID for additional error information related to a failed Network Device Enrollment Service (NDES) specification. Any method call on the parent object resets this property.
This property is read-only.
[out] LONG *pVal
A value that specifies the error condition. If
fails, it might set additional error information to one of the following values. SetAccountInformation
The account name is incorrectly formatted. Examples of correct account names include
Domain \\ Account or Account @ Domain.
Setup cannot find the domain or computer that the account belongs to.
Setup is unable to check the membership of the account.
The account is not a member of the local machine IIS_IUSRS group.
Setup failed to retrieve the DNS name of the computer.
The account must be a domain account. A local account is not allowed.
Setup cannot find the IPsec (Offline request) certificate template in Active Directory.
Setup cannot find the security information for the IPsec (Offline request) certificate template in Active Directory.
Setup cannot detect whether the account can read information about the IPsec (Offline request) certificate template in Active Directory.
The account cannot read information about the IPsec (Offline request) certificate template in Active Directory. Please make sure this is a domain account.
Setup is unable to find the account.
Setup is unable to obtain security information for the account.
If the method succeeds, it returns
If the method fails, it returns an
HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values. Requirements
Minimum supported client
Minimum supported server
Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]
IID_IMSCEPSetup is defined as 4f7761bb-9f3b-4592-9ee0-9a73259c313e