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…


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…


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]    …


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…


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…


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…


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…


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…


Web services may fail on IIS 7.5 or IIS 7.0 (with OS SP1) with .Net 4.0

This is a hot topic discussed in the forums and we have decided to put this on a knowledge base article: Web services may fail on Microsoft Internet Information Services (IIS) 7.5 and Windows 7 Service Pack 1 with .NET Framework 4.0 due to extensionless URL handlershttp://support.microsoft.com/kb/2520479 Here is the symptoms you may see: Consider…


IIS 7.0 ve 7.5 konfigürasyon referansı

Microsoft’ta Escalation Engineer olarak çalışan Doug Stewart’ın blog’unda (http://blogs.msdn.com/dougste/) oldukça faydalı bir bilgiye rastladım. IIS 7.0 ve IIS 7.5 için tüm konfigürasyon ayarlarına aşağıdaki web sitesinden ulaşabilirsiniz:  IIS 7.0 and 7.5 configuration referencehttp://www.iis.net/configreference Bir başka favorilere eklenmesi gereken kaynak 🙂 Geçerli olduğu platformlar: IIS 7.0IIS 7.5 —AMB