Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Microsoft VBScript runtime error


  • Please log in to reply
3 replies to this topic

#1
rojanu

rojanu

    Newbie

  • Member
  • 36 posts
  • Joined 16-July 04
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?


How to remove advertisement from MSFN

#2
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag
Not really, but are you seeing any COM or DCOM errors in your eventlog?
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#3
rojanu

rojanu

    Newbie

  • Member
  • 36 posts
  • Joined 16-July 04
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.



#4
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag
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.
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users