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

setting Application Pool idletimeout to 0 side effects

I have a web application running under IIS7. I am storing my global variables in a class with static variables. The class is called SessionVariables and inside it for example I have the following : public class SessionVariables { public static…
James Dayeh
  • 516
  • 1
  • 5
  • 13
4
votes
1 answer

Child Application with 2.0 App Pool running under a Site with a 4.0 App Pool

Scenario I have an IIS Site application built using ASP.Net 4.0, running with its own app v4.0 app pool. Hosted by this site is a child Application built using ASP.Net 2.0, with its own app pool.
one.beat.consumer
  • 9,414
  • 11
  • 55
  • 98
4
votes
1 answer

Starting a new worker process within IIS c#

I have question about a process I start. I start the process with Process.Start() method. The process is windows form application that has no GUI. I start the process from a web application that runs on it's own application pool (running as…
Arin
  • 632
  • 6
  • 16
4
votes
3 answers

IIS 7.5 Application Pools / IIS Manager GUI column: Applications

When looking in the IIS 7.5 manager > application pools, The last column lists "Applications". This column shows the number of application pools / websites this appPool is associated with. I am trying to figure out how to query this column /…
colo_joe
  • 119
  • 1
  • 5
  • 12
3
votes
2 answers

Recycling app pool each time a change has been made

I've made a multi lingual site which contains 4 domains on the same site and thus, also 4 different languages and site trees. However, each time I need to publich a new change to a site or otherwise (like updating a template, script etc.) I have to…
Stagen
  • 70
  • 1
  • 6
3
votes
1 answer

Identifying the name of the application pool from a request

In .net, in a webservice (or website) is there an easy way of getting the name of the application pool that the service is running in, from a HttpRequest or the HttpContext?
pheobas
  • 194
  • 3
  • 15
3
votes
2 answers

Restart App Pool from ASP.NET via WMI Problems

I've been trying to create a C# ASP.NET page which sits on a Windows Server 2003 IIS 6 server and when called (remotely), restarts/recycles a specific application pool on the server. I've not been having much luck, does anyone know where I'm going…
Developr
  • 447
  • 8
  • 21
3
votes
1 answer

Change IIS 6 Application pool without affecting Application Pools on entire server

I'm not sure if something odd is happening or if this is normal, but since framework 4 when I create a new site on our IISv6 install I used to get a message saying that changing to framework 4 would cause IIS to restart (but this has gone away since…
Luke Duddridge
  • 4,285
  • 35
  • 50
3
votes
3 answers

Persist Static Data Through AppPool Recycles

I've created a ASP .Net MVC 3 application that allows users to search through a variety of media files based on their filenames. There are a large number of these files so I've created an inverted index which I store in memory. Specifically, I story…
JoshVarty
  • 9,066
  • 4
  • 52
  • 80
3
votes
2 answers

Appfabric caching and recycling of application pool

Where is the appfabric cache stored in memory? We have a web site that uses appfabric cache. Appfabric cache is set up with high availability, enterprise edition of windows 2008 and secondary cache. If we recycle the application pool that the web…
Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
3
votes
3 answers

Recycling IIS application pool using PowerShell: "Exception calling Recycle"

It looks like a recent windows update has broken some functionality I was using to recycle IIS6 application pools, as this has been working for months up to today. Exception calling "Recycle" : "Win32: The object identifier does not…
Karl Glennon
  • 3,149
  • 4
  • 29
  • 31
3
votes
1 answer

Losing session on a post back from a payment gateway

I have a .NET web application where I seem to lose my session on a post back after the user makes a payment on the payment gateway. 1. User signs into the portal 2. Based on a transaction in the portal, at one point is directed to the payment…
Rahul J
  • 93
  • 1
  • 2
  • 6
3
votes
2 answers

'DefaultAppPool' suffered a fatal communication error with the World Wide Web Publishing Service

I am getting Event Log entries every time I access the site: Event Type: Error Event Source: VsJITDebugger Event Category: None Event ID: 4096 User: NT AUTHORITY\NETWORK SERVICE Computer: COMPUTER-02 Description: An unhandled Microsoft…
3
votes
0 answers

IIS application pool recycle - getting timeout when attempting first connection to sql server

We have a very strange issue on our .Net web application. This application runs on multiple environments without any issue. On a new environment we have installed, when a scheduled recycle is executed for the application, on some occasions we get an…
3
votes
2 answers

Enable application pool 32-bit mode on 64-bit server

We have 64-bit Windows server and we need to explicitly enable the 32-bit mode in the Application Pool used by our web site, because the MS Jet Engine Data Provider used to import data from Excel does not run. I am not sure, if we enable the 32-bit…
Muhammad Akhtar
  • 51,913
  • 37
  • 138
  • 191