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 of the tool has recently been released and can be downloaded […]
Read More →Archive for May, 2012
My Windows Phone App – Hitman Website Monitor
This is a blog I wrote some years ago. I am moving all my posts to this site and have added it for historical references only. 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 […]
Read More →Application Request Routing (ARR) – HTTP Error 400.0 – Bad Request
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. Figure 1, HTTP Error 400.0 – Bad Request The message […]
Read More →Debug = True
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 about “what is a technical blog without a comparison […]
Read More →Application Request Router (ARR) – HTTP Error 502.3 – Bad Gateway
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/2. Figure 1, HTTP Error 502.3 – Bad Gateway Figure 2, HTTP Error 502.3 – Bad Gateway I checked the Monitoring and Management window to see if the Health Status of […]
Read More →Why does my !runaway command not work
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 was used to create the dump and it appears that […]
Read More →Using !DumpThreadConfig (!dtc) within WinDbg
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 memory dump is !DumpThreadConfig or !dtc. Figure 1 shows the output […]
Read More →Recycling a worker process due to deadlock
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 a blog about using the !dtc command in WinDbg. This […]
Read More →Modifying IIS 7 log data in Windows 2008
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 top level server as show in Figure 1. Figure 1, display […]
Read More →LINQ generated NHibernate and Entity Framework SQL (JOIN)
In continuation of a previous blog which compared 2 simple SELECT statements between NHibernate and Entity Framework, I do the same with the joining of 2 tables together. NHibernate Figure 1 shows the LINQ to NHibernate query which selects all the data from the PostForNHibernate table, joins with the BlogForNHibernate table using the foreign key […]
Read More →