rojanu Posted June 9, 2011 Share Posted June 9, 2011 When I run a simple VBscript I get an error on Set WshShell = CreateObject("WScript.Shell")Code: 0x80020009Microsoft VBScript runtime errorActiveX 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 triedregsvr32.exe jscript.dllregsvr32.exe vbscript.dllregsvr32.exe wshom.ocxregsvr32.exe msxml3.dllregsvr32.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 More sharing options...
cluberti Posted June 9, 2011 Share Posted June 9, 2011 Not really, but are you seeing any COM or DCOM errors in your eventlog? Link to comment Share on other sites More sharing options...
rojanu Posted June 10, 2011 Author Share Posted June 10, 2011 No the only error I have isThe 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: WindowsNot enough storage is available to process this command. Link to comment Share on other sites More sharing options...
cluberti Posted June 19, 2011 Share Posted June 19, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now