August 2009 Entries

Invalid field name. {9da97a8a-1da5-4a77-98d3-4bc10456e700}

Problem Description When trying to create a new publishing page based on a custom content type you may encounter this error. You’re more likely to see it if you’re trying to save your page to a location other than the default /pages/ document library. Solution This problem occurs when your custom content type definition or your list definition doesn’t reference the base fields required by the publishing infrastructure. In the feature defining your content type and list make sure that you include: <!-- Title Column --> <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="TRUE" /> ...

Connection String error when installing MOSS SP2

Problem About 6 weeks ago I set about upgrading a few neglected dev servers to MOSS SP2, the process completed but reported errors similar to the following: Event Type:    Error Event Source:    SharePoint Products and Technologies Configuration Wizard Event Category:    None Event ID:    104 Date:        8/10/2009 Time:        1:49:23 PM User:        N/A Computer:    MYSERVERNAME Description: ...

NavBars – If only it was that simple!

Packaging and deployment is often a pain when it comes to SharePoint development. Don’t get me wrong, the infrastructure provided by Microsoft is very powerful and flexible enough to accommodate practically anything but sometimes it doesn’t quite work the way you think it should. One of the key elements of any web site is navigation. More often than not there’s at least one menu bar containing links to other pages within the site. This is one of the areas where SharePoint can be very helpful. Whenever you create a page or any other content, more often than not you’re...