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
10
votes
2 answers

Application pool worker process Idle Time-out Action: Suspend vs Terminate

I have an ASP.NET MVC application deployed on IIS 8.5 in a Web server and I would like to know the differences between these two features for the setting "Idle Time-out action". If process is suspended, are the memory and resources used by the…
Willy
  • 9,848
  • 22
  • 141
  • 284
10
votes
4 answers

ASP.NET/IIS7.5 Writing Log File Not Working (Permissions, UAC, Config., ???)

We're having trouble migrating our ASP.NET applications to Windows Server 2008 R2 x64 and IIS7.5. The problem is that our ASP.NET apps write log files, and these log files are not being written. The only way the apps write their log files is if…
lmttag
  • 2,499
  • 4
  • 26
  • 30
10
votes
1 answer

Why an IIS 10 Application pool is created when I start debug through Visual Studio 2017 (15.7.3)?

EDIT 1 : I experience the same issue with ASP NET Core 2.0 apps using the same configuration, so this rule out the framework himself. Next potential culprits : the .NET Core 2.1 SDK (v2.1.300) or a bad Visual Studio update (15.7.3). I have a…
10
votes
1 answer

What is the effect of setting (or not) .NET CLR version in ASP.Net Core?

What is the point of setting "No Managed Code" .NET CLR version for an IIS Asp.NET Core application pool? Documentation says that ASP.NET Core runs in a separate process and manages the runtime. ASP.NET Core doesn't rely on loading the desktop…
natenho
  • 5,231
  • 4
  • 27
  • 52
10
votes
3 answers

ASP.NET application pool shutdown problem

Sometimes an exception causes application pool to shutdown. I start it manually but the question is how can I automate this behavior in IIS 7.0 (Windows server 2008).
Xaqron
  • 29,931
  • 42
  • 140
  • 205
10
votes
2 answers

IIS HTTP Error 500: The requested Page cannot be accessed because related configuration data is invalid

I have successfully published an ASP.NET Core website on IIS (version 10) on my local machine (Windows 10) and browsed it. However, when I deploy it on IIS on another PC (using same versions), it gives HTTP Error 500.19: I am using the same…
Hussein Salman
  • 7,806
  • 15
  • 60
  • 98
10
votes
1 answer

IIS Application Pools fail in 32 Bit Mode in Windows 10

On my development machine, whenever I set an IIS Application pool to run in 32 bit mode, any Web application started will simply hang. When accessed in the browser the app will 'hang' for about 5-10 seconds, before receiving a 503 error. The…
Rick Strahl
  • 17,302
  • 14
  • 89
  • 134
10
votes
5 answers

PowerShell: retrieve number of applications in AppPool

How to retrieve the number of applications associated with a specific IIS AppPool via PowerShell command? We can see the associated applications manually using: Get-Item IIS:\AppPools\AppPoolName However, if we manually want to select the…
D.R.
  • 20,268
  • 21
  • 102
  • 205
10
votes
2 answers

IIS, multiple CPU cores, application pools and worker processes - best configuration for a single site?

We use Kentico CMS and I've exchanged emails with them about a web garden deployment. We have a single site running on a server with 8 cpu cores. In line with Kentico's advice, we have not altered the application pool web garden setting from the…
10
votes
1 answer

How do I programmatically find why Application_End() is invoked?

Application_End() is invoked when my application pool is stopped which can happen for a number of reasons, including automatic pool recycle or changes in the folder from which the application is served. The call stack will typically looks like…
sharptooth
  • 167,383
  • 100
  • 513
  • 979
10
votes
3 answers

How do you force the IIS Application Pool to restart whenever the App Domain is reloaded?

We have an ASP.NET MVC 4 application that links to legacy native code. The problem is that this legacy code has global statics that are constructed at startup, but because native code knows nothing about App Domains, that code is not re-initialized…
Rob Prouse
  • 22,161
  • 4
  • 69
  • 89
10
votes
2 answers

IIS App Pools & Static Classes

I've always wondered, lets say you have two asp.net websites running in the same app pool. Lets call them Website 1 and Website 2 Both of these websites reference some shared code, lets call it Awesome.dll Lets say that Awesome.dll contains a class…
iamkrillin
  • 6,798
  • 1
  • 24
  • 51
9
votes
3 answers

application compiles every 15 minutes

I am using ASP.Net4 MVC2 for my application. The first person using the application usually experiences a long wait before the application responds. After that the application is pretty responsive. If the application is idle for 15 minutes, the…
user266909
  • 1,841
  • 3
  • 32
  • 58
9
votes
1 answer

Stopping/starting an application pool and site on a server

I would like to write a script and run it from my local PC to stop and start an application pool and site that exists on a server. Value of App Pool and Site - Test Value of server - SERVER1 Any guidance would be much appreciated.
Rick
  • 335
  • 2
  • 4
  • 11
9
votes
2 answers

App Pool advanced settings using Powershell Desired Configuration State

How can I modify various settings inside either a new or exisitng App Pool using Powershell? I am interesting in some of the "Advanced" settings such as Enable 32-Bit Applications, Managed Pipeline Mode, Process Model Identity, etc. Any ideas on…
halamadrid
  • 103
  • 1
  • 1
  • 4