Troubleshooting an IIS Add Roles and Features error

This articles has been moved to its new home here: https://benperk.github.io/msdn/2012/2012-12-troubleshooting-an-iis-add-roles-and-features-error.html It is common to install or uninstall Web Server features.  You need these features to execute ASP.NET pages, perform logging, authenticate user requests, etc….  Figure 1 shows a sub-set list of features which you may choose to install. Figure 1, Add Roles and Features list, small…

3

How to capture a memory dump of a W3WP process that consumes too much CPU

Azure PowerShell Benjamin Perkins
Azure PowerShell Benjamin Perkins

This article has been moved to its new home here: https://benperk.github.io/msdn/2012/2012-12-how-to-capture-a-memory-dump-of-a-w3wp-process-that-consumes-too-much-cpu.html If you want to find out why a W3WP worker process is consuming so much CPU, you can use ProcDump.  You might also use LogParser to look at the time-taken field, but to get to the root cause you will need to get deep into the…

0

Recreate Event Viewer logs

This article has been moved to its new home here:  https://benperk.github.io/msdn/2012/2012-12-recreate-event-viewer-logs.html If you ever receive “the event log file is corrupted” on Windows 2008 R2, try the following list of actions to fix it.  Following these steps result in the recreation of the event logs. 1.  Open a command as an Administrator and enter “NET STOP…

0

Professional Microsoft IIS 8, co-author Benjamin Perkins

This article has been migrated to its new home here: https://benperk.github.io/msdn/2012/2012-11-professional-microsoft-iis-8-co-author-benjamin-perkins.html The Professional Microsoft IIS 8 book is now available, check it out.  I had the opportunity to contribute a few chapters to it.  What an awesome experience!  There are lots of examples, experiences, discussions and reviews of the new features found in IIS 8.  You can get an…

0

StaticCompressionDisableCpuUsage and DynamicCompressionDisableCpuUsage

IIS Internet Information Services
IIS Internet Information Services

This article has been moved to its new home here:  https://benperk.github.io/msdn/2012/2012-11-staticcompressiondisablecpuusage-and-dynamiccompressiondisablecpuusage.html Performance problems are generally difficult to find the root cause of and fix.  There are so many ‘touch points’ that where to start looking much less finding the root cause while the issue is happening, can be a challenge. I found these 4 Compression…

0

Change or modify a Response Header value using URL Rewrite

This case has been moved to its new home here: https://benperk.github.io/msdn/2012/2012-11-change-or-modify-a-response-header-value-using-url-rewrite.html If you have ever used a tool that allows you to view the request and response headers, you certainly know that there is some information being pased back and forth between the client and the server that is not simply visible. An example of possible…

5

My Windows Phone App – Hitman Website Monitor

This article has been moved to its new home here:  https://benperk.github.io/msdn/2012/2012-10-my-windows-phone-app-hitman-website-monitor.html I was surprised at how easy it was to create and deploy a Windows Phone app.  If you are a developer then you will have no problems creating an application.  After I installed the Windows Phone 7.1 SDK alongside my Visual Studio 2010 installation,…

0

New ProcDump version 5.0 released, using the –f parameter

WinDbg Debugging Benjamin Perkins
WinDbg Debugging Benjamin Perkins

This articles has been migrated to its new home here:  https://benperk.github.io/msdn/2012/2012-10-new-procdump-version-5-0-released-using-the-f-parameter.html I really like to use ProcDump for troubleshooting crashes, memory/cpu utilization issues and hangs.  I have written a number of other blogs that discuss how to use it here, here and here. The tool is small and unobtrusive, yet very powerful.  The new version…

0

Application Request Routing (ARR) – HTTP Error 400.0 – Bad Request

Application Request Routing (ARR)
Application Request Routing (ARR)

This articles has been moved to its new home here: https://benperk.github.io/msdn/2012/2012-10-application-request-routing-arr-http-error-400-0-bad-request.html I was working on setting up an ARR solution the other day and I ran into this error, and shown in Figure 1. The request cannot be routed because it has reached the Max-Forwards limit.  The server may be self-referencing itself in request routing topology….

2

Application Request Router (ARR) – HTTP Error 502.3 – Bad Gateway

Application Request Routing (ARR)
Application Request Routing (ARR)

This article has been moved to its new home here: https://benperk.github.io/msdn/2012/2012-09-application-request-router-arr-http-error-502-3-bad-gateway.html I was setting up a web farm with Web Farm Framework (WFF) and Application Request Router (ARR) and received the error shown in Figure 1. Figure 1, HTTP Error 502.3 – Bad Gateway I checked the Monitoring and Management window to see if the Health Status…

2

Debug = True

ASP.NET Benjamin Perkins
ASP.NET Benjamin Perkins

This article has been migrated to its new home here: https://benperk.github.io/msdn/2012/2012-09-debug-true.html If you have ever performed website optimization then it is likely you have read this article here.  This article discusses the impact of having the debug set to true in your production application.  In another one of my blogs on C#, I made the comment once…

4

Modifying IIS 7 log data in Windows 2008

This articles has been migrated to its new home here:  https://benperk.github.io/msdn/2012/2012-07-modifying-iis-7-log-data-in-windows-2008.html Not all IIS logging properties are selected by default.  Some of them, which are not selected by default can provide some valuable information when troubleshooting performance or availability issues. To modify the properties which IIS 7 logs, first open IIS Manager, then select the…

5

Recycling a worker process due to deadlock

This article has been moved to its new home here: https://benperk.github.io/msdn/2012/2012-07-recycling-a-worker-process-due-to-deadlock.html There are many reasons why an IIS worker process can hang.  For example, a long running SQL query, searching through a Dictionary object, a non-optimal Regex command, hitting the limits of the process model configuration, etc… can all cause performance to slow. Previously, I wrote…

2

Using !DumpThreadConfig (!dtc) within WinDbg

WinDbg Debugging Benjamin Perkins
WinDbg Debugging Benjamin Perkins

This article has been moved to its new home here:  https://benperk.github.io/msdn/2012/2012-07-using-dumpthreadconfig-dtc-within-windbg.html I have written articles about how to capture a W3WP memory dump on Windows 2003 and Windows 2008.  Once you have the memory dump, you need to analyze it to find out what is causing the problem.  One command I use while analyzing a…

0

Why does my !runaway command not work

WinDbg Debugging Benjamin Perkins
WinDbg Debugging Benjamin Perkins

This article has been moved to its new home here: https://benperk.github.io/msdn/2012/2012-07-why-does-my-runaway-command-not-work.html Sometimes when I execute: !runaway in WinDbg I receive the following error: ERROR: !runaway: extension exception 0x80004002.  “Unable to get thread times – dumps may not have time information” The error message says it all, but how do you fix it.  In my case ProcDump…

4