SharePoint site collection access 404 page not found error

If you encounter some of the errors below and especially when trying to access a page or the front page of a site collection or site then the problem might be related to missing page layout or master page references.

This may be due to the fact that you have migrated content from an older SharePoint version and the content database is referencing an older hive version.

So check that you solution packages are installed using compatibility mode:

install-spsolution -identity solution.wsp -webapplication “site url” -gacdeployment -CompatibilityLevel All

Relying on fallback logic in VghostPageManager::getGhostDocument() for document: ‘C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\SiteTemplates\somesite\default.aspx’

This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.

Advertisements

Resources: Sharepoint Page Layouts, Custom/Application Pages and Master Pages

Create a New Page Layout in SharePoint 2007 – Feature-Based

SharePoint Application Page with Custom Controls

Creating an Application Page in Windows SharePoint Services 3.0

Adding a “Last Modified” Date on SharePoint Pages 

Master Pages:

How to Create a SharePoint Server 2007 Custom Master Page and Page Layouts for a Web Content Management Site

Setting SharePoint Web Master Pages Programmatically

Unable to Change Site MasterPage

CleverWorkarounds » SharePoint Branding – How CSS works with master pages – Part 1

CleverWorkarounds » SharePoint Branding – How CSS works with master pages – Part 2

CleverWorkarounds » SharePoint Branding – How CSS works with master pages – Part 3

CleverWorkarounds » SharePoint Branding Part 4 – Packaging up your masterpiece into a Feature

CleverWorkarounds » SharePoint Branding Part 5 – Feature Improvements and Bugs