I'm trying to set up an ASP app to control and report on various services
using ADSI on an XP Pro server. The code works as an EXE VB app but doesn't
as an ASP VBScript app. What security context does an ASP app need to
operate in to manipulate system services? Is that actually the problem or is
there some issue in ASP or VBScript that prevents access to the ADSI service
interfaces? (In this case IADsServiceOperations )

TIA,

BGV

Re: Permissions:NT services and ASP? by Tom

Tom
Wed Jul 09 14:56:45 CDT 2003

"BGV" <hvirek@hotmail.com> wrote in message
news:OdZfB4kRDHA.2248@TK2MSFTNGP12.phx.gbl...
> I'm trying to set up an ASP app to control and report on various services
> using ADSI on an XP Pro server. The code works as an EXE VB app but
doesn't
> as an ASP VBScript app. What security context does an ASP app need to
> operate in to manipulate system services? Is that actually the problem or
is
> there some issue in ASP or VBScript that prevents access to the ADSI
service
> interfaces? (In this case IADsServiceOperations )

Try putting that content in a folder that requires permissions and logon
with an account that has admin access.

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserver2003/community/centers/iis/