Re: IISFAQ WSH Script in/to DotNet
From: M. Zeeshan Mustafa (zeeshan_at_no-spm.please.zeeshan.net)
Date: 06/28/04
- Next message: Kevin Spencer: "Re: View Source of a Modal Dialog"
- Previous message: Kevin Spencer: "Re: Graphs"
- In reply to: Benjamin Bittner: "Re: IISFAQ WSH Script in/to DotNet"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Jun 2004 20:21:44 +0500
you can add ASPNET user in Administrators user group on
your computer or start ASPNET woker process as SYSTEM
so it will have full system level previliges.
if you want to start ASPNET worker process as SYSTEM
read this http://www.aspheute.com/artikel/20020123.htm (german)
article for introduction and replace "machine" to "system" in userName
attribute in <processModel .../> .... reboot your pc.
doing this will make asp.net worker process to start as system user.
--
Hope this helps,
Zeeshan Mustafa, MCSD
"Benjamin Bittner" <benjamin_bittner[a_t]nospam.web.de> wrote in message
news:ubEMM3RXEHA.1152@TK2MSFTNGP09.phx.gbl...
> Hallo Zeeshan
> "M. Zeeshan Mustafa" <zeeshan@no-spm.please.zeeshan.net> schrieb im
> Newsbeitrag news:%23VPJN0RXEHA.3476@TK2MSFTNGP10.phx.gbl...
> > Benjamin,
> >
> > I tested the script at my side, and it works fine.
> >
> > I beleive that the user which is running aspnet worker
> > process (ASPNET usually) does not have permissions to add
> > new web site (or do whatever admin task).
> >
> > If you are impersonating identity of web your user, then the
> > user may does not have permissions to run script.
> >
> > This happens because when you do process.start('c:\...\blah.vbs')
> > it runs in the security context of the user which is doing
process.start.
> >
> Can i start a process with another user?
> Or is there another workaround?
>
> regards benjamin
>
>
- Next message: Kevin Spencer: "Re: View Source of a Modal Dialog"
- Previous message: Kevin Spencer: "Re: Graphs"
- In reply to: Benjamin Bittner: "Re: IISFAQ WSH Script in/to DotNet"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|