473,473 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

running aspnet_wp.exe under a different user

I need to be able to run the aspnet_wp.exe process under a domain user,
rather than the ASPNET user.

I've tried changing the impersonation settings in the web.config and
machine.config files, but that doesn't seem to do change anything.

How do I configure my machine to get this process to run under a different
user account?

Many thanks,
Bruce Whitehouse
Nov 18 '05 #1
2 1951
Hi Bruce,

What you want to do is edit the <processModel> element in the
machine.config file. However, you need to be careful that you don't edit
the comment section by mistake. The easiest way to do this is to open the
machine.config file and then search for "<processModel" without the quotes.
That will take you to the right place. After you do that, enter your user
as DOMAIN\User in the userName field (and make sure the domain is all
upper-case) and enter your password. You will then need to run IISRESET
from a command prompt to restart the process under the new settings.

Jim Cheshire, MCSE, MCSD [MSFT]
Microsoft Product Support Services
ASP.NET Developer Support

This post is provided "as-is" and confers no rights.
--------------------
From: "Bruce Whitehouse" <sk*******@yahoo.co.uk>
Subject: running aspnet_wp.exe under a different user
Date: Tue, 30 Dec 2003 14:28:50 -0000
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <eU**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: cpc3-stoc6-3-0-cust99.midd.cable.ntl.com 81.108.152.99
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP10.
phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:198837
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I need to be able to run the aspnet_wp.exe process under a domain user,
rather than the ASPNET user.

I've tried changing the impersonation settings in the web.config and
machine.config files, but that doesn't seem to do change anything.

How do I configure my machine to get this process to run under a different
user account?

Many thanks,
Bruce Whitehouse


Nov 18 '05 #2
Thanks Jim

I think it may have been the IISRESET that I hadn't done!

Bruce
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Matt Sollars | last post by:
Hi all. I'm having a nasty problem. A client's website was originally written with classic ASP. They requested a new portion of the site that was deemed a perfect candidate for ASP.NET. So, .NET...
5
by: Ken Barrett | last post by:
I apologize in advance for cross-posting, but I have noted that others have experienced similar issues and was hoping that someone could help. Briefly, I am working on an ASP.NET content...
8
by: JR | last post by:
I have a Web server running on Windows XP. On this Web server, I have a Web site configured with its home directory on a network share. In the Web site, there's a virtual folder pointing to a local...
2
by: Akoni | last post by:
Hello, I have written a ASP.NET (C#) front-end that connects to an unmanaged win32 c++ dll. A few problems occur: -I am unable to use the IO stream (write to an event log) from the dll....
10
by: Mandy | last post by:
I have a command line tool that I would like to run from my .NET web application using System.Diagnostics.ProcessStartInfo. I run cmd.exe with this and then pass the command to run the tool as an...
9
by: mareal | last post by:
I have noticed how the thread I created just stops running. I have added several exceptions to the thread System.Threading.SynchronizationLockException System.Threading.ThreadAbortException...
2
by: chortler | last post by:
I've changed bit in the processmodel section in the machine.config file, so that the aspnet_wp process runs under this new account (See below) I've run IISREST and now visual studio wouldn't allow...
0
by: Rusty Shackleford | last post by:
I am having trouble getting my ASP.Net applications and sessions to stay running. At first, I thought it was my lack of understanding of ASP.Net, or the fact that I am using Anonymous...
1
by: O'O | last post by:
There are many asp.net applications running on my server. Sometimes aspnet_wp process consumes 100% of processor time. I want to find out, which application causes this. There is probably a bug in...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.