Questions tagged [application-pool]

Application pools allow you to isolate your applications from one another, even if they are running on the same server.

An Application Pool can contain one or more applications and allows us to configure a level of isolation between different Web applications. For example, if you want to isolate all the Web applications running in the same computer, you can do this by creating a separate application pool for every Web application and placing them in their corresponding application pool. Because each application pool runs in its own worker process, errors in one application pool will not affect the applications running in other application pools.

882 questions
9
votes
1 answer

SQL Server Login for IIS APPPOOL on different machines - same domain

I want to reference these links because they highlight my issue Create SQL Server Login for IIS APPPOOL - IIS and SQL Server on different machines and Configuring ASP.NET MVC app's IIS 7.5 Application Pool identity as login on SQL Server 2008 R2.…
jmzagorski
  • 1,135
  • 18
  • 42
9
votes
1 answer

How often should we recycle application pool?

How often should we recycle application pool ? Someone told me that I should recycle the application pool every 24 hours ? Why do I need to recycle the application pool ? What kinds of benefits will we get?
kevin
  • 13,559
  • 30
  • 79
  • 104
9
votes
2 answers

IIS App Pool Identity vs. Windows Account

What are the pro's and con's of using the built in App Pool Identity in IIS as opposed to specifying a Windows account? For SQL Server if you want to connect from a .Net application using Windows Authentication I presume that if I use an App Pool…
Remotec
  • 10,304
  • 25
  • 105
  • 147
8
votes
1 answer

Application Pool Start Mode: OnDemand vs AlwaysRunning, which the best?

I have always been using OnDemand start mode for my application pools but I have recently heard about AlwaysRunning mode which allows an ASP.NET application deployed to IIS to be available immediately after deployment. It seems like enabling this…
Willy
  • 9,848
  • 22
  • 141
  • 284
8
votes
1 answer

Launching a asp.net core app using VS2017 creates new Application Pool

Each time when I launch the debugger for an ASP.net core application under local IIS from VS2017, a new Application pool is created. I wish the application to remain stable under the DefaultAppPool 'Identity', and not create a new one. Where is this…
Vincent
  • 931
  • 7
  • 20
8
votes
1 answer

..ActiveDirectory.ActiveDirectorySite.getComputerSite().name returns Error: ActiveDirectoryObjectNotFoundException

Thanks for viewing: Hopefully this not only helps others later, but helps us now! (and please be gentle, this my first Question on Stack though I've been a long time user/contributor) Situation (SNAFU) An AD Site aware application is pulling some…
xQbert
  • 34,733
  • 2
  • 41
  • 62
8
votes
2 answers

"Entry has already been added" - Two Separate App Pools

I am creating a test version of an existing production site. A virtual web service application exists inside the site - and the two web configs have the same connection string. There are no "clear" tags in the production web configs and the site and…
Spodgy
  • 302
  • 5
  • 13
8
votes
1 answer

AppPool shuts itself down

This is an issue I've had twice now over a couple of months. Basically I've gotten a call saying our site is giving an HTTP error 503, I take a look at the IIS7 Manager and notice the AppPool has switched itself off. I restart it and it continues…
Rock250
  • 121
  • 1
  • 1
  • 6
8
votes
1 answer

Setting a website's application pool in IIS using Powershell

I need a Powershell command that does the equivalent of adding a website in IIS, but need the bindings for the "Application pool": So far I can add a website doing this: New-Item iis:\Sites\swmarket -bindings…
Kasper Hansen
  • 6,307
  • 21
  • 70
  • 106
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
1 answer

Is giving each of my customers a dedicated database and app pool scaleable?

Our team is currently brainstorming a product idea that's been on the tip of our tongues for a couple of years now. It'll most probably be an ASP.NET MVC web application hosted on the WISC stack (Windows, IIS, SQL Server, C#)... Ideally we'd love to…
Daniel Upton
  • 5,561
  • 8
  • 41
  • 64
7
votes
2 answers

Getting IIS application pool recycle events to be logged in the Windows Event Log

I am trying to get IIS 7 application pool recycle, start, stop, etc. events to be logged to the Windows Event Log. I followed the steps outlined in this article but didn't have any success. I restarted the application pool and nothing was logged in…
stackoverflowuser
  • 22,212
  • 29
  • 67
  • 92
7
votes
3 answers

User rights needed for IIS 7.5 application pool user (domain user, not the AppPoolIdentity)

We have an active directory domain (let's call it foodomain) and a domain user account (foodomain\fooAppPoolUser) used for the IIS application pool identity. We want to run the app pool under this user account and not under Network Service or the…
7
votes
4 answers

IIS 7.5: problem with Application pool

several time in day my Application pool is stopped with following error: Application pool 'MyApplicationPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool. How to resolve…
Andrei Andrushkevich
  • 9,905
  • 4
  • 31
  • 42
7
votes
0 answers

Error while trying to query Active Directory - Requires App Pool recycling

I have the following chunk of code in a .NET web app used to query AD for a user using (DirectoryEntry de = new DirectoryEntry(ldap)) { using (DirectorySearcher adSearch = new DirectorySearcher(de)) { adSearch.Filter =…
Grant
  • 81
  • 3