No Error Displayed When Database Update Fails

Here’s a nasty bug that I ran into about three weeks ago… If you attempt to modify a view on a list in Microsoft Office SharePoint Server (MOSS) 2007, but SharePoint is unable to save your changes to the database, no error is displayed in the UI. It just silently ignores the error and returns…

0

Creating Document Center Sites on a Publishing Portal

Here is another issue I discovered long ago, but haven’t blogged about yet. Shame on me. When kicking off my current project back in December, I was convinced that a Document Center site in Microsoft Office SharePoint Server (MOSS) 2007 was the best choice for migrating my customer’s legacy document management system. My primary reasons…

0

Master Page Not Inherited by Document Center Sites

This isn’t a recent discovery — I first encountered this in late Februrary — but I realized that I had not yet covered this issue in my blog. If you happen to be using the Document Center template in Microsoft Office SharePoint Server (MOSS) 2007 for a site and you also elect to use a custom master page…

0

Always Specify <FieldRefs> Element with Custom Content Types

I came across a nasty bug earlier this week in Microsoft Office SharePoint Server (MOSS) 2007 — especially nasty because troubleshooting it primarily involved trial and error since there were no error messages displayed on the page, in the SharePoint log, or in the Windows event logs. I even attached the debugger and set it…

1

The Case of the Disappearing Hosts File

Hmmm…how should I phrase this? It has been a very educational couple of weeks on my current SharePoint project. During the rebuild of our Test environment, the SharePoint Products and Technologies Configuration Wizard failed when it was unable to find the %SystemRoot%\System32\drivers\etc\hosts file. We had encountered this error during the original installation on the SSP…

13

Team-Based Development in Microsoft Office SharePoint Server 2007

Eric Charran has posted an article on MSDN with some great pointers on developing SharePoint solutions in a team environment: http://msdn2.microsoft.com/en-us/library/bb428899.aspx This is an interesting read and well worth the time spent. Overall I agree with the two approaches that Eric describes (i.e. assembly development vs. artifact development). However, at least in my opinion, certain aspects of the…

1

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

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