PC Review


Reply
Thread Tools Rate Thread

application pool identity question

 
 
Tom
Guest
Posts: n/a
 
      29th May 2007
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?



 
Reply With Quote
 
 
 
 
=?ISO-8859-1?Q?G=F6ran_Andersson?=
Guest
Posts: n/a
 
      29th May 2007
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
 
Reply With Quote
 
bruce barker
Guest
Posts: n/a
 
      29th May 2007
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?
>
>
>

 
Reply With Quote
 
Mike
Guest
Posts: n/a
 
      30th May 2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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?
>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! Changed Application Pool Identity Service Unavailable Joseph Geretz Microsoft ASP .NET 3 25th Sep 2008 02:19 AM
Creating an Application Pool with a Domain Account identity =?Utf-8?B?QW50aG9ueSBZb3R0?= Microsoft ASP .NET 1 22nd Aug 2006 09:13 AM
IIS6 Application Pool Identity 'invalid' Matt Microsoft ASP .NET 1 15th Oct 2003 07:45 PM
IIS6 Application Pool Identity Matthieu Nicolescu[Labo .NET] Microsoft C# .NET 0 29th Jul 2003 01:36 AM
IIS6 Application Pool Identity Matthieu Nicolescu[Labo .NET] Microsoft Dot NET 0 29th Jul 2003 01:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:06 PM.