Microsoft Project Support Blog

The place to come for Microsoft Project, Microsoft Project Server and Project Online support topics

Project Server 2013: Project Sites, Alternate Access Mapping and Themes

Project Server 2013: Project Sites, Alternate Access Mapping and Themes

  • Comments 8
  • Likes

This posting came about following an issue spotted my one of our MVP’s, Hans Hoet of Ordina, Belgium.  There are a couple of issues that are worth being aware of relating to the automatic provisioning of project sites when you create a new plan from the Project Center in Project Web App (PWA), one relating to the use of Alternate Access Mappings (AAM) in SharePoint Central Administration and the second relating to the use of different looks to your project site templates.

*** Update 3/4/2013 - hopefully a fix for this first issue will get into the April 2013 CU for Project Server 2013 ***

First the issue with AAM.  If you have your alternate access mapping configured so that your Default zone uses just your machine name – for example http://project2013, and you then add a mapping for the Internet zone as http://project2013.contoso.com, and you have your PWA site directly under this Url then you will see this problem.  It only manifests when sites are created automatically when creating a new plan in PWA, so the steps would be to go to Project Center, create a new pan by selecting New, Enterprise Project (for example), give the new plan a name and then click Save.  All appears to be OK and the Schedule web part loads – but if you look at the queue you will see a job, Project Site Update, with a state of Failed But Not Blocking Correlation.  The error you will see if clicking on the link will start something like:

General

CreateWssSiteContent: Creating project site failed! Project Uid=bcf03024-4d5b-e211-93f8-00155d74660a, site URL=http://Project2013.contoso.com/PWA/TestProject123, site name=TestProject123. System.Runtime.InteropServices.COMException (0x81070907): <nativehr>0x81070907</nativehr><nativestack></nativestack>The folder that would hold URL _/PWA/oso.com/PWA/TestProject123_ does not exist on the server. at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateWeb(

The clue to the problem is the strange URL that it quotes - _/PWA/oso.com/PWA/TestProject123_, and it appears that deep in our code we are doing some substring manipulations and in this specific scenario the two Urls http://Project2013.contoso.com/PWA/TestProject123 and the shorter http://Project2013/PWA/Project2013 are getting crossed and that is where the …oso.com, the end of Contoso.com, is coming from.

There are a couple of easy workarounds, and it could even be considered that these are probably the better way to configure things anyway.  The first would be to use the fully qualified domain name (FQDN) as the Default zone Url, and then add an Internal Url to the same Default zone for the server name – http://Project2013/.  Another option would be to set the FQDN as the Default zone Url and then add the shorter version as the Intranet zone or Custom zone.  Either of these would mean that the strings wouldn’t get confused and the site would get created.

On to the second topic – creating and using custom Project Site templates.  I’m not specifically covering how you would create a custom template, and this hasn’t really changed much from 2010 – just the place you start from, The Settings ‘Gear’ in the top right, then Site Contents and you can create template site from their.  See http://blogs.msdn.com/b/brismith/archive/2010/03/15/customizing-the-project-site-in-project-server-2010.aspx for the full 2010 details and I’ll probably add a new 2013 version soon.  One option for sites in SharePoint 2013 – and this is just as applicable to Project Web App and the Project Sites is to ‘Change the Look’.  So for example I can take a new blank (not connected to a project) Project Site – and change the look to one of these delightful samples:

imageFor example I could choose the one in the top right, and also add a new Link to this blog, and then save this as my template.

imageThen make this the Project Site template that gets used for any new Enterprise Project Type (EPT) of Enterprise Project and create a new plan.  What do I get?

imageNot quite what I was expecting.  Well actually I’d done it before and also followed the code in a debug session – so it was what I was expecting…  At least this time.  When we provision a new site we are also applying the theme of PWA to the site – so this ‘undoes’ some of the customization that you might have expected to see *** update 3/4/2013 (confirmed with the Product Group that this is considered 'by-design' and was a conscious branding decision)***.  I do still see my new link – and if I had added content I would still see it (assuming I had checked the option when creating the template to also save the content).  I have also seen some issues if you then try to ‘change the look’ of this new site – with the ‘change the look’ page being empty – as if the Gallery contained no options – or in some cases just showing the current version.  I think this may be related to the first issue – as in preparing this blog posting and using the workaround for issue 1 of using the FQDN and adding the Internal Url for the machine name all seems to be working OK.  Just to prove it I’ve re-applied the same look to this site, which showed as the ‘current’ one anyway (because we had programmatically overwritten some stuff) and got back to:

imageI still think there is some work to do here both in terms of understanding the themes and the galleries, and for the first issue there is a bug logged, although with the workaround looking OK I’m not sure when this will get fixed.  Also I have an ongoing thread with Hans, who brought this to our attention, as in his environment, which includes other AAM settings and is running on Azure VM’s (this technology is in preview, so not currently supported), there are still some provisioning issues.  So probably more later perhaps including a posting on the use of Azure virtual machines for Project Server 2013…

Comments
  • Nice article ...

  • Great article Brian Smith. Congrats.

  • Hi Brian, are there any plans for Microsoft to fix the first issue?

  • Hi Brian,

    This article is brilliant and very difficult to find!!

    We are having both problems at the moment, the first with the AAMs exactly as you have described it. We did guess that substring manipulation was used. However were still investigating the second issue, our issue is slightly different where by we are setting the theme of a project site on project site provisioning which is giving us a very odd behavior.

    It works for the first little while until (it appears due to caching) and then after that it seems to loose the CSS on both the project site and the root site and the whole site gets messed up until you reset the theme through the interface.

  • great article :)

  • Hi Brian I have a problem with my Project Site in 2013, I've build it as desired and am ready to save it as a template then associate it with my Enterprise Project Types, buy when trying to save it as template, I get an error, 'Something Went Wrong' and when click on the technical details it gives correlation ID etc! any idea why I get this error? Thanks

  • Great

  • What a wonderful article.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment