Issues Debugging Managed Code in WinDbg with SOS and PSSCOR2 (e.g. "Failed to request ThreadStore")

Yesterday I found myself back in “WinDbg-land” after a long, long time (since 99% of my debugging is performed in development environments using Visual Studio). However, I couldn’t get the managed code debugging to work in WinDbg. I initially tried SOS and later PSSCOR2, but they both refused to produce anything even remotely helpful. For…

1

ProcDump – An Easier Way to Create a Mini-Dump

In a previous post, I mentioned an issue I’ve been having with Expression Web 4 crashing on me. In that post, I mentioned a few ways that you can create a mini-dump for a process (e.g. with Visual Studio, WinDbg, or ADPlus). A couple of weeks ago, one of the developers on the Expression Web…

0

Recovering Your Work After an Expression Web Crash

I am getting a little tired of Expression Web 4 crashing on me. I’m not sure why I’m repeatedly encountering issues with the latest version of Expression Web, but I suspect — given the frequency at which it is crashing — it may have something to do with the TFS integration. Note that this is…

1

Disable Pinging of Your Application Pool Worker Process in IIS

Yesterday I was doing another “Knowledge Transfer” session and before I started walking through some code in a debugging session, I took a brief detour to show the team how I recommend disabling the “ping” functionality in IIS for your application pool. Note that this recommendation only applies to development environments — please don’t disable…

0

"Web-Enabled" Projects and F5 Debugging with SharePoint

In yesterday’s post, I provided a sample walkthrough of the “DR.DADA” approach to developing solutions for Microsoft Office SharePoint Server (MOSS) 2007. However, I intentionally left out a few things because a) that post was already getting ridiculously long, and b) I felt these were important enough to cover separately. One of the incorrect statements…

0

Debugging Symbols — They’re Not Just for Debug Builds Anymore

I started another new project this week. Typically one of the first tasks on any new development project is to create a Development Plan that provides consistent guidelines and processes for the Development team. On this new project, another Microsoft consultant had already created a draft of the Development Plan, but in the process of…

2

Fiddler + WPAD – VPN = SlowPerformance

I needed to look at some low-level HTTP traffic this morning, so I fired up Fiddler — my tool of choice for this kind of thing. Unfortunately, I found that as soon as I enabled Fiddler, my browsing experience slowed to a crawl. Page requests that previously completed in 1-2 seconds were subsequently taking 30-40…

1