Author: Benjamin Perkins

Debug = True

ASP.NET Benjamin Perkins

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 →

Why does my !runaway command not work

WinDbg Benjamin Perkins

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 →

Recycling a worker process due to deadlock

IIS Benjamin Perkins

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

IIS Benjamin Perkins

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 →

IIS Service will not start (Event Id 4275)

IIS Benjamin Perkins

When you are troubleshooting IIS issues there are tools like Failed Request Tracing, IIS logs, etc. which will let you see what is going on. But what do you do when IIS itself is not working? A common cause is that the applicationHost.config file is corrupted. Perhaps there was a manual modification made to it […]

Read More →

NHibernate mapping experience with an ambiguous reference

NHibernate Benjamin Perkins

Sometime things don’t always go as planned. I was making some nice progress with the process of mapping a database and all of a sudden I get the following compile time error message. Ambiguous type reference. A type named “Attribute” occurs in at least two namespaces. “Attribute” ist ein mehrdeutiger Verweis und kann “System.Attribute” oder […]

Read More →