Questions tagged [applicationpoolidentity]
90 questions
1
vote
1 answer
IIS 7.5 ApplicationPoolIdentity Permissions
I am having some difficulty setting the permissions for the AppPoolIdentity correctly.
The error shown in the Failed Request Logs is:
ModuleName="IIS Web Core", Notification="BEGIN_REQUEST", HttpStatus="500", HttpReason="Internal Server Error",…

jbeverid
- 291
- 7
- 23
1
vote
0 answers
IIS Application Pool identity for proxy access - unhelpful error message
I have a service wrapping an external API. When deploying to our test IIS7 servers I need to have the application pool run as a domain account with proxy permissions, if I don't then I get the following…

Matt Rowett
- 266
- 1
- 18
1
vote
0 answers
Import cert in ApplicationPool identity Personal certificate store
Is there a way to import a certificate into the Personal store of the ApplicationPool identity in Windows?
The problem started from the way Azure websites make use of imported certificates. As correctly explained in this blog post -…

Stefan Iancu
- 143
- 1
- 2
- 13
1
vote
1 answer
Run app pool under domain user
Seems easy enough... I go to my application pool advanced settings and set the service to run under an account that has access to the network files I need to read. I know I have entered the username and password correctly because it doesn't even let…

DonnieDarko
- 93
- 1
- 14
1
vote
1 answer
Sharepoint - Impersonating App Pool Identity
I'm using the SPSecurity.RunWithElevatedPrivileges.... allow to "impersonate" the super user "sharepoint\system" account.
Is the "sharepoint\system" account is an alias of the app pool identity of the current web application?
So if my app pool…

Angelo
- 13
- 2
1
vote
4 answers
How to get Window user Identity? "User.Identity.Name" returning App Pool Identity instead of Windows User
I have a MVC 4 application deployed on IIS. I am trying to get the Windows user in code as following but its reuring me the App Pool user.
Code Inside Controller to get User:
User.Identity.Name
I have tried to chaged the App pool Identity to…

Scorpion
- 4,495
- 7
- 39
- 60
1
vote
2 answers
HttpWebRequest 401 error
I am developing an intranet application (Windows Authentication) which download report stream from reporting server then save it as a file. When I ran it in debuging mode it works fine。 The code is as below:
HttpWebRequest req =…

Jim Yu
- 531
- 5
- 4
1
vote
0 answers
IIS7.5 / Win7 64-bit DefaultAppPool has insufficient security rights 503 Error
I have a simple web page I'm trying to publish with IIS 7.5 using the DefaultAppPool. I add the site using the IIS Services Manager and select the DefaultAppPool. When I access the page using "Browse Web site" I get a 503 Error "Service…

Mike Bryant
- 81
- 6
1
vote
0 answers
IIS accessing resources via logged in user and NOT pool identity. How to enforce POOL Identity
I have a classic asp website with following IIS settings:
1. windows authentication is enabled
2. Impersonation is disabled, so are anonymous and basic authentication
3. App pool is .Net 4.0, Integrated pipeline with a custom Process model identity.…

user2220985
- 11
- 1
1
vote
0 answers
Does asp.net application/site impersonation affect other apps/sites on pool
I have a problem authorizing some sql server databases, so in order to fix it tempory I use impesonate configuration section in my ASP.NET application.
And everything works for me, this…

Johnny_D
- 4,592
- 3
- 33
- 63
1
vote
1 answer
STS Keyset does not exist even after MMC permission granted
My application creates virtual directories on the fly as well as application pool for the STS-enabled web applications that run in those virtual directories. The application pools run under the ApplicationPoolIdentity account (IIS…

Fola
- 121
- 2
- 8
0
votes
2 answers
Best method to connect IIS 7.5 Web Forms to SQL Server
I'm upgrading an ASP.NET 4.0 app from:
Windows Server 2003 and IIS 6
to:
Windows Server 2008 and IIS 7.5
This app is based on ASP.NET Web Forms and not MVC. I currently use SQL authentication, but I would like to follow best practices in the new…

jtherkel
- 139
- 1
- 1
- 11
0
votes
2 answers
Setup IIS Identity in an ApplicationPool using cmd or ps1
is there an example of setting the Identity in IIS for a Custom User in an Application Pool using command line or powershell script?

kyriakak71
- 13
- 1
- 4
0
votes
0 answers
How to get Windows loggedin username in IIS defind anonymous + windows authentication
framework : ASP.NET CORE 2.2 as web-api
Server: IIS-10 (Windows server 2016)
I need to work with both WindowsAuthentication and AnonymousAuthentication.
I have these 2 options to somehow get the Windows LoggedIn User:
User.Identity.Name;…

Guy E
- 1,775
- 2
- 27
- 55
0
votes
1 answer
How to make IIS use AppPool Identity to connect to SQL Server instead of NT Authority\IUSR?
I've set up a Windows Server 2019 box with IIS, PHP 8 and SQL Drivers, and SQL Server 2019 Express. I created a test PHP application and corresponding application pool, then set up a test database. When trying to connect using sqlsrv_connect, I…

DHoll
- 1
- 4