How to keep ASP.NET assemblies in AppDomain alive?

In IIS 6, go to the Application Pools section, and right-click > Properties on the pool which hosts the ASP.NET application in question. Go to the Performance tab and uncheck “Shutdown worker processes after being idle for:” In IIS 7, go to the Connections pane and find Application Pools, and select Advanced Settings for the … Read more

IIS Application pool PID

On Windows Server 2008 this has changed. in %systemroot%\system32\inetsrv you find the appcmd.exe using appcmd list wp you get a list of all the worker processes and which apppool they are serving. You might need to run this in a shell with Administrator privileges.

What causes an application pool in IIS to recycle?

The article you liked in the other post actually did a really good job of this. Immediate Recycle Web.config changes Machine.config changes Global.asax changes Bin directory changes App_Code changes Delayed Recycle Can occur with multiple changes in other locations, typically, I’ve only noticed this with changes to .aspx or .cs/.vb files though. Adding temporary text, … Read more

How to disable the application pool idle time-out in IIS7?

Yes, setting the idle timeout value to zero will disable idle timeouts. Oddly this isn’t documented in the MS docs but my evidence for this arises from: IIS Settings Schema If you have a look at the IIS settings schema in: C:\Windows\System32\inetsrv\config\schema\IIS_schema.xml The schema definition for idleTimeout under <sectionSchema name=”system.applicationHost/applicationPools”> it looks like: <attribute name=”idleTimeout” … Read more

What is an IIS application pool?

Application pools allow you to isolate your applications from one another, even if they are running on the same server. This way, if there is an error in one app, it won’t take down other applications. Additionally, applications pools allow you to separate different apps which require different levels of security. Here’s a good resource: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)