IIS applications run on application pools. Application pools receive requests and process them based on the settings defined. One of the settings is application pool identity. This is the account that runs application pool and perform required tasks. You may come across to this error message while trying to set a custom account as application pool identity: “Value does not fall within the expected range.“
This error occurs only if you are specifying a custom account and not using any predefined accounts such as ApplicationPoolIdentity or NetworkService.
The exact error message:
There was an error while performing this operation. Details: Value does not fall within the expected range.
Internet Information Services (IIS) brings your websites live with a robust infrastructure at fast speeds. Even the default configuration is optimized for speed, you may notice slowness loading your websites due to possible reasons such as the inefficient application code. Here are 5 performance counters I would recommend checking if you want to monitor the resource usage in your IIS server:
Processor (All instances – % Processor Time): CPU consumption broken down by processes
Memory (Available Mbytes): Available memory in OS
HTTP Service Request Queues (CurrentQueueSize): The request count that is pending in the IIS queue
.NET CLR Exceptions (# of Exceptions Thrown/sec): The count of System.NullReferenceException thrown by the applications
APP_POOL_WAS (For all listed Application Pools):
Current Application Pool State: allows you to see the state of application pools
Current Application Pool Uptime: Allows you to see if the web application has been restarted or not
In order to monitor these counters, follow the steps below:
Go to Start. Search for “Performance Monitor“
Click on the green plus sign (+)
Select a category (Processor, Memory etc.)
Select a sub-category (% Processor Time, Available Mbytes etc.)
Select an object (_Total, <All instances> etc.)
With these instructions, you can monitor the real-time statistics of your server. If you want to save these statistics:
Right click on “Performance Monitor” under “Monitoring Tools” on the left side
Select “New > Data Collector Set”
Give a name and click “Next“
Select a path to save the data and click “Next“
Select “Start this data collector set now” and click “Finish“
You will see an arrow icon on the collector set you created. It means it’s recording the logs. Once you have recorded for a desired time, right click on the collector set and select “Stop“
You can go to the path you specified in Step 4 or you can click “Latest report” button (Green notebook icon) to see the report
IIS hosts millions of websites around the world. Thanks to IIS Manager, it is easy to create and manage websites. Websites use default functional and performance settings which are efficient most of the time. However, you may want to fine-tune IIS performance for specific applications and cases.
Fine-tuning IIS Performance
In this post, I will explain 8 recommendations that potentially improves IIS performance. Most of the recommendations are compatible with IIS 7.0 and newer versions with a few exceptions. I will mention the exceptions in their respective section.
Idle Time-out Action
and 9. Other options (Queue Length, Enable 32-bit Applications)