I use WSH and VBScript to run login scripts in our
network. They run fine on everyone's machine expect
one. On that one, I get the error,

ActiveX component can't create object: 'Scripting:
FileSystemObject'. Code 800A01AD

everytime there's a call in my code to

Set oFSO = CreateObject("Scripting.FileSystemObject")

I've reinstalled the most recent build of WSH 5.6 and
rebooted, but no difference. All the Google hits I find
are related to ASP programming (which I'm unfamiliar
with) and don't seem to be related to my issue.

Can anyone point me to what might be wrong/different with
this one machine that I can research and correct? Thanks.

Re: Error: "ActiveX component can't create object" by Michael

Michael
Tue Jan 20 19:56:33 CST 2004

MBell wrote:
> I use WSH and VBScript to run login scripts in our
> network. They run fine on everyone's machine expect
> one. On that one, I get the error,
>
> ActiveX component can't create object: 'Scripting:
> FileSystemObject'. Code 800A01AD
>
> everytime there's a call in my code to
>
> Set oFSO = CreateObject("Scripting.FileSystemObject")
>
> I've reinstalled the most recent build of WSH 5.6 and
> rebooted, but no difference. All the Google hits I find
> are related to ASP programming (which I'm unfamiliar
> with) and don't seem to be related to my issue.
>
> Can anyone point me to what might be wrong/different with
> this one machine that I can research and correct? Thanks.


What happens when you manually register scrrun.dll (run-> regsvr32
scrrun.dll)? Does it fail and if so, with what error message?


--
Michael Harris
Microsoft.MVP.Scripting

Windows 2000 Scripting Guide
Microsoft® Windows®2000 Scripting Guide
http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp

TechNet Script Center Sample Scripts
http://www.microsoft.com/downloads/release.asp?ReleaseID=38942

WSH 5.6 documentation download
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en


Re: Error: "ActiveX component can't create object" by Matthew

Matthew
Wed Jan 21 14:53:49 CST 2004

Worked perfectly to resolve the problem -- thanks.

"Michael Harris (MVP)" <mikhar at mvps dot org> wrote in message
news:uPsFxG83DHA.560@TK2MSFTNGP11.phx.gbl...
> MBell wrote:
> > I use WSH and VBScript to run login scripts in our
> > network. They run fine on everyone's machine expect
> > one. On that one, I get the error,
> >
> > ActiveX component can't create object: 'Scripting:
> > FileSystemObject'. Code 800A01AD
> >
> > everytime there's a call in my code to
> >
> > Set oFSO = CreateObject("Scripting.FileSystemObject")
> >
> > I've reinstalled the most recent build of WSH 5.6 and
> > rebooted, but no difference. All the Google hits I find
> > are related to ASP programming (which I'm unfamiliar
> > with) and don't seem to be related to my issue.
> >
> > Can anyone point me to what might be wrong/different with
> > this one machine that I can research and correct? Thanks.
>
>
> What happens when you manually register scrrun.dll (run-> regsvr32
> scrrun.dll)? Does it fail and if so, with what error message?
>
>
> --
> Michael Harris
> Microsoft.MVP.Scripting
>
> Windows 2000 Scripting Guide
> Microsoft® Windows®2000 Scripting Guide
> http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp
>
> TechNet Script Center Sample Scripts
> http://www.microsoft.com/downloads/release.asp?ReleaseID=38942
>
> WSH 5.6 documentation download
>
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en
>