Code 80072030 - There is no such object on the server
Troubleshooting Code 80072030 - There is no such object on the server
A wild guess, there is a mistake in the reference to your OU. However, to hedge my bets, it could be any
Active Directory object that causes the error 80072030 :
Introduction to Error Code 80072030
This is an easy error code to troubleshoot. Code 8007xxxx indicates a problem with Windows, or Active Directory. For example, you are trying create a child object inside an OU, but that parent OU does not exist.
The script does not execute as you hoped, instead you get a WSH error message. One possibility is that you are trying to create an Active Directory object but there is no parent container, example misspelled OU.
Check Active Directory User's and Computers, perhaps there is no such parent OU, therefore you cannot create the child OU.
Use Active Directory Users and Computers to check that the OU exists. Create the parent container object so that the new child object will have a 'home'. Note: The error is in Line 5. In the case of runtime errors you can use this work around. Add this line: On Error Resume Next.
Example 1 of Script Error: There is no such object on the server
Error there is no OU called BulkIT, consequently, you cannot create the SalesMan contact object.
Solution create the parent OU = BulkIT
'Script to Create a new Contact account in the BulkImport OU
SolarWinds have produced three Active Directory add-ons. These free utilities have been approved by Microsoft, and will help to manage your domain by:
The OU specified by strContainer is mis-spelt, or the comma is missing. Such errors are common in scripts with very long Active Directory paths.
' Set AccountControl.vbs
' End of VBScript Example
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:
See More Windows Update Error Codes
If you like this page then please share it with your friends