Hello!

I have for a long time used the line:

Set FS=Server.CreateObject("Scripting.FileSystemObject")
in my ASP code. Suddenly one day this week it stopped working and I now get
the error:

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed

If I add the IUsr_<ComputerName> to the Administrators group everything
works fine. What could be wrong?

(If this is not the right newsgroup, please advise me where to write this
question).



Regards

Morten Fagermoen

Re: Server.CreateObject("Scripting.FileSystemObject") by Chris

Chris
Sun Nov 20 10:54:31 CST 2005

Check the file SCRRUN.DLL in \Windows\System32 folder

Check the permissions something may have changed it. Do you use Norton
Antivirus on the machine?, it use to have an option that disabled the use of
this DLL.

My XP Box

Administrators : Full Control
Power Users : Read & Execute
System : Full Control
Users : Read & Execute
--

Cheers

Chris

Chris Crowe [MVP 2005/2006]
http://blog.crowe.co.nz

------------------------------------------------
"MoF" <morten@fagermoen.com> wrote in message
news:OjDPjYb7FHA.1416@TK2MSFTNGP09.phx.gbl...
> Hello!
>
> I have for a long time used the line:
>
> Set FS=Server.CreateObject("Scripting.FileSystemObject")
> in my ASP code. Suddenly one day this week it stopped working and I now
> get the error:
>
> Server object error 'ASP 0177 : 800401f3'
> Server.CreateObject Failed
>
> If I add the IUsr_<ComputerName> to the Administrators group everything
> works fine. What could be wrong?
>
> (If this is not the right newsgroup, please advise me where to write this
> question).
>
>
>
> Regards
>
> Morten Fagermoen
>
>
>



Re: Server.CreateObject("Scripting.FileSystemObject") by MoF

MoF
Sun Nov 20 13:21:13 CST 2005

My system is a Windows Server 2003 SP1 and I have not installed any hotfixes
to it since the 9th of November (KB896424) and it didn't stop working until
the 15th. I tried to uninstall this last patch as well but with the same
result.

I have also checked the MS article "Default permissions and user rights for
IIS 6.0" (http://support.microsoft.com/?id=812614) and my server is correct
according to the articel.

It is only when I add the IUsr_<ComputerName> account to Administrators it
works, if I add it to Power Users which also have a lot of rights in
%WinDir%\System32 (scrrun.dll) I get the same error.

And finally I don't have an anti virus system that blocks the use of this
functionality. (I even disabeled it just to be sure).

Regards

Morten Fagermoen


"Chris Crowe [MVP 2005/2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
message news:%23PwjVMf7FHA.956@TK2MSFTNGP10.phx.gbl...
> Check the file SCRRUN.DLL in \Windows\System32 folder
>
> Check the permissions something may have changed it. Do you use Norton
> Antivirus on the machine?, it use to have an option that disabled the use
> of this DLL.
>
> My XP Box
>
> Administrators : Full Control
> Power Users : Read & Execute
> System : Full Control
> Users : Read & Execute
> --
>
> Cheers
>
> Chris
>
> Chris Crowe [MVP 2005/2006]
> http://blog.crowe.co.nz
>
> ------------------------------------------------
> "MoF" <morten@fagermoen.com> wrote in message
> news:OjDPjYb7FHA.1416@TK2MSFTNGP09.phx.gbl...
>> Hello!
>>
>> I have for a long time used the line:
>>
>> Set FS=Server.CreateObject("Scripting.FileSystemObject")
>> in my ASP code. Suddenly one day this week it stopped working and I now
>> get the error:
>>
>> Server object error 'ASP 0177 : 800401f3'
>> Server.CreateObject Failed
>>
>> If I add the IUsr_<ComputerName> to the Administrators group everything
>> works fine. What could be wrong?
>>
>> (If this is not the right newsgroup, please advise me where to write this
>> question).
>>
>>
>>
>> Regards
>>
>> Morten Fagermoen
>>
>>
>>
>
>



Re: Server.CreateObject("Scripting.FileSystemObject") by David

David
Sun Nov 20 23:37:55 CST 2005

Please do not multi-post.

KB812614 has no relevance because we are talking about the ACL of
SCRRUN.DLL.

What does the following command return:
CACLS %SYSTEMROOT%\System32\SCRRUN.DLL

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"MoF" <morten@fagermoen.com> wrote in message
news:uLW3peg7FHA.1188@TK2MSFTNGP12.phx.gbl...
My system is a Windows Server 2003 SP1 and I have not installed any hotfixes
to it since the 9th of November (KB896424) and it didn't stop working until
the 15th. I tried to uninstall this last patch as well but with the same
result.

I have also checked the MS article "Default permissions and user rights for
IIS 6.0" (http://support.microsoft.com/?id=812614) and my server is correct
according to the articel.

It is only when I add the IUsr_<ComputerName> account to Administrators it
works, if I add it to Power Users which also have a lot of rights in
%WinDir%\System32 (scrrun.dll) I get the same error.

And finally I don't have an anti virus system that blocks the use of this
functionality. (I even disabeled it just to be sure).

Regards

Morten Fagermoen


"Chris Crowe [MVP 2005/2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
message news:%23PwjVMf7FHA.956@TK2MSFTNGP10.phx.gbl...
> Check the file SCRRUN.DLL in \Windows\System32 folder
>
> Check the permissions something may have changed it. Do you use Norton
> Antivirus on the machine?, it use to have an option that disabled the use
> of this DLL.
>
> My XP Box
>
> Administrators : Full Control
> Power Users : Read & Execute
> System : Full Control
> Users : Read & Execute
> --
>
> Cheers
>
> Chris
>
> Chris Crowe [MVP 2005/2006]
> http://blog.crowe.co.nz
>
> ------------------------------------------------
> "MoF" <morten@fagermoen.com> wrote in message
> news:OjDPjYb7FHA.1416@TK2MSFTNGP09.phx.gbl...
>> Hello!
>>
>> I have for a long time used the line:
>>
>> Set FS=Server.CreateObject("Scripting.FileSystemObject")
>> in my ASP code. Suddenly one day this week it stopped working and I now
>> get the error:
>>
>> Server object error 'ASP 0177 : 800401f3'
>> Server.CreateObject Failed
>>
>> If I add the IUsr_<ComputerName> to the Administrators group everything
>> works fine. What could be wrong?
>>
>> (If this is not the right newsgroup, please advise me where to write this
>> question).
>>
>>
>>
>> Regards
>>
>> Morten Fagermoen
>>
>>
>>
>
>




Re: Server.CreateObject("Scripting.FileSystemObject") by MoF

MoF
Mon Nov 21 01:54:14 CST 2005

Here is the output from cacls.exe:

c:\>cacls \windows\system32\scrrun.dll
c:\windows\system32\scrrun.dll BUILTIN\Administrators:F
BUILTIN\Power Users:R
NT AUTHORITY\SYSTEM:F
BUILTIN\Users:R



Morten


"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:%23LCFdAm7FHA.2152@TK2MSFTNGP10.phx.gbl...
> Please do not multi-post.
>
> KB812614 has no relevance because we are talking about the ACL of
> SCRRUN.DLL.
>
> What does the following command return:
> CACLS %SYSTEMROOT%\System32\SCRRUN.DLL
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> //
> "MoF" <morten@fagermoen.com> wrote in message
> news:uLW3peg7FHA.1188@TK2MSFTNGP12.phx.gbl...
> My system is a Windows Server 2003 SP1 and I have not installed any
> hotfixes
> to it since the 9th of November (KB896424) and it didn't stop working
> until
> the 15th. I tried to uninstall this last patch as well but with the same
> result.
>
> I have also checked the MS article "Default permissions and user rights
> for
> IIS 6.0" (http://support.microsoft.com/?id=812614) and my server is
> correct
> according to the articel.
>
> It is only when I add the IUsr_<ComputerName> account to Administrators it
> works, if I add it to Power Users which also have a lot of rights in
> %WinDir%\System32 (scrrun.dll) I get the same error.
>
> And finally I don't have an anti virus system that blocks the use of this
> functionality. (I even disabeled it just to be sure).
>
> Regards
>
> Morten Fagermoen
>
>
> "Chris Crowe [MVP 2005/2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
> message news:%23PwjVMf7FHA.956@TK2MSFTNGP10.phx.gbl...
>> Check the file SCRRUN.DLL in \Windows\System32 folder
>>
>> Check the permissions something may have changed it. Do you use Norton
>> Antivirus on the machine?, it use to have an option that disabled the use
>> of this DLL.
>>
>> My XP Box
>>
>> Administrators : Full Control
>> Power Users : Read & Execute
>> System : Full Control
>> Users : Read & Execute
>> --
>>
>> Cheers
>>
>> Chris
>>
>> Chris Crowe [MVP 2005/2006]
>> http://blog.crowe.co.nz
>>
>> ------------------------------------------------
>> "MoF" <morten@fagermoen.com> wrote in message
>> news:OjDPjYb7FHA.1416@TK2MSFTNGP09.phx.gbl...
>>> Hello!
>>>
>>> I have for a long time used the line:
>>>
>>> Set FS=Server.CreateObject("Scripting.FileSystemObject")
>>> in my ASP code. Suddenly one day this week it stopped working and I now
>>> get the error:
>>>
>>> Server object error 'ASP 0177 : 800401f3'
>>> Server.CreateObject Failed
>>>
>>> If I add the IUsr_<ComputerName> to the Administrators group everything
>>> works fine. What could be wrong?
>>>
>>> (If this is not the right newsgroup, please advise me where to write
>>> this
>>> question).
>>>
>>>
>>>
>>> Regards
>>>
>>> Morten Fagermoen
>>>
>>>
>>>
>>
>>
>
>
>



Re: Server.CreateObject("Scripting.FileSystemObject") by MoF

MoF
Fri Nov 25 16:02:08 CST 2005

Finally found the solution. The rights on HCR\Scripting.Filesystem was
"corrupted". Thanks to "RegMon"!!!

Morten


"MoF" <morten@fagermoen.com> wrote in message
news:eYnzFDn7FHA.3200@TK2MSFTNGP11.phx.gbl...
> Here is the output from cacls.exe:
>
> c:\>cacls \windows\system32\scrrun.dll
> c:\windows\system32\scrrun.dll BUILTIN\Administrators:F
> BUILTIN\Power Users:R
> NT AUTHORITY\SYSTEM:F
> BUILTIN\Users:R
>
>
>
> Morten
>
>
> "David Wang [Msft]" <someone@online.microsoft.com> wrote in message
> news:%23LCFdAm7FHA.2152@TK2MSFTNGP10.phx.gbl...
>> Please do not multi-post.
>>
>> KB812614 has no relevance because we are talking about the ACL of
>> SCRRUN.DLL.
>>
>> What does the following command return:
>> CACLS %SYSTEMROOT%\System32\SCRRUN.DLL
>>
>> --
>> //David
>> IIS
>> http://blogs.msdn.com/David.Wang
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> //
>> "MoF" <morten@fagermoen.com> wrote in message
>> news:uLW3peg7FHA.1188@TK2MSFTNGP12.phx.gbl...
>> My system is a Windows Server 2003 SP1 and I have not installed any
>> hotfixes
>> to it since the 9th of November (KB896424) and it didn't stop working
>> until
>> the 15th. I tried to uninstall this last patch as well but with the same
>> result.
>>
>> I have also checked the MS article "Default permissions and user rights
>> for
>> IIS 6.0" (http://support.microsoft.com/?id=812614) and my server is
>> correct
>> according to the articel.
>>
>> It is only when I add the IUsr_<ComputerName> account to Administrators
>> it
>> works, if I add it to Power Users which also have a lot of rights in
>> %WinDir%\System32 (scrrun.dll) I get the same error.
>>
>> And finally I don't have an anti virus system that blocks the use of this
>> functionality. (I even disabeled it just to be sure).
>>
>> Regards
>>
>> Morten Fagermoen
>>
>>
>> "Chris Crowe [MVP 2005/2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
>> message news:%23PwjVMf7FHA.956@TK2MSFTNGP10.phx.gbl...
>>> Check the file SCRRUN.DLL in \Windows\System32 folder
>>>
>>> Check the permissions something may have changed it. Do you use Norton
>>> Antivirus on the machine?, it use to have an option that disabled the
>>> use
>>> of this DLL.
>>>
>>> My XP Box
>>>
>>> Administrators : Full Control
>>> Power Users : Read & Execute
>>> System : Full Control
>>> Users : Read & Execute
>>> --
>>>
>>> Cheers
>>>
>>> Chris
>>>
>>> Chris Crowe [MVP 2005/2006]
>>> http://blog.crowe.co.nz
>>>
>>> ------------------------------------------------
>>> "MoF" <morten@fagermoen.com> wrote in message
>>> news:OjDPjYb7FHA.1416@TK2MSFTNGP09.phx.gbl...
>>>> Hello!
>>>>
>>>> I have for a long time used the line:
>>>>
>>>> Set FS=Server.CreateObject("Scripting.FileSystemObject")
>>>> in my ASP code. Suddenly one day this week it stopped working and I
>>>> now
>>>> get the error:
>>>>
>>>> Server object error 'ASP 0177 : 800401f3'
>>>> Server.CreateObject Failed
>>>>
>>>> If I add the IUsr_<ComputerName> to the Administrators group everything
>>>> works fine. What could be wrong?
>>>>
>>>> (If this is not the right newsgroup, please advise me where to write
>>>> this
>>>> question).
>>>>
>>>>
>>>>
>>>> Regards
>>>>
>>>> Morten Fagermoen
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>