Jump to content

Microsoft VBScript runtime error


Recommended Posts

Posted

When I run a simple VBscript I get an error on

Set WshShell = CreateObject("WScript.Shell")

Code:   0x80020009
Microsoft VBScript runtime error
ActiveX component can't create object: 'WScript.Shell'
line = 15, col = 6 (line is offset from the start of the script block).
Error returned from property or method call.

I have tried

regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
regsvr32.exe wshom.ocx
regsvr32.exe msxml3.dll
regsvr32.exe -i shell32.dll

then I get

The module ‘wshom.ocx’ was loaded but the call to DllRegisterServer failed with error code OOO4O2O1.

Any Ideas?


Posted

No the only error I have is

The description for Event ID 4373 from source WindowsScriptComponents cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Windows

Not enough storage is available to process this command.

  • 2 weeks later...
Posted

Well, that is the error message. What specifically is the vbscript doing? The script host has limited virtual memory available to run in, so it might depend on what the script is doing and how large the data set it may be creating is, etc.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...