Code Error  80005001 – An unknown ADSI domain object was requested

Troubleshooting Code 80005001 – An unknown ADSI domain 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_DOMAIN_OBJECT

The Cause of Code Error 80005001

Your VBScript contains an incorrect LDAP reference to a user or a computer.  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.  The line number is a particularly useful guide to your path problem.

Another solution would be to to introduce error correcting code using E_ADS_INVALID_DOMAIN_OBJECT for example:

Const E_ADS_INVALID_DOMAIN_OBJECT= &h80005001

Example of Code Error 80005001

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:  80005002 and 80005003

Solarwinds Free WMI MonitorGuy 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?

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