Technology Toolbox

Your technology Sherpa for the Microsoft platform

Jeremy Jameson - Founder and Principal

Search

Search

March 2009 Blog Posts

Introducing the "DR.DADA" Approach to SharePoint Development

At times, it seems like developing SharePoint solutions is all I've been doing since I joined Microsoft in 2000. While many things have certainly changed since the old "Tahoe" days, at least one thing remains relatively the same: my recommendation to...

Updated Thoughts on WSPBuilder

Several weeks ago, I wrote a post titled " Why I'm Not a Fan of WSPBuilder ." Shortly thereafter, I received a message from Carsten Keutmann, the creator of WSPBuilder. Here is the "almost" unabridged version of the email exchange (headers and signatures...

Extraneous SharePoint Assemblies

If you develop solutions for Microsoft Office SharePoint Server (MOSS) 2007, you may notice that certain SharePoint assemblies always get copied to your Visual Studio project output folder even though these referenced assemblies are configured with Copy...

WSUS Server Cleanup Wizard Hangs on "Deleting unused updates..."

While cleaning off my Desktop this morning, I came across a file that I created back in December capturing my notes from a problem I was having with Windows Server Update Services (WSUS). Evidently I intended to blog about the issue, but apparently this...

Always Enable Disk-Based Caching in MOSS 2007

For reasons completely unknown to me, the SharePoint team decided to ship Microsoft Office SharePoint Server (MOSS) 2007 with disk-based caching (a.k.a. blob caching ) disabled. If you are not familiar with disk-based caching, here is a blurb from Microsoft...

Redirecting stderr to stdout

Yesterday I replied to an email from a teammate in which I incorrectly stated that you can't redirect stderr to stdout in DOS -- er, I mean a command window in Microsoft Windows. I would have sworn the last time I tried something like the following...

Script to Restart SharePoint Services

Since my previous post introduced one of my SharePoint Toolbox scripts, I thought I should share another one that is more applicable to a broader audience. As I've noted in the past , memory leaks are certainly not uncommon in the world of SharePoint...

SharePoint ULS Logs Flooded with "Preserving template record with size..."

I was digging through my blog dashboard this morning and I came across this post that I started back in January but apparently never got it past "draft mode." I figured it was time to finish it off. If you've been using Windows SharePoint Services...

XSLT "Identity Transform"

Last week, I was explaining to a teammate that it is often helpful to use the XSLT "Identity Transform" in order to view the raw XML -- in other words, without any "real" transformation by the XSL stylesheet. For example, suppose you need to customize...

DiffMerge - A Better Differencing Tool

Last summer, I added DiffMerge to my Toolbox and I haven't used WinDiff since. DiffMerge can do everything WinDiff can, plus a whole lot more -- like intra-line highlighting, merging, and comparing files using configurable rulesets (although you'll...

Internet Explorer 8 Upgrade

In case you missed the announcement, Internet Explorer 8 was released last week. I'll be honest, I tried one of the early betas of IE8 on a VM a long time ago, but I didn't spend a lot of time with it because it always seemed like there was some more...

The Simplest Way to Show Page Descriptions in SharePoint Search Results

As I mentioned in a previous post , some customers prefer to show page descriptions in search results instead of the HitHighlightedSummary rendered by default in Microsoft Office SharePoint Server (MOSS) 2007. After all, if content authors diligently...

To Dispose or not to Dispose -- that is the question

Last Saturday, another team member sent an email out to the team inquiring about the "MOSS object disposal problem" (as he termed it). Essentially, he was asking if anytime he referenced the ParentWeb property on an object, whether or not he needed...

ArgumentNullException with Optional PublishingPage.Description Property (with some thoughts on breaking the build, too)

Yesterday morning I broke the build. Ouch. Technically speaking, the changes that I checked in did not break the build, per se, but rather my changes caused a nasty ArgumentNullException while redeploying our SharePoint site. In "Developerspeak...

Visual Studio Macro for Collapsing All Items in Solution Explorer

Along with my Visual Studio macros for unloading/reloading projects in a solution , another macro that I use just as much, if not more frequently, is my CollapseAllItems() macro: Public Sub CollapseAllItems() Dim solutionExplorer As Window = _...

Visual Studio Macros for Unloading/Reloading Projects

As promised in a post last week, here are the macros that I use to quickly unload or reload dozens of projects in a large Visual Studio solution. Hmmm, perhaps effortlessly is a better word choice -- considering I might need to wait 30 seconds or so for...

Tracing and Logging from Visual Studio Macros

As I mentioned in a post last week, I often use macros in Visual Studio to automate development tasks. Before sharing some of my most frequently used macros, however, I wanted to first introduce the method I use to trace events and log messages while...

Large Visual Studio Solutions and Loading/Unloading Projects

As I noted in my previous post , I typically work with "large" Visual Studio solutions. Note that I put this in quotes, because the definition of "large" will likely vary widely based on your individual experience. Note that I'm not referring to "large...

Why I'm Not a Fan of WspBuilder

After 3 years, 2 months, and 30 days, my involvement with migrating a large customer from a legacy Web platform to Microsoft Office SharePoint Server (MOSS) 2007 came to an end a few weeks ago. Since then, I have joined another team helping a different...

Bug: Visual Studio 2008 Code Metrics and Referenced Assemblies

Since I seem to be on a roll this morning with blogging, I figured I might as well get one more post in before moving on to my "day job." During the process of authoring a different post earlier today, I stumbled across a bug while using the Code Metrics...

Excluding Various SharePoint Items from Search Results on Internet-Facing MOSS Sites

When using Microsoft Office SharePoint Server (MOSS) 2007 on an Internet-facing site, you almost certainly don't want to include items like announcements, contacts, etc. in search results. Consequently, I recommend customers create additional search...

Bug: MOSS 2007 Search Scope with Property Query Rules Only Is Considered Empty

In Microsoft Office SharePoint Server (MOSS) 2007 version 12.0.0.6335 (i.e. the December 2008 CU), there appears to be a bug where a scope that only contains Property Query rules is not recognized as having any rules at all (i.e. empty) and therefore...