Computer Performance, Logon Scripts

Code Error 800A0005 - Invalid procedure call or argument

Troubleshooting Code 800A0005 - Invalid procedure call or argument

This error code, 80071392 occurs when you mistype a keyword or method.  Code 800A0005 is an easy error to solve.

Introduction to Error Code 800A0005

This runtime error, 800A0005 occurs when you execute a VBScript.  My suggestion is that there is a VBScript does not understand a keyword that you are using in your script.Code 800A0005 - Invalid procedure call or argument

The Symptoms You Get 800A0005

The script does not execute as you hoped, instead you get a WSH error message. One possibility is that you are using a WSH object or method that has been misspelled.

The Cause of Error 800A0005

Your VBScript contains an illegal method, probably due to a typing mistake, an extra letter.  Check the spelling of your objects.  Note Source: Microsoft VBScript runtime error.

The Solution

Check the spelling of your variables and methods.  Look for clues particularly the Line: number and check the Char: references.  In the example it is Line 3.  Char : 1.  In this instance the:  'Error: Type mismatch: 'Createbject'' tells us where the mistake is to be found.  In the case of runtime errors you can use this work around.  Add this line: On Error Resume Next.

  ‡

Example of VBScript with 800A0005

Createbject- Missing letter o

Createobject - Corrected, o inserted

' VBScript.
Dim nets
Set nets = Createbject("WScript.Network")
nets.AddWindowsPrinterConnection "\\lucy4\dotty", "Dot Matix"

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:

 

See More Windows Update Error Codes 8004 Series

Error 800A101A8 Object Required   • Error 800A0046   • Error 800A10AD   • Error 800A000D

Error 80048820   • Error 800A0401   • Review of SolarWinds Permissions Monitor

Error 80040E14   • Error 800A03EA   • Error 800A0408   • Error 800A03EE

If you like this page then please share it with your friends

 


 *


Custom Search

Site Home

Solarwinds Network Device MonitorSolarWinds' Free Network Device Monitor

Thus utility makes it easy to check the health of a router or firewall.  Check the real-time performance and availability statistics for any device on your network.

Get started with an extensive collection of "out-of-the-box" monitors for popular network devices.  Download your free Network Device Monitor

Author: Guy Thomas Copyright © 1999-2014 Computer Performance LTD All rights reserved.

Please report a broken link, or an error to: