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

Getting "Service Unavailable" error when browsing IIS website

I have a website in IIS 6.0 using an application pool with a custom service account. When I browse the website, I get an error "service unavailable" and the error in event log says The identity of application pool 'SampleAppPool' is invalid, so the…
RKP
  • 5,285
  • 22
  • 70
  • 111
7
votes
1 answer

What is the best way to force an Application Start when an Application Pool is recycled?

I'm wondering if there is a way to automagically fire off an Application Start for a web site/application whenever the Application Pool for that site is recycled? Are there any canned solutions for this problem? I would really like to avoid having…
Joseph
  • 25,330
  • 8
  • 76
  • 125
7
votes
2 answers

Applicationhost.config not showing changes

We have a webserver hosted in Microsoft Azure. It's a Windows Server 2008 R2 Datacenter edition, 64 bit. For a website hosted on this machine, I need to make changes to the applicationhost.config file. However, changes I made to IIS recently are not…
MeanGreen
  • 3,098
  • 5
  • 37
  • 63
7
votes
1 answer

Powershell App Pool set periodicRestart syntax

I'm trying to set the periodicRestart property using a powershell script, but I'm trying to use a slightly different syntax than what I've seen in code samples. Here's one way to do according to Set the specific times to recycle an application pool…
KyleMit
  • 30,350
  • 66
  • 462
  • 664
7
votes
1 answer

Stop IIS 7.5 Application Pool Recycling

How do stop application pools from recycling in IIS 7.5? I have configured the following settings: ProcessModel -> Idle Time-out (minutes) = 0 Recycling -> Regular Time Intervals (minutes) = 0 Are these settings enought to stop an application pool…
DMcKenna
  • 862
  • 2
  • 8
  • 15
7
votes
3 answers

Service Unavaiable - ApplicationPool won't start

I have a WCF Web Service which is kept under an Application Pool on IIS. Lately I've been getting "Service Unavaiable" when I'm trying to make calls to this Web Service. The first thing I tried to do was restarting the Application Pool. I did it and…
born to hula
  • 1,274
  • 5
  • 18
  • 36
7
votes
4 answers

Can you modify the web.config and NOT restart the ASP.NET application?

Possible Duplicate: How to prevent an ASP.NET application restarting when the web.config is modified? Was just thinking about uptime. Thanks.
John B
  • 20,062
  • 35
  • 120
  • 170
7
votes
7 answers

Get Application Pool Uptime in c#

Is there a way I can determine how long an application pool (in IIS7) has been up (time since started, or last restart) in c#?
JPero
  • 1,272
  • 16
  • 21
7
votes
4 answers

Running command from ASP.NET App Pool Identity

I am running an executable process from my ASP.NET application when a user clicks a button. This process creates several files and serves them up to the end-user. I can't really see what the process is or isn't doing, but it didn't work until I…
daniel
  • 155
  • 3
  • 10
7
votes
2 answers

New-SPWebApplication application pool account is not found

I am trying to create a new web application using PowerShell. I keep getting the error application pool account is not found! How do I solve this? I tried adding the new web application to DefaultAppPool as follows: New-SPWebApplication -Name "Test…
6
votes
5 answers

Why is my IIS 7 refusing to serve up css or js when I change 'Enable 32-Bit Applications' to False

I have a very simple web application (asp.net MVC3, .net 4, using IIS not Visual Studio's embedded server, 64-bit Windows 7). When I change the settings in the application pool for my application and set 'Enable 32-Bit Applications' to False, my…
Gerfboy
  • 215
  • 1
  • 4
  • 6
6
votes
1 answer

IIS7 Application Pool crash when reading cookies

This one is a real challenge: I've set IIS7.5 on my computer and started to develop a website. Each night I'm backing it up on my web server, win 2008r2 sp1 (all updates). It works flawlessly. Yet, I've encountered a huge problem when sharing…
S_S
  • 63
  • 1
  • 4
6
votes
2 answers

IIS errors since upgrading to dot net 4

Back in October we upgraded one of our sites (on IIS 6) from .net 3.5 to .net 4.0. Since then we have been getting the following warning and error pretty much everyday: Warning: ISAPI …
user376085
  • 83
  • 1
  • 1
  • 3
6
votes
4 answers

IIS7: Faulting application w3wp.exe, what is the root cause of these crashes?

Our Website is in .NET but with some old ASP and 32bits libraries too in it. It had been working fine for a while (2 years). But for the past month, we have seen the following error on our IIS7 server, which we have been unable to track down and…
yorrser
  • 61
  • 1
  • 1
  • 3
6
votes
2 answers

Determine the last time an Application Pool recycled

I'm writing a .NET service that monitors application pools. based on specific triggers I'm restarting them. However, I do not want to restart them if the trigger occurred before they were recycled for the last time. How can I know the "last recycle…
Dani Fischer
  • 91
  • 2
  • 4