Questions tagged [applicationpoolidentity]
90 questions
59
votes
3 answers
IIS application using application pool identity loses primary token?
(This is a question about a vague problem. I try to present all relevant data, in the hope that someone has helpful information; apologies for the long description.)
Our web app
We have a .NET 4 web application running in IIS 7.5 accessing Active…

MarnixKlooster ReinstateMonica
- 9,640
- 14
- 54
- 108
40
votes
3 answers
Get the Application Pool Identity programmatically
How do I get the identity of an appPool programmatically in C#? I want the application pool user and NOT the user who is currently logged in.

p0enkie
- 665
- 2
- 11
- 22
35
votes
6 answers
How to Grant permission to user on Certificate private key using powershell?
Certificate is already installed on machine. Now I want to give read permission on PrivateKey of Certificate to application user.

Balpreet Patil
- 1,644
- 2
- 16
- 16
31
votes
8 answers
Cannot read configuration file due to insufficient permissions
I am trying to test my Web Service on an IIS instance on my local machine before I promote to a windows server 2008 environment. I get this when I attempt to browse to the service. I have created a custom application pool that this service will…

SoftwareSavant
- 9,467
- 27
- 121
- 195
30
votes
2 answers
IIS how to determine ApplicationPoolIdentity account?
Windows Server 2008 R2 Standard ( Microsoft Windows Server Version 6.1 Build 7601: Service Pack 1 )
IIS 7.5.7600.16385
In IIS Manager for a Site assigned an ApplicationPool with Identity = ApplicationPoolIdentity ( the default setting ) , how to…

BaltoStar
- 8,165
- 17
- 59
- 91
14
votes
5 answers
IIS 7.5 application pool uses wrong %APPDATA% for custom user as identity
I want my MVC3 web application to access %APPDATA% (e.g. C:\Users\MyUsername\AppData\Roaming on Windows 7) because I store configuration files there. Therefore I created an application pool in IIS with the identity of the user "MyUsername", created…

AndiDog
- 68,631
- 21
- 159
- 205
11
votes
1 answer
Difference between connect as and application pool identity
In IIS 7.5 there is a "Connect as" option under basic settings, for the application. What is this? Why was this feature introduced? Will it override the application pool identity or the other way around?

developer747
- 15,419
- 26
- 93
- 147
11
votes
1 answer
Delete Windows user created by IIS ApplicationPoolIdentity?
I was having problems booting into my user profile in Windows 10 and was able to fix this by setting RefCount to 0 for my user profile in this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-xxx
I…

superfly71
- 521
- 1
- 7
- 21
8
votes
1 answer
IIS AppPool to SQL Server permissions (adding NT AUTHORITY\IUSR)
I've got a new server build running Windows Server 2012 R2, IIS 8.5 (inc. ClassicASP feature) and SQL Server 2014 Express. I want to use Application Pool Identity to connect to the database. The database is set to "Windows Authentication Mode".
My…

Chris Walsh
- 3,423
- 2
- 42
- 62
8
votes
1 answer
'DefaultAppPool' is being automatically disabled due to a series of failures
Having a tough time with this issue. Not sure how but my ApplicationPoolIdentity is broken.
Currently I'm running IIS 8 on Windows 8 with Visual Studio 2012. When trying to debug an application from Visual Studio, or just navigating to the site in a…

Matt
- 6,264
- 10
- 54
- 82
7
votes
4 answers
Running command from ASP.NET App Pool Identity
I am running an executable process from my ASP.NET application when a user clicks a button. This process creates several files and serves them up to the end-user. I can't really see what the process is or isn't doing, but it didn't work until I…

daniel
- 155
- 3
- 10
6
votes
2 answers
Programmatically assigning IIS Application Pool Identity "users" to Groups
The Problem: When new IIS Application Pools are created and set to use the Application Pool Identity for permissions, I am unsure how to add those identities to User Groups such as Administrator or Performance Counter Users.
The Background: I'm…

jmsb
- 4,846
- 5
- 29
- 38
6
votes
1 answer
DirectoryServicesCOMException 80072020 From IIS 7.5 Site Running Under ApplicationPoolIdentity
I'm having trouble hunting down an issue where an ASP.NET 4 application fails while trying to get user groups for a given user from time to time. The application pool associated with this application is setup to run under…

JStinebaugh
- 149
- 2
- 8
4
votes
2 answers
IIS Manager Freezes when trying to list App Pools or Sites
I have just updated the password against an application pool identity for my user in IIS to bring it up to date, as per:
HTTP Error 503, the service is unavailable
However now when I run IIS Manager it freezes when I try to list the application…

PRS
- 741
- 1
- 7
- 27
4
votes
1 answer
trying to give permissions to specific app pool identity in IIS 7.5 - "object cannot be found"
Usually, I give access rights to folder based on the app pool identity, in the format of:
IIS AppPool\[app_pool_name]
On this particular new server, when I try to edit the security settings of a folder, and add that particular user entry, I am…

Karl Cassar
- 6,043
- 10
- 47
- 84