Browse by Tags

Tagged Content List
  • Blog Post: IIS 8 What's new – Website settings

    The two new additions in IIS 8 are Preload Enabled This setting is available if you have the Application Initialization module installed The preloadEnabled metabase setting along with the startMode setting can be used to ‘warm up’ your web application. When you set the startMode property of your application...
  • Blog Post: IIS 8 What's new – Application pool settings

    Here is a list of enhancements to Application Pools in IIS 8. Start Mode A few web applications take a significant amount of time to start up. IIS by default only launches a worker process when the first request for the web application is received. So for the web applications that require a longer time...
  • Blog Post: Video – Configuring DebugDiag for process crash

    This is a video on how you can use DebugDiag to monitor process crashes.
  • Blog Post: Fingerprinting IIS

      You can analyze the responses sent from a webserver to determine the version of IIS running (And in turn the version of the Windows Server). I have seen a lot of people discuss this. So here is my guide ... The easiest way is to capture a network trace or Fiddler trace and analyze the Server header...
  • Blog Post: MIB OIDs for IIS 6.0

    Here is a list of the OID values related to IIS that you can query using SNMP. TotalBytesSent_HighWord 1.3.6.1.4.1.311.1.7.3.1.1.0 TotalBytesSent_LowWord 1.3.6.1.4.1.311.1.7.3.1.2.0 TotalBytesReceived_HighWord 1.3.6.1.4.1.311.1.7.3.1.3.0 TotalBytesReceived_LowWord...
  • Blog Post: 64 bit IIS manager,32 bit worker process and root web.config settings

    The IIS 7 manager provides a UI for almost all sections for the web.config. It does simplify things for administrators but I have seen a couple of cases where this has lead to interesting problems. Let us consider the Machine Key feature that the IIS 7 manager provides. It is well known that when you...
  • Blog Post: ASP.NET Debugger Extension – Manual Install / Uninstall

    In case you have problems with the setup files for ASP.NET Debugger Extension you can manually install the module. FILES ADE.dll This is the main module that loads in IIS Location : GAC ADEWOWHelper.exe This is a helper exe that is used in x64 environments to support WOW worker...
  • Blog Post: ASP.NET Debugger Extension – Trace Process for Debug Events

    With ASP.NET Debugger Extension you can also trace the process for events. This is actually a wrapper around the MdbgEngine (mdbgcore.dll) options to interrupt a process when an event occurs. You can use it to trace exceptions / module loads etc. For example below we are tracing for exceptions. Every...
  • Blog Post: ASP.NET Debugger Extension – Find Debug Modules

    ASP.NET Debugger Extension has an useful feature to find modules that are built in debug mode. You start by selecting a website, ADE then scans all the folders under that website to figure out the modules that are built in debug mode. Debug modules should usually not be deployed on production servers...
  • Blog Post: ASP.NET Debugger Extension – Callstack Viewer

    I recently created an ASP.NET Debugger Extension for IIS 7 that you can use to troubleshoot issues that would usually involve taking a memory dump of the process. One of the features in this extension is the ability to get a managed stack trace of all the threads in the worker process that are running...
  • Blog Post: ASP.NET Debugger Extension for IIS 7

    Just finished writing an extension for IIS 7 that will provide advanced debugging features for IIS worker processes running managed code. It basically does three things 1. Find Debug Modules This feature will help you scan your website content to spot modules that have been built in debug mode...
  • Blog Post: IIS 7 FTPS module does not pick up the Firewall IP and Data Port Range settings.

    I have seen at least 5 separate instances where users have complained that the FTP 7 module that ships for IIS 7 does not honor the “Data Channel Port Range” and the “External IP Address of Firewall” settings. Whenever you make a change to this setting you need to restart the FTP service for the...
  • Blog Post: SSL Diagnostics Tool for IIS 7

    The SSL Diagnostics tool is a very useful tool for troubleshooting SSL issues.  It generates a detailed report of SSL settings for all the websites on an IIS server which helps in quickly identifying SSL issues. But the tool was built for IIS 5 and 6, there is no version available which is compatible...
  • Blog Post: FTP Service 7.5 for IIS 7.0 can be installed only on Windows Server 2008

    On Windows 2008 RTM (SP1) you would install the FTP 7.5 Out Of Band module from http://www.iis.net/extensions/ftp . But when you try to install it on Windows 2008 R2 you will get the following error. This version of the operating system is not supported. FTP Service 7.5 for IIS 7.0 can be installed only...
  • Blog Post: IIS 7 Tip # 11 You can restrict SSL to only the Control Channel on FTPS

    The File Transfer Protocol (FTP) has been around even before I was born :) It is a good protocol for transferring files across the network but has one major flaw. If you use authentication it sends the password in a Base64 encoded format over the wire. If someone intercepts this he/she can easily decode...
  • Blog Post: IIS 7 Tip # 10 You can generate machine keys from the IIS manager

    The machineKey element of the ASP.NET web.config specifies the algorithm and keys that ASP.NET will use for encryption. By default the validationKey and the decryptionKey keys are set to AutoGenerate which means the runtime will generate a random key for use. This works fine for applications that are...
  • Blog Post: Setting SMTP RelayIpList from a script.

    SMTP service running on IIS 6.0 provides you options to restrict IP addresses of computers that can relay mail messages through this server. The value(list of IP addresses) is stored in the RelayIpList metabase property as an octet string. I was recently contacted by a server administrator to figure...
  • Blog Post: IIS 7 Tip # 9 Set Application Pool Defaults…

    When ever you create a new application pool IIS only asks you for four things 1. Name, 2. .NET Framework version, 3. Managed pipeline mode and 4. Weather to start the application pool immediately What about the remaining advanced settings like the identity that application pool has to run under? The...
  • Blog Post: Can the validity period of the Self-Signed Certificate that IIS 7.0 manager creates be changed ?

    IIS 7.0 has a nice feature of creating self-signed certificates … very handy for creating test certificates. I was recently asked if there is a way to modify the validity period of the certificate it creates. Unfortunately No! The module that creates the certificate uses a simple logic of incrementing...
  • Blog Post: IIS 7 Tip # 8 You can create Self-Signed SSL certificates from the IIS manager

    IIS 7.0 manager has a nice feature of generating self-signed certificates that you can use for running tests. At the global level select Server Certificates and in the Actions Pane on the right you get the option to Create Self-Signed Certificate… The wizard that pops up just asks for a friendly...
  • Blog Post: IIS 7 Tip # 7 You can use the application pool identity for the anonymous authentication credentials

    When a client accesses a web site on anonymous authentication IIS uses a pre configured account to access the corresponding files on disk. In IIS 5.0 / 6.0 we used a local account called the IUSR_machinename for anonymous authentication. With IIS 7.0 we moved to a generic built in account called IUSR...
  • Blog Post: IIS 7 Tip # 6 You can reset the TCP connection when “Service Unavailable” happens

    Instead of returning the “Service Unavailable” message to the client you can terminate the TCP connection. This can be helpful in environments where you have a Load Balancer which ’understands’ a TCP reset instead of “Service Unavailable”. In IIS 7.0 you can set it via the IIS manager UI in the Advanced...
  • Blog Post: Caution while xcopying IIS 7.0 config files

    Metabase.xml is the central store where IIS 6.0 stores most of its configuration information. Its a plain text file and stores all the information in a simple XML format. The XML format naturally raised a notion of being able to XCOPY the config file to another server and transferring the settings with...
  • Blog Post: IIS 7 Tip # 5 Run a command when Rapid Fail Protection is triggered.

    Rapid-Fail Protection disables application pools if they crash multiple times within in a specified time period. This prevents the failing application pool from getting into a continuous loop of crashing and restarting. This protects other application pools running on the server as repeated failures...
  • Blog Post: IIS 7 Tip # 4 Application Pool Recycling Events has an UI

    Tucked away in the IIS manager is an UI screen to configure the Events that get logged when an application pool is recycled. When you right click on the application pool and choose Recycling you get to the screen where you configure the Recycling Conditions. When you click ‘Next’ you will get a screen...
Page 1 of 2 (47 items) 12