These labs provide a group of debugging scenarios focused on helping you get some hands on experience in debugging the most common type of IIS issues. For example, hang/performance, crash and memory issues. Installation These labs are focused IIS 8.5, but can be run on the following versions of IIS IIS Version Operating System IIS […]
Read More →Tags: IIS Labs
Lab 28: The impact of debug=true
Prerequisites Read this about .NET Compilation Read this about why debug=true is not good for performance Understand that ASP.NET (ASPX, ASCX, ASAX, MVC) files are compiled into a DLL and stored into c:\Windows\Microsoft.NET\Framework?\v?.?.?\Temporary ASP.NET Files Setup Install CSharpGuitarBugs.zip onto an IIS web server as per Lab 1 Install the ASP.NET Role Open the IIS Manager […]
Read More →Lab 23: Troubleshooting 400 and 404
Prerequisites Review the requestFiltering attribute here Read information about HTTP 400 – Bad Request here Check out the new Microsoft Message Analyzer here Check out Network Monitor here Setup Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Lab 23-1 Access the CSharpGuitarBugs website from a client machine, not from the […]
Read More →Lab 22: Deploy and create a custom Module and Handler
This is a important concept to know and it really isn’t an intuitive one, you need to get into the guts of IIS or configure some 3rd party web based application to ever see or configure modules and handlers in IIS. When you install ASP.NET for example, the handler is installed and configured by default. […]
Read More →Lab 21: Debugging a W3WP process with high memory consumption
Setup: Install Debugging Tools for Windows – for WinDbg Install and configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Review memory dump collection process for W2K8 and W2K12 Lab 21.1 Open the main page of the CSharpGuitarBugs website so that a W3WP process is instantiated […]
Read More →Lab 20: Debugging a low CPU hang W3WP process using WinDbg
Setup Install Debugging Tools for Windows – For WinDbg Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Review Memory Dump using PROCDUMP on 2008R2 or 2012R2: Lab Open the CSharpGuitarBugs website Click on the ‘Enter Payment Information’ link and note about how long […]
Read More →Lab 19: Debugging a high CPU hang W3WP process using WinDbg
Setup Install Debugging Tools for Windows – For WinDbg Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Read this HOW TO here. Read about the !runaway command here and copy dbghelp.dll into the c:\temp directory Lab Open Task manager so that the CPU […]
Read More →Lab 18: Debugging a handled and unhandled exception
In this lab you will use procdump to view exceptions and capture a memory dump when an exception happens. Setup Install Debugging Tools for Windows – For WinDbg Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Read this article here about the –f […]
Read More →Lab 16: Configuring Failed Request Tracing to take a memory dump
Prerequisites Read this, using ADPLUS here Download/Read about Procdump here Have a look at Lab 19 and Lab 20, for other examples of Procdump Review this blog here Setup Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Install and Configure Failed Request Tracing on the same IIS server as described […]
Read More →Lab 15: Debug Diagnostics
Setup Setup the CSharpGuitarBugs web site as described in Lab 1 and Lab 2. Download and install most recent version of Debug Diagnostics,from here. Also check debugdiag.com Instructions Debugging a process crash is a challenging activity. Although you know the exception type, the exceptions error message and you know the method that it is being […]
Read More →