Re: IISFAQ WSH Script in/to DotNet

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: M. Zeeshan Mustafa (zeeshan_at_no-spm.please.zeeshan.net)
Date: 06/28/04


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
>
>


Relevant Pages

  • Re: How Bad Is It?
    ... The ASPNET account did not have permissions to multiple files ... Lee used FileMon and RegMon. ... Run them and look for the functions to turn logging on & off, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • ASP.NET process identity does not have read permissions to the global assembly cache.
    ... "Server Application Unavailable ... determined that aspnet_wp.exe is running as ASPNET. ... Verified that the ASPNET user has read permissions to WINNT\assembly ... process identity doesn't have read permissions to the GAC when it does? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP to ASP.NET Error 80070005 (JScript.NET)
    ... Permissions" and "Configuration Permissions" then save. ... COM object working for ASPNET. ... To get it working I had to remove the "Internet Guest Account" ... computer (where manually moving/adding -> restarting didn't work) I ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP.NET process identity does not have read permissions to the global assembly cache.
    ... make sure that the ASPNET account ... The User profile directory is used by the GAC cache lock files and the security ... review the necessary permissions list found at this page: ... "Server Application Unavailable ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Server Application Unavailable
    ... You were right about the FP permissions. ... I have tried logging in as ASPNET with a password ASPNET/aspnet and also ... >> the installation directory allow access to the configured account. ... Go to a command prompt. ...
    (microsoft.public.frontpage.client)