Tuesday, 25 February 2014

Service Pack 1 for Microsoft Project Server 2013 (KB2817434)

Service Pack 1 for Microsoft Project Server 2013 contains new updates which improve security, performance, and stability. Additionally, the SP is a roll-up of all previously released updates.

http://www.microsoft.com/en-us/download/details.aspx?id=42011

Thursday, 21 November 2013

Error 18003 and 26000 when publishing a Project to create associated SharePoint Workspace/Site

Recently a user encountered the following error when publishing a project. The project was created using a custom EPT with custom SharePoint Site Template.

-----------------------------

The errors returned from the queue are as follows:
Error ID: 18003
Error ID: 26000

Detailed error below - send it to the administrator for more detailed troubleshooting.

<?xml version="1.0" encoding="utf-16"?>
<errinfo>
<general>
<class name="Web is not a child of the default site collection">
<error id="18003" name="WSSWebIsNotUnderDefaultCollection"

----------------------------------

Steps taken to Test (replicate) Issue;

1) Test the project creation using default and custom EPT and publish from PWA.

2) Check/Validate Message Queues i.e. no issue with the Project Server Queue service and that the jobs are they draining/being processed as expected.

3) Test the custom EPT with default Microsoft Site Template.

4) Test the creation of SharePoint site manually via PWA site collection > Site Settings > Sites and Workspaces using both the default Project Site Template and Custom Site Template.

What I Encountered – My Findings

The site creation failed with project creation and manual process. Issue with both default and custom templates. Creating the site manually gave the following error message. See fig below. It was related to a missing Site Collection  feature.

image

Next, use Powershell to get the name of the feature it is referencing:

Get-SPFeature -Identity <GUID>

image

This feature should be enabled or disabled on both the site collections.

In my case it was OpenInClient. This was found to deactivated. The issue was resolved by activating this feature at PWA Site Collection level.

List of all the Features and Associated Correlation ID

Refer to: <I will add to the following post>

Lessons learned

  1. Keep a note of all configuration changes and review impact i.e. feature enabled and disabled.
  2. If features are modified at PWA Site Collection level, reset your site template and associate with the appropriate EPTs. 

Hope this helps.

Wednesday, 20 November 2013

Overwriting Existing Enterprise Project Schedule/Plan with Externally Provided Plan

So you are using Microsoft Project Server and you have a need to regularly show updated external project schedule in your portfolio of Enterprise Projects. How can we do this whilst maintaining continued use of Project related artefacts such as documents, workflow, risks, issues etc?

image

You can do this by importing the external project schedule/plan and saving this with the SAME name as the existing Enterprise Project. Doing this retains the internal project GUID and, hence, maintains its links to Workflow, SharePoint Workspace and other artefacts.

Here are the general steps;

  1. Make a note of the EXACT name of the Enterprise Project Plan to be replaced. You can do this either from Project Centre or Project Pro > File Open dialog box.
  2. Using Project Professional, open the external project schedule/plan provided by your external contractor or consultant.
  3. Review and modify plan if necessary.
  4. File > Save As > Choose SAVE option in the ‘Save to Project Server’ dialog box.
  5. You will then be prompted the option to overwrite existing project in the server. Choose OK. See example figure below.

image

image

Hope this Helps. Enjoy project….ing!!

Thursday, 7 November 2013

Web UI to Build Windows PowerShell Commands for SharePoint

How cool is this!! Web UI for building any Windows PowerShell command you may need!

Simple and easy to use! And, no need to keep file away a big list of commands only to loose it and spend time searching for it. Give it a try….

http://www.microsoft.com/resources/TechNet/en-us/Office/media/WindowsPowerShell/WindowsPowerShellCommandBuilder.html 

image

Applies: SharePoint 2010/2013 and online services

Enjoy SharePoint…ing!!

Monday, 9 September 2013

SharePoint – Portal Short URL resolution / Redirect to fully Qualified URL

I came across a user requirement to ensure that the short URL for a portal was resolved to a fully qualified domain URL. For example when users access http://portal they are automatically redirected to the fully qualified URL http://portal.contoso.com .

By default, what happens is when you enter a short URL, say http://portal/IT the browser shows the short URL rather than a fully qualified URL http://portal.contoso.com/IT

You really want the best of both worlds!! Allowing the user to type in whatever they want but resolving this automatically in the background. I find that the users want to simply type in the short URL as it is easier and quicker.

In my case, the business had a specific requirement to ensure consistency when sending links to documents, manage corporate branding and compatibility for bespoke application built on SharePoint.

Steps to take to implement this solution;

1 First, create a new website on the Web Server within IIS
  image
  Add the Host Name i.e. the short URL part. See example image above.
2 Next, Select the HTTP Redirect option for the newly created website.
  image
3 Select the option to Redirect and enter the fully qualified URL here. See example figure below.
  image

That’s it. you may need to restart this new website.

Now test the navigation thoroughly.

Friday, 6 September 2013

SharePoint/Project Server 2013 Product Preparation Tool Error “The tool was unable to install Application Server Role, Web Server (IIS) Role”

While running the SP2013 Preparation tool I came across this issue..“The tool was unable to install Application Server Role”

image

Web Server role was already enabled on the server by the infrastructure team. What transpired was that the .NetFramework 3.5 was not installed by default and could not be installed by when enabling this through the ‘Add Roles and Feature Wizard’.

image

To resolve this issue, install .NetFramework 3.5 from the wizard but this time I chose to install from the installation media.

 image

image

Now, complete the prerequisites using SharePoint Preparation Tool.

image

VoilĂ !!

Hope this helps.

Thursday, 5 September 2013

SharePoint – Dynamically Hide Left Navigation (Re-usable Approach)

Applies: SharePoint ; Project Server

So you have deployed SharePoint and want to customise the look & feel and provide your own navigation from the Intranet/Portal Home Page/PMO Site or Project Workspace. But, you just cant seem to get rid of the left navigation. 

image

The easiest way to do this is to hide this navigation on page load, dynamically. Below are the steps to take;

  1. First, download zipped files containing text files (SP2010 OR SP2013)  that have script to hide the navigation.
  2. Extract the required file and upload to Site Collection library. any discreet library location is fine.
  3. Right click on this file and copy shortcut.
  4. Navigate to page where you want to hide the left navigation and select Page > Edit 
  5. Insert Content Editor Webpart (under the Media Category of Webparts). See figure below.
  6. Edit this Webpart and insert the Shortcut copied during step (3) above.
  7. Set the Chrome State > Chrome Type to None
  8. Click Apply and OK for the webpart.
  9. Finally, click Save & Close on the Page Ribbon Tab

image

Note: to restore the left navigation, simply put the page in edit mode and delete the content editor webpart.

Hope this helps. Happy customisation and enjoy SharePoint…ing!!