application-pool

What happens to a transaction when App Pool recycles or the worker process is terminated forcefully?

The architecture of the application is straight forward. There is a web application which maintain account holder data. This data is processed and the status of account holders is updated based on number of business rules. This process is initiated using a button on the page and is a long running process (say 15 mins). A component is dev...

Extend web.config Application Pool Recycling

Hi, I have noticed how editing the web.config file in an application folder causes that application pool to recycle and pick up the changes. How does IIS achieve this and is it possible to extend this functionality for another config file? Or is this dependency hard-coded somewhere? This is related to the possiblity of deploying conf...

Is it possible to tell IIS 7 to process the request queue in parallel?

Currently we are developing an ASMX, ASP 2.0, IIS 7 web service that does some calculations (and return a dynamically generated document) and will take approx. 60 seconds to run. Since whe have a big machine with multiple cores and lots of RAM, I expected that IIS tries its best to route the requests that arrive in its requests queue to...

Visual Studio Plug-in that can tell the Application Pool name of w3wp.exe when debugging

Is there any plug-in for Visual Studio that can display the associated Application Pool name for those w3wp processes when debugging them with "Attach to Process..." ? Usually I have to do following steps before debugging: c:> \Windows\system32\inetsrv\appcmd list wps then I get the process id for the Application Pool I want to debug,...

JIT compiler will come here again ?

Hi All , I have one doubt here , I have one asp.net MVC web application and every night we are recylcing the applciation pool from IIS. Now when the next day first request comes it is taking time to get response. First request it is taking time because app domain is not loaded (application is not started) to start web application it...

Where are the definitive resources about how Application Pools and .NET memory management works?

Looking for resources having objective technical details about application pools and .NET memory management, for the purpose of configuring many apps. Many suggestions exist but I am specifically looking for reasons to back up any suggestions. ...

How to inherite IIS 6 web site properties from configuration file .xml

Hi, I am trying to create web sites from IIS manager. I already have few web site and Application pools. I want to add few more and this is gonna happen again in future. So what i need right now is i want to inherit the properties of previously created web site and apppool to this new website. I mean how can i inherit the properties fr...

Setting of IIS memory settings for ASP.NET

We are running an ASP.NET app on a web server with 4GB+ of memory in IIS 6. After reading many articles, it states that we need to set the "maximum memory used" for the Application Pool to 800mb to eliminate the "out of memory exceptions" that are happening for us. However, what should the "maximum virtual memory" in the Application Po...

Service Unavaiable - ApplicationPool won't start

I have a WCF Web Service which is kept under an Application Pool on IIS. Lately I've been getting "Service Unavaiable" when I'm trying to make calls to this Web Service. The first thing I tried to do was restarting the Application Pool. I did it and after a couple of seconds, it crashed and stopped. Looking at the Event Viewer, I found...

ASP.NET and Application Isolation

Using IIS 6, is Application Isolation happen based on the Application Pool? If so, what happens when there is more than one Virtual Directory in one Application Pool? Do they all share the same memory and if one Virtual Directory crashes, all the other apps crash as well? ...

Why does not Asp.net mvc application work on Asp.Net Classic Application Pool?

I have an Asp.Net MVC 2 web application deployed on IIS 7.5 on .Net 4.0. When I select application pool as Asp.Net v4.0 Classic I get the following error. HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. The same application works fine when I select application pool as Asp.Net v4.0...

memory limits and application pool recycle

my web applications app pool configuration is PeriodicRestartMemory : 512000 PeriodicRestartPrivateMemory : 196608 although the virtual memory limit is higher than private memory, app pool is recycled with virtual memory limits exceeded errors in the event log (instead of private memory). what is the reason for this? how could it exce...

Stop IIS 7.5 Application Pool Recycling

How do stop application pools from recycling in IIS 7.5? I have configured the following settings: ProcessModel -> Idle Time-out (minutes) = 0 Recycling -> Regular Time Intervals (minutes) = 0 Are these settings enought to stop an application pool from recycling? ...

IIS 7 Application Pool Private Memory Usage

For IIS 7, Help for Recycling Conditions for Application Pool says that Private Memory Usage is ...privately allocated system physical memory ... (The property is named Maximum Used Memory in IIS 6.) And, Event Log entry when application pool recycles; "A worker process with process id of '4824' serving application pool '(thepool)' has ...

WCF FaultException - crashes App Pool when "re-throwing" from internal WCF call

I have a WCF service that's hosted in IIS, and uses a WS HTTP binding (the external service). This service ends up calling a second WCF service that's hosted in a Windows service, over Net TCP (the internal service). When the internal service throws a FaultException, the external service crashes rather than throwing it to the client. All...

One Website multiple Application pools

Does anybody know if its possible to have your website run on multiple separate application pools Some Background I am looking into start a shopping center style site. I intend to set up 100 folders, each folder on the site will be treated as a separate site. http://www.MyShoppingCentre/JohnsMenswear http://www.MyShoppingCentre/GerrysGa...

Application pool identity for writing temporary files

I have a website which runs under an App pool with identity user X. We have made changes to the website to enable file operations whereby the website creates some temporary files which are then sent to the user via Response.Write. The temp files are created in a folder outside the virtual directory. Is it enough if we give write,read per...

IIS6 MVC2 Server starts sending out 404 after a while

I have a W2k3 server running IIS6 and MVC2 (.net 4). Right after the iis starts, everything works ok, the site runs fine. Extensionless urls work ok. After a certain period of time (maybe of inactivity) the server stops working and starts to send 404 errors to the client. As soon as I restart de application pool, everithing goes back ...

How to force application pool to recycle in Classic ASP (not using IIS Management Console)?

I am maintaining an old Classic ASP site for a friend that is hosted on a cheap shared host. They are getting errors that will be solved with an Application Pool recycle. However, the hosting control panel doesn't have any sort of options to recycle the app pool and the hosting company themselves are non-responsive to support requests....

Could not load type "something.something"

We have a custom app in SharePoint and each morning we receive this error, by recycling the app pool the error seems to go away for the rest of the day. We have set the app pool to automatically recycle each evening and morning but this doesn't seem to help in any way. ...