Error Codes 80005 Series
Errors beginning with 80005xxx point to an ADSI error in your VBScript. While the message box calls them ADSI, I think of them as LDAP errors. For example, suppose that you are scripting a user’s properties and you type givename instead of givenName (two nNs), that mistake in the ADSI / LDAP name would generate an 80005xxx error.
Code 80005xxx – ADSI errors
If you cannot find your code 800 error number in my list then, then contact:
General Points with 80005xxx errors
One common thread with this 80005 series is problems with the path statement. Either the server does not exist, or it’s in a different place from that referenced by the script. Another common problem is typing mistakes. Some are obvious, others are subtle, for example extra spaces, or the wrong type of closing bracket.
This Engineer’s Toolset v10 provides a comprehensive console of 50 utilities for troubleshooting computer problems. Guy says it helps me monitor what’s occurring on the network, and each tool teaches me more about how the underlying system operates.
There are so many good gadgets; it’s like having free rein of a sweetshop. Thankfully the utilities are displayed logically: monitoring, network discovery, diagnostic, and Cisco tools. Try the SolarWinds Engineer’s Toolset now!
General Troubleshooting Techniques
Launch ADSI Edit. Once ADSI Edit launches, the secret is connecting to the correct naming context. If you are following a TechNet instruction then pay close attention to whether it says connect to the ‘Domain’ or connect to the ‘Configuration’ container. In the diagram opposite you will also see Schema and RootDSE, they are only rarely used for ADSI Editing. Sorry to harp on, but the classic beginners mistake is connecting to the wrong Naming Context and as a result, being unable to find the required objects and properties.
Once you get started with ADSI Edit notice how the layout is similar to Active Directory Users and Computers, especially the Domain container. Also notice how the Configuration container is like the Sites and Services snap-ins. The big difference is that with ADSI Edit you see many more properties, moreover, each property has dozens of attributes. In fact there are so many obscure attributes that I often tick the box: Show only attributes that have values.
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.
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