application-pool

WCF windows authentication with IIS and Application Pool

I have a WCF Server running on IIS 6 using a application pool with a custom identity right now the I looked on the web for two days and I can't find the exact answer to my problem. I know there are a lot of similar ones outer there On IIS6 the virtual directory has anonymous access disable and Integrated Windows authentication enabled...

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#? ...

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

Hi 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 default i.e. it is set to a maximum number of worker processes of 1. Our experience is ...

Drawback to creating a separate IIS application pool for each website / application

Currently, on our production IIS web farm, we host about 15 applications in a single App Pool (Default App Pool). There are two websites and about 13 virtual directories. A colleague has recommended that we change our IIS configuration so each application is a separate App Pool (with identical settings). Is there any drawback or potent...

Do we really need to restart IIS 7 application pool? Do the same practice apply to other web servers?

I am just wondering why is restarting IIS 7 application pool consider a good practice? I know that it'll clean up orphan resources like threads or session state, but how does other web server deal with this kind of problem? Do java developer/admin have to restart weblogic/websphere/apache/tomcat every so often to clean up junk in memor...

Does recycling the ASP.NET application kick users out?

Hello We have a problem where the solution seems to be to recycle the app pool for a particular site (a CMS issue we have little control of, I won't go into it here). My question is that while this seems to work, if there are users on the site making payments etc, if we recycle will this kick them off? Thanks Duncan ...

IIS 6.0 Application Pool Identity Being Ignored

I am using IIS 6.0 on Windows 2003 in a workgroup, and have created a web which runs in its own pool to connect to a Sqlserver 2005 Analysis Services database using msmdpump.dll. I have set the pool up with its own identity, but when I look on the Analysis Services server using Sqlserver Profiler, I can see that the requests are being m...

How can you speed up the restart of an ASP.NET application?

What can I do to ensure that when an application/app pool restart is triggered, that the application comes back online as fast as possible? Better yet, is there a way to prevent the application restart when the usual triggers occur? Like modifying the web.config, global.asax, or machine.config? ...

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. ...

[IIS 6] Identify the w3wp System.Diagnostics.Process for a given application pool

Hi, I got few web sites running on my server. I have a "diagnostic" page in an application that shows the amount of memory for the current process (very useful). Now this app is 'linked' to another app, and I want my diagnostic page to be able to display the amot of memory for another w3wp process. To get the amount of memory, I use ...

ASP.NET Impersonation in web.config vs. running the app pool with custom identity

Ok so I'm using ASP.NET MVC. I'm supposed to upload a file and write it to a network share. I'm getting "Logon failure: unknown user name or bad password." when I try to write to the network location. I solved it on my machine by impersonating the file server account, added this to web.config: <identity impersonate="true" userName="xx...

ASP.NET restarts when a folder is created, renamed or deleted.

UPDATE -- process to replicate issue: 1) Create a website project at c:\projects\restart-demo 2) Add default web.config and a dummy aspx page test.aspx 3) Map IIS to point to the root folder c:\projects\restart-demo 4) Monitor application restarts using perfmon, health monitoring, tracking in global.asax Application_End, etc. 5) Req...

IIS7 Application Pool Crash

I am running IIS 7.0 on Windows server 2008 R2 and created 1 Application Pool per site and I have 1 site which is causing the application pool to stop. These are the following errors in the Event Viewer: This shows several times: A process serving application pool 'Pilot.Mobile.SyncV2' terminated unexpectedly. The process id was '3620'...

Does anyone have a better way to monitor IIS application pools?

I would like to create a "System Health" web page which will monitor the application pools running on a web server. The web server has several application pools and is an Intranet (so no big security problems). Periodically it seems that some of these pools will hang/crash etc. and the recycle wont pick it up. (Separate problem) My id...

Setting IIS 7.0 ApplicationPoolQueue Length > 64K?

I'm having an issue with a migration to IIS 7.0. In the previous version of IIS I have been able to set the Application Pool queueLength to 0 to set it to 'unlimited' but in IIS 7.0 the max it will let me set it to is 64K. It is recommended that you set this value to 1.5 times the number of concurrent connections otherwise you might g...

How can I save the Application variables when IIS recycles and reload them after?

I have a variable declared called "Context" which is of type System.Web.HttpApplication On this variable I access a list called "Application" as follows. Context.Application.Add("NameOfItem", ItemToStore) What I want to do is use the Global.asx file to save the contents of the "Application" list to a file when IIS restarts/recycles a...

When programatically creating a new IIS web site, how can I add it to an existing application pool?

I have successfully automated the process of creating a new IIS website, however the code I've written doesn't care about application pools, it just gets added to DefaultAppPool. However I'd like to add this newly created site to an existing application pool. Here is the code I'm using to create the new website. var w3Svc = new...

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 time" of an app pool? ...

Check the status of an application pool (IIS 6) with C#

How can I check the status of an IIS6 application pool with C# ? For example, I want to know if it is running or not ! Thank's in advance for your help ! ...

Problem with creation of scheduled task from IIS6 on SR2003

Hi, I am writing a webapplication using .NET. The webapp creates scheduled tasks using the System.Diagnostics.Process class, calling SCHTASKS.EXE with parameters. I have changed the identity on the app pool, to a specific domain user. The domain-user is local administrator on all the four webservers. From webserver01 I am creating tas...