scripts only runs wehn AppPool Identity = LocalSystem

scripts only runs wehn AppPool Identity = LocalSystem

am 25.04.2006 22:03:01 von JohnC

Our dev team is in the midst of a code migration from old ASP to PHP. In the
process of migration, we need an ASP form to run a php-win command in the
background. This works fine if the AppPool identity is LocalSystem, but the
php-win quietly does nothing if I set AppPool identity to NetworkService. I
can't get the debugger to tell me what error message it is throwing.

I have enabled File Auditing which showed no failed acces to needed files in
c:\windows or the PHP dir.

What else can I do to track this? Any other likely premissions that
NetworkService lacks compared to Local System?

Thanks for assistance.

Re: scripts only runs wehn AppPool Identity = LocalSystem

am 25.04.2006 22:22:18 von someone

You will have to debug the php-win command itself.

The issue sounds like it is not an access denied to the command binary file
(no Failures on File Audit) but rather missing privileges, and unless you
know what privileges the binary needs, you will have to figure it out
through debugging. either configure the php-win command to launch using a
debugger, or use Image File Execution Options.

NetworkService has so few privileges compared to LocalSystem; it is useless
to ask for "any other likely permissions" because the correct answer depends
on what the failing command needs, not whatever is popular.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"John C" wrote in message
news:522D5C16-C65A-4C26-AE15-0F8FDF818CEA@microsoft.com...
> Our dev team is in the midst of a code migration from old ASP to PHP. In
> the
> process of migration, we need an ASP form to run a php-win command in the
> background. This works fine if the AppPool identity is LocalSystem, but
> the
> php-win quietly does nothing if I set AppPool identity to NetworkService.
> I
> can't get the debugger to tell me what error message it is throwing.
>
> I have enabled File Auditing which showed no failed acces to needed files
> in
> c:\windows or the PHP dir.
>
> What else can I do to track this? Any other likely premissions that
> NetworkService lacks compared to Local System?
>
> Thanks for assistance.