Pages

Friday 25 January 2013

Enable Custom Master Page on Project server 2010


Project server 2010 is based on SharePoint 2010, But it does not allow you to change master page in default, You will got error for assembly is not register as Safe Control. What you have to do to apply custom master page is.

Step 1 :
Open Web.config as Administrator and Find  </SafeControl>. Add Following assembly references before this tag

<SafeControl Assembly="Microsoft.Office.Project.Server.PWA, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.Project.PWA" TypeName="*" Safe="True" />

<SafeControl Assembly="Microsoft.Office.Project.Server.PWA, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.Project.PWA.CommonControls" TypeName="*" Safe="True" /><SafeControl Assembly="Microsoft.Office.Project.Server.PWA.ApplicationPages, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.Project.PWA.ApplicationPages" TypeName="*" Safe="True"/>


Step 2:
Find  “SafeMode”  in Web.config and Replace with below tags
<SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">
 <PageParserPath VirtualPath="/PWA/*" CompilationMode="Always" AllowServerSideScript="true" />
      </PageParserPaths>
    </SafeMode>

Now you can easily enjoy custom master page for Project server 2010,
To make more easy, just enable the publishing feature at site, and you can change master page from site settings

2 comments:

  1. I read Microsoft doesn't support changing master page in Project Server 2010. Any thoughts ?

    ReplyDelete
  2. yes its true , Microsoft doesn't support it, but this is workaround because lot of customers wants custom design.

    ReplyDelete