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
3 answers

NServiceBus - Type was not registered in the serializer - Fix?

We are using NServiceBus in a web application and each time we deploy our code to production, we have to delete the Temporary Files in the folder: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files We are following the…
Brandon
  • 10,744
  • 18
  • 64
  • 97
4
votes
1 answer

Idle-Timeout in ASP.Net Core 3.1 with Windows Authentication

Edit Letz Keep it simple. How to implement idle-timeout in .Net Core 3.1 Application with Windows Authentication? Why with Windows Authentication : Because when authentication happens with Windows (Active Directory) we cannot logout. Idle-Timeout:…
Mohit S
  • 13,723
  • 6
  • 34
  • 69
4
votes
1 answer

IIS application pool recycling and "shutdown time limit" role in overlapping

When recycling happens, I want to move all new request to new w3wp (this is done automatically) and leave the previous w3wp to exit when it gets idle (whatever time it takes). There's a shutdown time limit config for application pools (I use IIS…
Xaqron
  • 29,931
  • 42
  • 140
  • 205
4
votes
2 answers

ASP.NET Application Pool Recycling Issue

I have a Web Project setup that has both my WebForms and a WCF service. I am having an issue where every so often my application seems to recycle and i lose all singleton objects and session values. It does not appear to be a timeout issue, but…
Josh Danko
  • 123
  • 9
4
votes
1 answer

How to get a list of all the ASP.NET running worker process and its associated application pools?

I'm in a need to get a list of all the ASP.NET running worker process and its associated application pools and process ID. Is there a way to do this pragmatically (C#) or a powershell script?
Ahmed Atia
  • 17,848
  • 25
  • 91
  • 133
4
votes
3 answers

how to get the application pool name for a specific website IIS6 programmatically? C#

how to get the application pool name for a specific website IIS 6 programmatic using C# EDIT: I already used the methods of DirectoryServices namespace but the application pool name isn't retrieved correctly unless it was explicitly set by using…
Amr Elsehemy
  • 1,033
  • 4
  • 13
  • 24
4
votes
1 answer

Website re-writes all URLs but after a while 404's them all

URLs on the website work fine, then after a few minutes they all return 404. I've found some of the 404s in the log files, and they take this format: 2018-06-02 17:26:44 108.xx.xx.xx GET /store - 443 - 172.xx.xx.xx…
Tom Gullen
  • 61,249
  • 84
  • 283
  • 456
4
votes
1 answer

Hosting a .NET 4.0 Web Service in IIS 6

I am trying to host a 2nd website (outside of Default Web Site, which is already used) that is a web service supported by .NET 4. This is IIS 6. The Default web page is using .NET 2.0. In IIS 6 you can have two seperate websites running different…
sean
  • 41
  • 1
  • 3
4
votes
1 answer

Understanding unmanaged memory in w3wp.exe with dotMemory

I have an ASP.NET MVC web application that's running in its own app pool (.NET 4.7.1 app, 64bit, IIS 10) on a server (Windows Server 2016) with lots of free RAM. Just after I start the application and load a first web page, I look at the task…
Tom Pažourek
  • 9,582
  • 8
  • 66
  • 107
4
votes
1 answer

Log on as a service vs Log on as a batch job

I've created service account to host an IIS web app pool. I know IIS will be happy if I grant both Log on as a service and Log on as a batch job permissions, but I suspect one is unnecessary. I have been able to find any official documentation on…
Kye
  • 5,919
  • 10
  • 49
  • 84
4
votes
2 answers

IIS Manager Freezes when trying to list App Pools or Sites

I have just updated the password against an application pool identity for my user in IIS to bring it up to date, as per: HTTP Error 503, the service is unavailable However now when I run IIS Manager it freezes when I try to list the application…
PRS
  • 741
  • 1
  • 7
  • 27
4
votes
0 answers

How to kill an individual request in an IIS worker process?

The environment We are running IIS 8 on a Windows Server 2012 R2 and have a a number of .net web apps running all using their own application pools. The problem Occasionally, due to a yet to be determined reason, we get a specific request in the app…
hamish
  • 447
  • 1
  • 9
  • 19
4
votes
1 answer

How AppPoolIdentity access remote SQL Server database?

I was able to get Application Pool Identity to work properly, I even was able to get it to access remote SQL Server database successfully. I documented the steps in an answer to another stackoverflow question. Still, all applications hosted in the…
Sameh Deabes
  • 2,960
  • 25
  • 30
4
votes
2 answers

AccessDenied Exception on AppPool properties, cannot call ApplPool.Recycle() - C#

Running on Windows Server 2012 R2 Standard, with IIS 8.5.9600 In C#, after setting up a site, I'm retrieving the DefaultAppPool from the site. Upon retrieval of the pool, the following properties have exceptions on them: appPool.State: Access is…
A.G.
  • 2,089
  • 3
  • 30
  • 52
4
votes
2 answers

How to detect what Application Pool I am currently running under? (IIS6)

I need to know how I can detect the current application pool I am running under, so I can do a Recycle on it programmatically. Does anyone know how to do this for IIS6? My current code for recycling the app-pool is: /// /// Recycle…
Wolf5
  • 16,600
  • 12
  • 59
  • 58