benjamin perkins

List<Solution> solutions = changes.Where(c => c.CeterisParibus != true)

Browse by Tags

Tagged Content List
  • Blog Post: Using LogParser to analyze the EVENTLOG.XML, Azure Websites

    If you have an active Azure Web Site and you experience problems or want to do some checks on what might the problem, there is a file called EVENTLOG.XML which contain exceptions and information that may be helpful. The file is located in the /LogFiles directory on your Azure Web Site. Figure 1 illustrates...
  • Blog Post: Using Network Tracing to debug System.Net based issues

    I have worked on a number of cases where web services or URLs are called using a code segment like the below code snippet. HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); The result of the GetResponse() method...
  • Blog Post: Configure Debug Diagnostic 2.0 to create a memory dump when a specific exception is thrown

    Debugging a process crash is a challenging activity. Although you know the exception type, the exceptions error message and you know the method that it is being thrown from, you still can't find out why the exception is being thrown. It is especially complicated when the error is happening randomly and...
  • Blog Post: Using HTTP ETW tracing to troubleshoot HTTP issues

    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 code and it...
  • Blog Post: 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...
  • Blog Post: 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 ...
  • Blog Post: Enable CAPI2 event logging to troubleshoot PKI and SSL Certificate Issues

    The CryptoAPI 2.0 Diagnostics is a feature available on Windows Server 2008+ that supports the trouble shooting of issues concerned with, for example: Certificate Chain Validation Certificate Store Operations Signature Verification This article describes how to enable the CAPI2 Diagnostic...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: It’s not IIS

    Before joining Microsoft, I worked for many years in a large corporation supporting IIS. When there was a disruption of service management always wanted, and needed to know what happened. It is a standard practice that management wants to understand so that actions can be taken to prevent it from happening...
  • Blog Post: 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...
  • Blog Post: 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 Table 1. 0:000> ...
  • Blog Post: Troubleshooting an IIS Add Roles and Features error

    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 example ...
  • Blog Post: 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 need the PID of the worker process...
  • Blog Post: 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. 1. Open a command as an Administrator and enter "NET STOP EVENTLOG" as shown in Figure 1. Figure 1, stopping...
  • Blog Post: New ProcDump version 5.0 released, using the –f parameter

    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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
Page 1 of 1 (20 items)