Troubleshooting Code 80005002 – An unknown ADSI user object was requested
The biggest clue is in the first five numbers: 80005 means that this is an ADSI error.
This error is also referred to as E_ADS_INVALID_USER_OBJECT
The Cause of Code Error 80005002
Your VBScript contains an incorrect LDAP reference to a user. This is most likely a typing mistake, maybe an extra letter. Check each domain objects in the script.
The Solutions
Check the spelling of your LDAP objects.
Another solution would be to to introduce error correcting code using E_ADS_INVALID_USER_OBJECT for example:
Const E_ADS_INVALID_USER_OBJECT = &h80005002
Example of Code Error 80005002
At present, I do not have an example script, so if you are getting an error please send in your script and I will try and help you solve the problem.
Variation of this error: 80005001 and 80005003
Guy Recommends: WMI Monitor and It’s Free!
Windows Management Instrumentation (WMI) is one of the hidden treasures of Microsoft operating systems. Fortunately, SolarWinds have created the WMI Monitor so that you can examine these gems of performance information for free. Take the guess work out of which WMI counters to use for applications like Microsoft Active Directory, SQL or Exchange Server.
Download your free copy of WMI Monitor
Do you need additional help?
- For interpreting the WSH messages check Diagnose 800 errors.
- For general advice try my 7 Troubleshooting techniques.
- See master list of 0800 errors.
- Codes beginning 08004…
- Codes beginning 08005…
- Codes beginning 08007…
- Codes beginning 0800A…
Give something back?
Would you like to help others? If you have a good example of this error, then please email me, I will publish it with a credit to you:
If you like this page then please share it with your friends