Hi,

I've got a Windows 2003 Server running some websites, and
some of them uses FSO which they call from ASP3.

The problem is that after I ran Windows Update last
thursday, it installed the MS03-039 patch, and afterwards
the following code didn't work:

Set fso = CreateObject("Scripting.FileSystemObject")

IIS6 simply returns:

Microsoft VBScript runtime error '800a0046'
Permission denied: 'CreateObject'

First i thought it could be some sort of file permission
problem with the IUSR user and the files that FSO should
be working with. But why whould it then fail when creating
the FSO object, and not when I try to open a file ?

I have also tried various solutions I've found on the net,
but none has worked.

Has anyone experienced similar problems, maybe with other
patches?

...or has anyone got ANY idea on what the problem is ?

Re: FSO problems with MS03-039 by Michael

Michael
Thu Sep 18 20:33:18 CDT 2003

Rune P. Olsen wrote:
> Hi,
>
> I've got a Windows 2003 Server running some websites, and
> some of them uses FSO which they call from ASP3.
>
> The problem is that after I ran Windows Update last
> thursday, it installed the MS03-039 patch, and afterwards
> the following code didn't work:
>
> Set fso = CreateObject("Scripting.FileSystemObject")
>
> IIS6 simply returns:
>
> Microsoft VBScript runtime error '800a0046'
> Permission denied: 'CreateObject'


Check the effective permissions on scrrun.dll (which implements FSO)...


>
> First i thought it could be some sort of file permission
> problem with the IUSR user and the files that FSO should
> be working with. But why whould it then fail when creating
> the FSO object, and not when I try to open a file ?
>
> I have also tried various solutions I've found on the net,
> but none has worked.
>
> Has anyone experienced similar problems, maybe with other
> patches?
>
> ...or has anyone got ANY idea on what the problem is ?

--
Michael Harris
Microsoft.MVP.Scripting

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

System Administration Scripting Guide - samples 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: FSO problems with MS03-039 by Rune

Rune
Fri Sep 19 03:00:38 CDT 2003

Hello Michael

Thanks for your quick reply !

I've allready tried to manually set permission for=20
scrrun.dll, but it didn't work. What I did was that I gave=20
IUSR_<machinename> and IWAM_<machinename> read and read &=20
execute permissions, but it didn't change anything.

After I read your mail, I tried to check it through the=20
effective permissions tab, and it said that both users had=20
the read and read & execute permissions set.

Just in case I can tell you that I got version 5.6.0.8515=20
of scrrun.dll installed.

Got any other ideas on what the problem could be? Or maybe=20
a way to debug it in a way, so I don't just get=20
the "permission denied" error message?

/Rune


>-----Original Message-----
>Rune P. Olsen wrote:
>> Hi,
>>
>> I've got a Windows 2003 Server running some websites,=20
and
>> some of them uses FSO which they call from ASP3.
>>
>> The problem is that after I ran Windows Update last
>> thursday, it installed the MS03-039 patch, and=20
afterwards
>> the following code didn't work:
>>
>> Set fso =3D CreateObject("Scripting.FileSystemObject")
>>
>> IIS6 simply returns:
>>
>> Microsoft VBScript runtime error '800a0046'
>> Permission denied: 'CreateObject'
>
>
>Check the effective permissions on scrrun.dll (which=20
implements FSO)...
>
>
>>
>> First i thought it could be some sort of file permission
>> problem with the IUSR user and the files that FSO should
>> be working with. But why whould it then fail when=20
creating
>> the FSO object, and not when I try to open a file ?
>>
>> I have also tried various solutions I've found on the=20
net,
>> but none has worked.
>>
>> Has anyone experienced similar problems, maybe with=20
other
>> patches?
>>
>> ...or has anyone got ANY idea on what the problem is ?
>
>--=20
>Michael Harris
>Microsoft.MVP.Scripting
>
>Windows 2000 Scripting Guide
>Microsoft=AE Windows=AE2000 Scripting Guide
>http://www.microsoft.com/technet/scriptcenter/scrguide/sag
sas_overview.asp
>
>System Administration Scripting Guide - samples scripts
>http://www.microsoft.com/downloads/release.asp?
ReleaseID=3D38942
>
>WSH 5.6 documentation download
>http://www.microsoft.com/downloads/details.aspx?
FamilyId=3D01592C48-207D-4BE1-8A76-
1C4099D7BBB9&displaylang=3Den
>
>.
>