Browse by Tags

Tagged Content List
  • 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: 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: 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: 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: 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...
  • Blog Post: IIS 7 Tip # 3 You can now load the user profile of the application pool identity

    IIS 6.0 does not load the user profile of the application pool identity. But with IIS 7.0 you now have a choice to load the profile if needed. This feature is disabled by default on Windows 2008. < applicationPools > < add name = " DefaultAppPool " > < processModel identityType...
  • Blog Post: IIS 7 Tip #2 You can now run 32 bit and 64 bit applications on the same server

    On a 64 bit Windows 2003 machine IIS 6.0 could either be run in 32 bit mode or 64 bit mode. You toggled the Enable32bitAppOnWin64 metabase key and all the worker process would run in a particular bitness mode. With IIS 7.0 the Enable32bitAppOnWin64 key has been moved to the Application Pool level...
  • Blog Post: IIS 7 Tip #1 Finding all the web.configs

    Often during troubleshooting we need to figure out the locations of all the web.config files that could potentially affect a web application. With IIS 7.0 the configuration is now decentralized and settings could be spread out over a bunch of config files. Appcmd provides an easy way to locate all the...
Page 1 of 1 (18 items)