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 here and W2K12 here. Lab 21.1 1. Open the main page of the CSharpGuitarBugs website so that a W3WP…

1

IIS Debugging Labs – Information and setup instructions

This is a scenarios of debugging demos 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 10…

2

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

0

Lab 12: IntelliTraceCollector

Prerequisites Read about the InteliTraceCollector here Read about debugging the iTrace in Visual Studio here Download the InteliTraceCollector here, view system requirements Some PowerShell understanding, perform Lab 8 Setup Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Copy IntelliTraceCollection.exe to the IIS web server and expand into c:\IntelliTraceCollection and install…

0

Lab 11: Using aspnet_regiis

General information The description of the aspnet_regiis tool can be found here Lab 11-1 Setup 2 IIS servers are needed for this lab, install IIS as per these instructions Lab 1, but the CSharpGuitarBUgs web site is not required Place a copy of each of the c:\windows\system32\inetsrv\config\applicationHost.config files in a temporary location, mark them so…

0

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 1. Access the CSharpGuitarBugs website from a client machine, not from…

1

Lab 10: Using ASP.NET Tracing (Trace=“True“)

Prerequisites Review this post here Review or complete Lab 4 which provides similar performance information Setup Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Lab 10-1 1. Click on the the FullCatalog –ASPX page located within the CSharpGuitarBugs website. About how long did it take? The goal is to find…

0

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…

0

Lab 9: Using AppCmd

Setup Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Review one of the first articles I wrote at Microsoft here Lab – Taking/Recover a Backup 1. Open a command prompt as an Administrator, navigate to C:\windows\system32\inetsrv and enter the following command 2. Review the contents of the backup 3. Open…

0

Lab 8: PowerShell WebAdministration Module

Prerequisites Some understanding of PowerShell Read about the Web Administration module http://technet.microsoft.com/en-us/library/ee909471(v=WS.10).aspx http://technet.microsoft.com/en-us/library/ee790599.aspx There are some new PowerShell IIS cmdlets for IIS 10, see them here.  What’s new in IIS 10? Setup Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Lab Review the features available in the PowerShell WebAdmnistration module…

0

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…

0

Lab 13: Using LogParser

Setup Install LogParser 2.2 from here. Remember that IIS Log default to GMT and not local time, write queries accordingly Review this article which goes into great detail about LogParser Review this link which describes HTTP error codes Review this link which describes IIS error codes You can get a copy of the queries, iis…

0

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 1. Open the IIS…

0

Lab 6: Using HTTP, W3SVC, WAS and W3WP

There is a lot going on when a client makes an HTTP request to IIS. There are numerous kernel mode and native mode components that are used to route the request to the W3WP process which ultimately responds to the request. See Table 1 for a list and definition of those modules. Component Description HTTP.sys…

0

Lab 5: Basic and Advanced Application Pool Settings

In this lab you will learn about the Basic and Advanced application pool settings.  The interface to change the behavior of the W3WP.exe process in which the web site runs is provided through these two settings windows. Lab 5.1 – Basic Application Pool settings Click on the Application Pools folder to view the list of existing…

0