SQL Script errors "Unable to create automation object 'Scripting.FileSystemObjec
I tried all of the standard stuff like wmi, permissions,
etc...
However, the machine simply couldn't use anything that
called the 'Scripting.FileSystemObject' function. I used
a sample script that I downloaded from the Technet website
that simply enumerates drive letters on the target
machine. The script bombed out on the first line of code
because the first line called Scripting.FileSystemObject.
What's funny is that all other WMI related activities were
working without error, only this class had an issue.
I dug deap on this one for a few hours and basically
reversed engineered how all of the dlls talked to one
another using a MS developer utility called "depends.exe".
Bottom line was that I needed to reinstall the MS
Scripting engine. Somehow the registry settings were
removed from the System and some but not all of the files
for the engine were also missing.
Thanks for the reply,
Paul
confers no rights.
please add "Use of
specified at
|