Platform SDK: Active Directory, ADSI, and Directory Services

Errors and Error Trapping

ADSI throws a wide variety of errors, from ADSI-specific to COM-related to standard Win32 errors. This section of the tutorial provides strategies for handling errors in ADSI scripts and helps you make some sense of the different error codes. The following topics are covered: