Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript Error Codes & Description Help

Status
Not open for further replies.

Phylum

IS-IT--Management
Aug 16, 2004
36
US
Every now and again I run into some coding error and although Err.Number reveals a number, Err.Description is blank.

For instance, on my machine while trying to add two printers via VBScript it failed with error code -2147023095. Although the description was blank, a quick search revealed that the objects (printers) could not be found. I expected this error because those print queues didn't exist so I wasn't concerned.

However when another machine ran the same script, nearly every printer fails with error code -2147024773. I've Google'd that error but I have yet to find any useful results.

So the question is really two fold:
1) What does error code -2147024773 indicate?
2) Is there a site that has a catalog displays every [possible] error code? (like -2147016657 which usually meants there's a problem with the password due to some kind of requirement)
 
Technet or MSDN should be able to identify those codes for you.

I hope that helps.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top