Enlightening a mystery with Failed Request Tracing: does IIS not respect the minFileSizeForComp setting for static compression?

I have been working with one of my customers to fix some static compression issues on IIS 8.5. During our work I have been asked that if IIS is not respecting the minFileSizeForComp settings and if it is compressing the static files that are smaller than the limit configured in the IIS settings. Before proceeding…

0

Step by step guide for allowing remote management for IIS 7.0 or newer

1) SETUP IIS TO ACCEPT REMOTE MANAGEMENT CONNECTIONS Open IIS manager as administrator, go to server level and open Management Service:   Make sure that the service is running and note the port number. You can configure management service to accept connections for windows users, IIS manager users or both:   Optional: Create IIS manager…

0

How to get an application pool configuration with appcmd.exe

Sometimes it is needed to dump out the configuration of an application pool in a text file. I have found the following command very useful for that: appcmd list apppool “test” /text:* Needless to say, test is the name of the application pool. The output will be like below: APPPOOL  APPPOOL.NAME:”test”  PipelineMode:”Classic”  RuntimeVersion:”v4.0″  state:”Started”  [add]    …

4

Troubleshooting a 404.13 issue using IIS and Failed Request Tracing logs

Consider the following scenario: You are running an Exchange 2010 in your corporate network and you would like to have your clients running in external network (say, from home) access their e-mails in Outlook (using Outlook Anywhere). Outlook –> Reverse Proxy –> Exchange 2010 CAS Servers Clients will also be able to access their e-mails by using…

0

Easiest way to generate MachineKey

Have you ever needed to generate a MachineKey to use in your application’s configuration file or in machine.config? You may need a MachineKey in several scenarios. One of them is the scenario where you deploy your application in a web farm. One another scenario is to need to encrypt Forms Authentication tickets. You have some…

25

Launch worker process (w3wp.exe) automatically as soon as application pool starts

You can set up an application pool to start automatically but the worker process (w3wp.exe) will actually be launched once a request is made to the web site. However, in some scenarios you may want to have a worker process started automatically whenever an application pool starts. This is useful especially if a worker process…

3

Easiest way to take your web site offline (IIS 6.0 or IIS 7.5 with .NET 4.0)

If you are running your application within a .NET 4.0 application pool (IIS 7.0 or IIS 7.5) or your web site is configured as an ASP.NET 4.0 web site (IIS 6.0) and would like to show your clients an “under maintenance” page for a limited time, the easiest way is to put a file named…

13

Why does not IIS log requests immediately?

Here is a frequently asked question: why can’t I see IIS logs written immediately after a request? The anwer is that the HTTP.SYS buffers the IIS logs and flushes to the disk every 60 seconds because of performance issues. If you are running IIS 7.0 or IIS 7.5 and if you want to flush the…

0

IIS 7.5 – Change in the "application pool defaults" applies to all application pools

I was helping to one of my customers where his Sharepoint web sites stopped working unexpectedly. All of the web sites were failing with HTTP 500 Internal Server Error message. When I checked the details of the error message, I have found that the issue was related with the bitness of the application pools: all pools…

0

IIS services fail to start: "Windows could not start the Windows Process Activation Service – Error 6801: Transaction support within the specified resource manager is not started or was shut down due to an error" when WAS service is started

You may see that IIS related services fail to start and receive “Windows could not start the Windows Process Activation Service – Error 6801: Transaction support within the specified resource manager is not started or was shut down due to an error” error message when you try to start the WAS (Windows Process Activation Service) service. This…

28