Out-of-the-Box Permission (Policy) Levels

For a couple of months now, I have been using the following command to add myself to a Microsoft Office SharePoint Server (MOSS) 2007 site restored from a different server: stsadm.exe –o addpermissionpolicy –url http://foobar/sites/Migration -userlogin {DOMAIN\username} -permissionlevel “Full Control” This site is backed up from our Test environment (where the business users specify the…

1

Structuring Visual Studio Solutions

Over the years, I have refined how I create Visual Studio projects based on lessons learned and new capabilities provided with each subsequent release of Visual Studio. When starting a new project from scratch, I start by creating a blank Visual Studio solution. [This “clean slate” scenario doesn’t happen very often, but I can easily…

4

SQL Server Authentication Modes

A fellow consultant here in Denver sent out a message yesterday inquiring about formal recommendations regarding the use of Windows Authentication vs. SQL Authentication. It seems that quite a few customers out there ponder these choices for a variety of reasons. I dug up an email that I had sent to a different customer (that,…

1

Testing for Expected Exceptions with Visual Studio

Since I seem to be on a roll blogging this morning, I thought I’d see if I could get one more in before my baby girl wakes up to have breakfast with “Da-da.” When transitioning a couple of years ago from using NUnit to Visual Studio 2005, I noticed that the ExpectedExceptionAttribute didn’t quite do…

1

What’s in a name? "DefaultFeatureReceiver" vs. "FeatureConfigurator"

In my previous post (Scope Dependencies for SharePoint Features) you may have noticed that in the Feature.xml file, I specified the feature receiver class as DefaultFeatureReceiver but the code sample is actually from FeatureConfigurator. This warrants a little explanation. In order to simplify the development and debugging of feature receivers, I find it much easier…

1

Scope Dependencies for SharePoint Features

While integrating various SharePoint features last week, I discovered some of the details around the dependency rules when trying to associate one feature to another. In our solution, we have created a feature for specifying custom fields (i.e. columns) and content types. This feature is called the {Fabrikam Project1} Publication Content Types [company and project…

2

"Error Creating Control" when using Microsoft Office SharePoint Designer 2007

If, like me, you happen to encounter the following user experience when attempting to edit a master page… Figure 1: SharePoint Designer – “Error Creating Control” See full-sized image. …then follow these steps to resolve the issue: Start Control Panel and then open Administrative Tools. In Windows Vista, right-click Microsoft .NET Framework 2.0 Configuration and click…

10

Be "In the Zone" to Avoid Entering Credentials

Since I tend to work on server products such as Microsoft Office SharePoint Server 2007, I frequently see developers and other team members that I work with constantly entering their credentials when browsing to some Web page on a server. While this experience might be considered useful in some scenarios (e.g. testing the site as…

1

BackedUp and NotBackedUp

About four years ago, one of the partners that I was working on an engagement with commented on how developers tend to have their own unique way of managing files, but that mine was one of the most bizarre he had ever seen. It has been four years, but I believe the statement Ted made…

7

Who is this guy?

Ugh! I reserved my MSDN blog address in May of 2005 and almost two years later I am sitting down to author my first blog post. I joined Microsoft in September of 2000 after a series of interesting experiences in the telecommunications and healthcare industries. My software career began with what was supposed to just…

1