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...
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#?
...
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 ...
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...
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...
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
...
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...
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?
...
Possible Duplicate:
How to prevent an ASP.NET application restarting when the web.config is modified?
Was just thinking about uptime. Thanks.
...
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 ...
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...
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...
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'...
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...
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...
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...
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...
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?
...
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 !
...
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...