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

Home Posts Topics Members FAQ

application pool identity question

Tom
When I set my app pool Identity tab to a particular username and password,
I'm prompted for an username and password when I try to access the web site,
but when I have Identity set to 'predefined network service' I'm able to
access my web site without any issues.

I need to have my web sites run as a particular user so in my web.config
files I have:

<identity impersonate="true" userName="domain\testUser"
password="$password$"/>

is this the correct way to do this?

May 29 '07 #1
3 1645
Tom wrote:
When I set my app pool Identity tab to a particular username and password,
I'm prompted for an username and password when I try to access the web site,
but when I have Identity set to 'predefined network service' I'm able to
access my web site without any issues.

I need to have my web sites run as a particular user so in my web.config
files I have:

<identity impersonate="true" userName="domain\testUser"
password="$password$"/>

is this the correct way to do this?
In the properties for the web site, in the Directory Security tab, under
anonymous access, you specify what user account is used for anonymous
browsing.

--
Göran Andersson
_____
http://www.guffa.com
May 29 '07 #2
your application pool account needs access to the virtual directories
and the asp.net temp folders.

-- bruce (sqlwork.com)

Tom wrote:
When I set my app pool Identity tab to a particular username and password,
I'm prompted for an username and password when I try to access the web site,
but when I have Identity set to 'predefined network service' I'm able to
access my web site without any issues.

I need to have my web sites run as a particular user so in my web.config
files I have:

<identity impersonate="true" userName="domain\testUser"
password="$password$"/>

is this the correct way to do this?
May 29 '07 #3
it does. The account being used has access to everything, we just changed
the password and now we're prompted everytime we try to access a web page.

"bruce barker" <no****@nospam.comwrote in message
news:On**************@TK2MSFTNGP03.phx.gbl...
your application pool account needs access to the virtual directories and
the asp.net temp folders.

-- bruce (sqlwork.com)

Tom wrote:
>When I set my app pool Identity tab to a particular username and
password, I'm prompted for an username and password when I try to access
the web site, but when I have Identity set to 'predefined network
service' I'm able to access my web site without any issues.

I need to have my web sites run as a particular user so in my web.config
files I have:

<identity impersonate="true" userName="domain\testUser"
password="$password$"/>

is this the correct way to do this?

May 30 '07 #4

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

Similar topics

2
by: Shishir | last post by:
Hi Guys, Scenario:: I am using appplication pool identity to connect my database through ASP.NET application. the identity is domain identity and i am giving as domainname\username and with its...
1
by: Matt | last post by:
I'm trying to get the DefaultAppPool to run under the domain account that we're using for the IIS6 anonymous account, but keep getting the following warning in the system event log: The identity...
1
by: Gerry | last post by:
I have an ASP.NET application installed on a Windows Server 2003 computer. MS Excel is also installed on the same computer. And yes, the application makes use of Excel. When the Application Pool...
4
by: pjdouillard | last post by:
Hello all, Here is the context of my problem: We have an ASP.NET 1.1 application that has its own application pool setup and that runs under the identity of a NT Domain service account (this...
1
by: bertoheep | last post by:
Hello all, We're trying to migrate to Windows 2003 Server from Windows 2000 and have run into problems with our DCOM permissions not being properly authenticated against our application server. ...
0
by: mcrose | last post by:
I couldn't find anything that quite described this in whole, so I'm going to post it since from what I can tell about 400 other people have posted asking how to do this and received partial answers...
0
by: jordo | last post by:
I have an asp.Net app that connects to the WSS 2.0 list web service. I'm having issues with IIS and .Net configurations and hope that someone can help me. My ideal configuration is: asp.net:...
2
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have 2 web servers on which I am running a .net version 2 application, both of which I want to use an application pool with the same domain user's id and password to tighten security. I have...
3
by: Joseph Geretz | last post by:
I created a new Application Pool for my ASP.NET application since I want it to run under a specific user identity with privileges to access the application database. (I don't want to grant access...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
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: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.