I am getting the following error in the event log when I activate the 'Office Sharepoint Server Publishing' feature:
Event log message was: 'Failed to create the 'Documents' library.'. Exception
was: 'System.NullReferenceException: Object reference not set to an instance of an
object. at Microsoft.SharePoint.Publishing.Internal.AreaProvisioner.
CreateDocumentsDocumentLibrary (SPList approvalTaskList)'
The following errors were picked up from the ULS viewer tool (I've had to shorten the errors for brevity):
(0x1EE4) 0x25C8 CMS Publishing Provisioning 5rob Critical Event log message was: 'Failed
to create the 'Documents' library.'. Exception was: 'System.NullReferenceException: Object reference not
set to an instance of an object.
(0x1EE4) 0x25C8 CMS Publishing Provisioning 75ot Unexpected Publishing Feature activation
failed. Exception: Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to
create the 'Documents' library.
(0x1EE4) 0x25C8 Windows SharePoint Services Feature Infrastructure 88jm High Feature
receiver assembly 'Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c',
(0x1EE4) 0x25C8 Windows SharePoint Services General 72by High Feature Activation: Threw an
exception, attempting to roll back. Feature 'Publishing' (ID: '22a9ef51-737b-4ff2-9346-694633fe4416').
(0x1EE4) 0x25C8 Windows SharePoint Services General 8grz High The feature '94c94ca6-b32f-4da9-
a9e3-1f3d343d7ecb' depends on feature '22a9ef51-737b-4ff2-9346-694633fe4416' which failed to activate:
(0x1EE4) 0x25C8 Windows SharePoint Services General 75fg High Exception was thrown while
ensuring dependencies met for feature 'PublishingWeb' (id: 94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb)
(0x1EE4) 0x25C8 Windows SharePoint Services Feature Infrastructure 8e0j High Feature
Activation: Failed to ensure feature dependencies for feature 'PublishingWeb' (id: '94c94ca6-b32f-4da9-
a9e3-1f3d343d7ecb')
(0x1EE4) 0x25C8 Windows SharePoint Services General 8dzz High Exception Type:
System.NullReferenceException Exception Message: Object reference not set to an instance of an object.