Category: Debugging

Troubleshooting badly behaving IIS application pools

WinDbg Benjamin Perkins

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 →

Debugging a hung application with WinDbg

WinDbg Benjamin Perkins

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

Benjamin Perkins Windows

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 →

Could not load type “Namespace.Class” from assembly “Namespace”

Visual Studio Benjamin Perkins

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 →