FAQ Database Discussion Community


How to know the Site is in which ApplicationPools

c#,asp.net,web-services,iis,application-pool
I use the codes below to get the ApplicationPools and sites ,but how can i know the site is in which applicationpool var serverManager = ServerManager.OpenRemote("127.0.0.1"); var appPools = serverManager.ApplicationPools; var site= serverManager.Sites; Console.WriteLine("Sites:"); foreach (var st in site) Console.WriteLine(st.Name); Console.WriteLine( ); Console.WriteLine("Pools:"); foreach (var ap in appPools) Console.WriteLine(ap.Name); Console.Read();...

Recycling app pool each time something is published

.net,iis,lucene,umbraco,application-pool
I'm working on an Umbraco site where I have custom sections, and therefore use the application.config and trees.config files. I have a problem where every time I publish something, the app pool recycles with the following message: w3wp.exe Information: 0 : _shutDownMessage=CONFIG change HostingEnvironment initiated shutdown CONFIG change HostingEnvironment caused...

Need to list all sites, app pools, and sub apps in IIS 6.0 (Server 2k3)

powershell,iis,iis-6,application-pool
Server 2003 is being phased out and we are currently trying to round up all the websites and apps being hosted on our few remaining 2k3 servers. The problem is I can't use appcmd to list them and iisapp doesn't list all the applications installed. What I have resorted to...

“Application pool 'XXXXXXXXXX' is being automatically disabled due to a series of failures in the process(es) serving that application pool.”

asp.net,wcf,application-pool
We have a ASP.NET/WCF app hosted in Window Server 2012 (IIS 7). We used the basicHttpBinding. This ASP.NET/WCF application exposes two methods; one is to receive messages and the other is to download a text file (1MB) onto the server. On another server, we have ASP.NET hosted in Window Server...