Shoutbox

[Problem] Scripting.FileSystemObject init error - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Problem] Scripting.FileSystemObject init error (/showthread.php?tid=86704)

[Problem] Scripting.FileSystemObject init error by mynetx on 10-17-2008 at 12:20 PM

code:
var objFile = new ActiveXObject("Scripting.FileSystemObject");
This line of code is what WLMStatus is using to get access to some fundamental functions to access files and folders.
Today, I got a report that this line is causing trouble on a computer of some WLMStatus user. What his debug window outputs is:
quote:
El script está iniciándose
El script está cargado y listo
Función llamada: OnEvent_Initialize
Error: Automation server can't create object (código: -2146827859).
       Archivo: _main.js. Línea: 16.
La función OnEvent_Initialize devolvió un error. Código: -2147352567
Subsequently, I looked a bit around to find a solution for that. What I came up with was some thread at MSDN telling to set the owner of the HKCR\Scripting.FileSystemObject hive to 'Administrators'. I told the guy to follow the steps and helped him with it, but the result is still the same and the object cannot be initialized properly.
RE: [Problem] Scripting.FileSystemObject init error by matty on 10-17-2008 at 12:48 PM

matty's reply to Screenshot Sender 5 Development News