I wrote this article here in regards to an issue that I was having after installing an SSL certificate on an IIS web server. One of the tools I used was the HTTP ETW trace, also known as LOGMAN. As you notice from reading the other previous article, I was receiving a 404 HTTP Status […]
Read More →Category: Debugging
Using Procdump and Failed Request Tracing to capture a memory dump
One of my favorite tools for troubleshooting Internet Information Service issues is ProcDump. It is a single, small, yet powerful EXE that is very useful for capturing W3WP.exe process memory dumps. One of my other favorites is Failed Request Tracing which I have written about here and here for a Windows Azure Web Site. Failed […]
Read More →Troubleshooting badly behaving IIS application pools
There are many reasons why an application pools’ worker process (W3WP.exe) could be behaving badly. The best approach is to capture some memory dumps during the problem situation and then analyze them. The problem with that is the root cause is not always obvious, even after many hours of analysis and investigation. An alternative to […]
Read More →Create a memory dump when the W3WP process terminates using Procdump
There are times when you need to capture a W3WP memory dump when the process stops responding. However, the process might stop responding in the middle of the night or early morning which is not the best time to manually take a memory dump. You can configure Procdump to execute and capture a memory dump […]
Read More →Using Process Monitor to solve any problem, including DebugDiag
I attended TechReady15 and took part in a session from Mark Russinovich, the creator of Process Monitor and many if not all of the System Internals tools. He mentioned that there is no problem which Process Monitor cannot be used to help resolve. I put that to the test when I received the error message, […]
Read More →Troubleshooting IIS Performance Issues or Application Errors using LogParser
If you haven’t already visited the troubleshooters section of the IIS.NET website, take a look at it here. You will find a number of good troubleshooting guides. I contributed an article that discusses using LogParser to troubleshoot performance or application issues/errors. I hope you find it useful.
Read More →Debugging a hung application with WinDbg
There are many reasons that threads can be blocked causing an application to hang. This is an example of one of those situations. I loaded a memory dump into WinDbg and loaded the PSSCOR2 extension. When I executed !syncblk, I received the following result shown in the following. 0:000> !syncblk Index SyncBlock MonitorHeld Recursion Owning […]
Read More →Recreate Event Viewer logs
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. Open a command as an Administrator and enter “NET STOP EVENTLOG” as shown in Figure 1. Figure 1, stopping event logging […]
Read More →How to capture a memory dump of a W3WP process that consumes too much CPU
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 source. Before you can get a memory dump, you […]
Read More →Could not load type “Namespace.Class” from assembly “Namespace”
I have been working hard learning the new features of ASP.NET 4.5, specifically using the following methods: HttpResponse.BeginFlush HttpResponse.EndFlush Stream.ReadAsync HttpRequest.GetBufferedInputStream HttpRequest.GetBefferlessInputStream Stream.BeginRead Stream.EndRead All of which need to be implemented using either a handler or module, if you want to use them in IIS. Can’t say that I did this a lot in the […]
Read More →