Jump to content

Microsoft VBScript runtime error


rojanu

Recommended Posts

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?

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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