application-pool

Change .NET Framework version of application pool to 3.5?

I've installed .NET Framework 3.5 SP1 on web server (Server 2008 Enterprise), so running IIS 7.0. I want to change the version of .NET Framework used by an existing site. So I right-click on appropriate Application Pool and selected Edit Application Pool. The .NET Framework dropdown does not include an explicit entry for framework 3.5...

What's the difference between recycling an app pool manually vs automatically?

I've noticed that you can manually recycle an application pool via IIS and that doing so seems to slow down my web app significantly less than making changes to files in App_Code or the web.config file. Is this because recycling the application pool via IIS doesn't force a recompilation of the temporary internet files, but changing App_...

Programmatically Creating a IIS6 Website/App Pool in Nant

Hi, I'm relatively new to Nant, what i'd like to do is have a task that creates a new Website and AppPool in IIS6 is there a way to do this in Nant? Essentially the task would need to set all the appropriate properties including the correct version of the .net Framework Ideally i'd also like to check if the site is already present in...

How to properly set up Application Pools for IIS6

I am really stuck with this Parser Error Message telling me "Could not load the assembly 'App_Web_amlohswi'. Make sure that it is compiled before accessing the page." I have been looking around for a few hours checking different posts here and googling information. I have found out that I need to set up a new Application Pool that runs...

What causes an application pool in IIS to recycle?

I have been searching for info on this to no avail. The context of why i need this is another question I asked here. More specifically, does creating/updating/deleting files in App_Data cause a pool recycle? If someone could provide a detailed list of what causes a recycle, that would be great. UPDATE: As two users already noticed I wo...

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: /// <summary> /// Recycle an application pool /// </summary> /// <param name="IIsApplicationPool"></para...

IIS6.0 Application Pool

Hi Guys, Is there anyway how to check which website is being used with that pool without browsing each website and checks its assigned pool? I have approximately 35 websites and I can't afford browsing the websites one by one.... Thanks ...

Worker process recycles because it reached its virtual memory limit

We host a rather large (self written) ASP.NET website for our customers. It consists of a web service, a web site and a image serving web site, all three in their own virtual directory. The three virtual directories are together in one application pool. The pool has both memory limits (maximum virtual memory and maximum used memory) set ...

IIS App Pools - Stop/Start vs Recycle

I've noticed that on one of my production web apps, when I manually recycle an app pool, the recycled worker process can take upwards of 60+ seconds to actually be completely destroyed, based on watching it in Task Manager. However, if I stop the app pool completely, the worker process goes away nearly instantaneously - within 1-2 second...

Why Even Recycle an Application Pool?

Maybe someone can shed some light on this simple question: I have a .NET web application that has been thoroughly vetted. It loads a cache per appdomain (process) whenever one starts and can not fully reply to requests until it completes this cache loading. I have been examining the settings on my application pools and have started won...

IIS 6.0 Application Pool crash

Have a lot of troubles on production server. Some routing cause crashing of Application Pool with event id 1011: Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 1011 Date: 1/21/2009 Time: 9:08:17 AM User: N/A Computer: xxxxxxxxxxxxx Description: A process serving application pool 'Defaul...

how to get the application pool name for a specific website IIS6 programaticaly? 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 the same code. Which means if u add a website manually using the iis manager and set an ap...

How does System.Net.Sockets perform its DNS lookups in the context of finding a WCF service?

I have a Web application and a WCF service hosted on the same Windows 2003 development server. They each have their own IIS website node responding to drs.displayscreen.web and drs.displayscreen.service host headers respectively. The hosts file contains entries for both headers pointing back to 127.0.0.1. The web site has a service refe...

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 representException calling "Recycle" : "Win32: The object identifier does not represent a valid object. ...

Use of Global.asax in distributed approach ie Web garden

I understand the limitations of using application state and session state accross multiple application pools, that they cannot be shared. What about the Global.asax file is a single instace created per application pool or does it reside in a higher level somewhere common to all application pools in IIS? ...

Is there a way to configure the Application Pool's "Idle timeout" in web.config?

I know one can set the session timeout. But, if the application itself has received no requests for a given period of time, IIS shuts down the application. This behavior is configurable in the IIS management console, and I know how to do this. Still, I wonder if it is possible to configure this in web.config. ...

Resources for application pool

I have 2 websites on same IIS pointing to the same codebase as they are white label site. Now should I create app pool for each website or should I use the same app pool for both? I am concerned of resources on that server. ...

IIS Application pool PID

is anyone familiar with a way to get the Application pool that is associated with a process ID ? I am using Win32_Process to query the W3WP services and return the PID now I am trying to get the app pool associated with it. ...

What is the difference between DefaultAppPool and Classic .NET AppPool in IIS7?

I have a problem with timeouts in IIS. In the web.config the session timeout was set to 60 minutes but after 20 minutes the session ends. This problem only occurs in IIS7 and not in IIS5. After some investigation, I discovered it was due to the application pool's timeout. If the App Pool is left 20 minutes without doing anything, IIS ...

Yellow error screen appended to response

I have an application that is getting yellow asp.net error screens appended to the response. The page will look normal, and then have the yellow screen below the Html. I have narrowed this error down to the application reseting during the response, and the session dying. So if I start loading a page, and save the web.config, it gives me ...