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
36
votes
5 answers

Pros and cons of having dedicated application pools over keeping web applications in one default app pool

What are pros and cons of having dedicated application pools over keeping web applications in one default app pool?
GrZeCh
  • 2,332
  • 8
  • 29
  • 38
34
votes
4 answers

What are optimal settings for Recycling of Application Pools in IIS7 in shared environment?

What are optimal settings for Recycling of Application Pools in IIS7 in a shared environment?
GrZeCh
  • 2,332
  • 8
  • 29
  • 38
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…
29
votes
7 answers

How are people solving app pool recycle issues on deployment with large apps?

Currently after a build/deployment of our app (58 projects, large asp.net MVC 3 front end) takes ~15-20secs to load as it goes through the whole 'recycling the app pool' (release configuration). We do have a web farm if that alters people's answers,…
Terry_Brown
  • 1,408
  • 10
  • 24
25
votes
2 answers

What is the difference between IIS reset and application pool recyle in affecting of cache

I have encountered a weird problem: as far as I know, cache can be cleared by recycling the application pool. However, in a recent project, cache is not cleared in that way. Instead we had to reset IIS to clear the cache. What are the differences…
D.J
  • 2,534
  • 4
  • 28
  • 43
25
votes
1 answer

How to prevent IIS from shutting down Web Site when not in use?

I have a web application hosted under IIS. It is a data warehouse, and during its startup process it requires instantiating a large set of items in memory (takes roughly ~20 minutes to fully set up). Because this website is critical to our company,…
painiyff
  • 2,519
  • 6
  • 21
  • 29
24
votes
3 answers

Create an application pool that uses .NET 4.0

I use the following code to create a app pool: var metabasePath = string.Format(@"IIS://{0}/W3SVC/AppPools", serverName); DirectoryEntry newpool; DirectoryEntry apppools = new DirectoryEntry(metabasePath); newpool =…
jgauffin
  • 99,844
  • 45
  • 235
  • 372
24
votes
2 answers

Why does my IIS7 application pool shutdown after an exception in a DLL called from an ASP.NET page?

I've read the posts ASP.NET application pool shutdown problem and IIS 7.5: problem with Application pool but they didn't answer my question. I've got a C# ASP.NET page that in code-behind instantiates a class from a DLL supplied via the BIN…
Gorgsenegger
  • 7,356
  • 4
  • 51
  • 89
23
votes
3 answers

Application Pool shutting down

Whenever I try to launch a site in the 4.0 App Pool shuts down immediately (if it ever started) an leaves an event in the event log: Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this…
Dennis Burton
  • 3,282
  • 3
  • 23
  • 30
22
votes
1 answer

Difference between an application domain and an application pool?

What is difference between application domain and application pool? I have read many articles regarding these two terminology. but still unable to get proper understanding about them. Please elaborate it with simple description. Thanks
Amit Soni
  • 3,216
  • 6
  • 31
  • 50
22
votes
2 answers

How do I control the AppPool used for deploy through VS & MSDeploy settings

When I build a deploy package for my webapp the package contains an archive.xml file that contains the following:
Kaleb Pederson
  • 45,767
  • 19
  • 102
  • 147
22
votes
3 answers

App pool timeout for azure web sites

is there a way to set the timeout of an app pool of a web-site running under azure sites. I have a site running there and it seems like it needs to spin up again when it has been idle for a while.
kay.one
  • 7,622
  • 6
  • 55
  • 74
19
votes
3 answers

HTTP Error 500.0 on StaticFile when using custom identity for AppPool

I have an MVC4 web application deployed on a Windows 2012 R2 server with IIS 8.5. I configured the Application Pool to run with a custom domain account because the web application needs to call another webservice on the network with Windows…
19
votes
5 answers

Use PowerShell to Create AppPool does not set AppPool Identity

I am attempting to use PowerShell to create an Application Pool in IIS. After searching the web, I created the following test script: Import-Module WebAdministration $siteName = "TestAppPool" $userAccountName =…
18
votes
4 answers

How to tell why an IIS application pool is recycled

Background: I've deployed an ASP.NET MVC 3 app that works on my machine to a shared hosting provider and am discovering some problems that appear to be related to the application pool being recycled. The host has configured recycling to occur under…
Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
1
2
3
58 59