Integrating Project Server 2007 and Team Foundation Server 2008 Sharepoint Sites

Just trying to read the title of this article is quite a mouth full, so I will start by explaining where this idea came from and why I am not using the acronyms as most IT people do.

I have just recently moved from Johannesburg to Cape Town and joined a very dynamic consulting company that also happens to be a Microsoft Gold Partner (x4). To my surprise (unlike most other MS Partner’s I know) they are actually very high tech and utilize all the Microsoft technologies that they sell.

My first task as the new “Sharepoint Architect” was to complete their internal MOSS deployment and then upgrade the company from Project Server 2003 to Project Server 2007. After I completed this process I also found that the development team was running Team Foundation Server 2008. This is all good and well, but it created some problems.

The problem came in the fact that both Project Server 2007 (PS from now on) and Team Foundation Server 2008 (TFS) created their own Sharepoint sites independently. This might not seem like a problem until you try and consolidate all the documentation pertaining to a customer in one single location.

The solution to the problem is quite logical, but unfortunately not that simple to do. Point both PS and TFS to look at the same Sharepoint Site. This is therefore the topic of discussion in this article and I will demonstrate how to do this.

The reason I am not starting this article using the acronyms is based on the sad fact that not many companies are using these technologies and therefore the acronyms might seem unfamiliar. This is due to a number of reasons such as cost, new tech and complexity, but this is not something I am going to debate at this point.

So, before I climb in and start explaining the process, let’s create a quick list of what needs to be done.

Task Reason
1: Install WSS 3.0 or MOSS 2007 This is the basis of the technology for both PS and TFS.
2: Install Project Server 2007 Need this to run enterprise projects.
3: Install Team Foundation Server 2008 Need this to run Development Teams
4: Create Project in TFS This will create a Sharepoint Site Collection
5: Create a Project Plan in PS This we will link to the TFS Sharepoint Site.
6: Activate correct features in the Site This is required to make the two products share the same site.
7: Verify Solution Check that both products are using the same site.

For the purposes of this article I am going to assume that MOSS, Project Server 2007 and Team Foundation Server 2008 are already installed. I am going to start the explanation from the TFS side of things.

Creating a New Project in Team Foundation Server 2008

The process of creating a new TFS project is very similar to creating a normal project in Visual Studio 2008. From the “File Menu”, select “New Project”. This will launch a Wizard that will guide you through the rest of the process to configure a TFS “Team Project”.

null

The first dialogue box will prompt you for the name of the Project. This should be fairly descriptive based on the project that you are creating and will also determine all the default names used in the rest of the process. Select “Next”.

null

The next dialog box will prompt you for the methodology to be used. As most Microsoft Developers know by now the default methodology preferred by Microsoft is MSF. The “Microsoft Solutions Framework” has been developed by Microsoft to stream line SDLC process as far as MS tech goes. Unfortunately this is so convoluted that most development houses refused to use it. Microsoft therefore created a light version of this called “Agile MSF” and this has become quite popular.

It is not my intention in this article to debate the pro’s and con’s of methodologies, so pick one and select “Next”.

null

This is the important dialog box. This screen allows you to specify the name of the Site Collection that will be created in WSS or MOSS to host the documentation for the project. There are a number of things to note on this screen.

TFS creates “Site Collections” and not sites in WSS for each project that you create. I personally believe that sites would have been sufficient, but so be it.

The URL of where this site collection will be created cannot be changed. This is configured during the installation of TFS, so think carefully before installing TFS. It is much easier to tell Project Server 2007 where the site is located and therefore I adopted that route.

Not much to do here. Select “Next”.

null

This dialogue box allows you to create a new folder in “Visual Source Safe” (VSS) to store the source code for the project. There is therefore a clear distinction of where the documents are stored and where the source code is stored.

Documents are stored in WSS, which can be a remote server and the “Source Code” is stored on the TFS server. Select the appropriate options and then select “Next”.

null

The last screen of the wizard is just to confirm the settings that you chose. Confirm that they are correct and then select “Finish”. The wizard will then create the appropriate components.

Once the wizard has completed the process we can use the “Team Explorer” to verify that everything is correct and functioning properly.

You will notice that there is a folder called “Documents” that will allow you to manipulate all the documentation concerning the project directly from within “Visual Studio 2008”. This folder integrates directly with the site created in WSS.

It is also possible to manipulate the documentation through the TFS web site that is created during the installation process. This allows remote access without having “Visual Studio 2008” installed.

The TFS web site is deployed separately from the WSS site and in my case is running on completely separate servers. Security is also handled independently from WSS.

All documents stored in the WSS site can be access by navigating to the “Documents” tab after selecting the appropriate project in the drop down box on the left of the screen.

Last but not least. The documents can be accessed by navigating directly to the Sharepoint site from your browser.

null

Now that the TFS side of things is operational, it is time to take a look at how we integrate Project Server 2007 into this solution.

Creating a New project using Project Server 2007

The concept of “Enterprise Project Management” (EPM) in the Microsoft concept of things is a combination of Project Professional 2007 and Project Server 2007.

The project plans are created using “Project Professional 2007” and once they are completed, are published to “Project Server 2007” so that they can be access by the team members.

null

It is not my intention to explain how the whole EPM process fits together. This would take a whole series of articles. I am merely explaining how the Sharepoint components fit together.

Once the project plan has been completed and the project is about to start, it is time to publish the project plan to PS.

This is done by selecting the “Publish” option from the file menu. A dialog box will be initiated that will prompt you about the publishing options.

null

Project Server 2007 is installed as a solution on top of WSS. PS will therefore default to the web application that was created during the installation process.

This dialog box is prompting for the location of the Sharepoint site that will be associated with this project plan.

If PS was running as a standalone solution without the need of integrating with TFS, the normal procedure would be to create a Sharepoint site in this web application.

Due to the fact that we are going to use the TFS site instead, we are not going to create a workspace at this time. Select the “Publish” option to complete the process.

null

Now that the project plan has been published, we can view it using “Project Web Access” (PWA).

null

Note that at the bottom of the “Home Page” in PWA there is an area called “Project Workspaces”. This area display’s links to the various Sharepoint sites connected to the various project plans.

If the publishing process was done correctly, there should be no link for the project plan that we published earlier.

Now we start the process of connecting the TFS Sharepoint site to the PS project plan.

Connecting the TFS site to the Project Plan

The first time I attempted to do this the process failed with a number of errors. After some investigation I found out that this has to do with certain “Features” that need to be enabled in the TFS site before PWA will accept the site as valid.

To do this we need to complete the following steps:

  1. Navigate to the Sharepoint site using you browser.
  2. Select “Site Settings” from the “Site Actions” menu.
  3. Select the “Site Features” option.
  4. Active the “Project Server” features.

null

There are two features that need to be activated:

  • Project Proposal Workflow
  • Project Workspace Collaboration Lists

These features are required as PWA uses these features to display information from the project plan directly in the Sharepoint Site.

Now that the Sharepoint site is compatible with PWA, we need to point the workspace in PWA to the TFS site.

This is done by navigating to the “Server Settings” page using PWA.

On this page you will find a linked called “Project Workspaces” under the section called “Operational Policies”. Select the link.

null

This option will open a page displaying all the workspaces connected to the various project plans. You will note that the project plan I published earlier has no workspace associated with it.

To change this we need to select the “Edit Site Address” button on the toolbar after highlighting the correct project plan.

null

On the corresponding dialog box you will be given the option to configure the URL to point to the Sharepoint site created via TFS.

This is done by selecting the correct web application and then completing the path with the virtual directory folders settings.

After committing these changes we can test the solution by navigating to the “Home” page in PWA and selecting the workspace link next to the project name.

null

This should then take us to exactly the same Sharepoint Site that TFS is using.

Conclusion

By combining the Sharepoint site between “Project Server 2007” and “Team Foundation Server 2008” we have created a single location for storing all the documentation and various other pieces of information for a customer project.

Let’s break down the advantages:

· TFS stores the source code for the project.

· TFS has task management at a low level to micro manage the SDLC process.

· Project Server has the project plan and all the mile stones.

· Team members book their time against the mile stones in PWA without having to do this at a micro level.

· Invoicing can be done from Project Server by exporting the data.

· Sharepoint stores all the documentation concerning the project from both the TFS and PS side of things.

· Sharepoint provides collaboration features in the form of Discussion, Calendars, Meeting Workspaces and more.

· It is not a big stretch of the imagination to see where MS CRM is going with this!!!

Once again Sharepoint is becoming the core of business going forward into the future as far as Microsoft is concerned.

Twitter Digg Delicious Stumbleupon Technorati Facebook Email
  • Great article Neil. Good to see excellent content coming out of South Africa !!! Loved your use of screenshots. thanks :)
  • Thanks Arno.
    I think I will be writing and article on Hyper V and the MOSS deployment environments next.
  • Eric Safin
    Neil, thanks for a very comprehensive guide. It was very helpful. I have a question about more detailed integration of the TFS and Project Server 2007.

    My company is in the midst of planning of integrating TFS 2008 and Project Server 2007. Currently, TFS contains all production service requests in Work Items folder in the TFS. This is how the requests for application maintenance are entered by the tier support personnel. Work items are broken down by a specific maintenance project (App Maintenance, Imagewrite Maintenance etc.)

    Project Server contains related project plans and all resource allocation information (through Project Central and Resource Central of the Project Server). The project plans published for the maintenance projects contain all tasks associated with the maintenance cycle (single request or potential application release). This helps us to allocate time per resource dedicated only to the maintenance project.

    Is there a way of mapping Work items in the TFS (as they being submitted to the TFS on weekly basis) to project plans published in Project Server? Can you point me to a source of information on this issue?

    Thanks a lot in advance,

    Eric Safin
  • Hi Eric,
    I think this is what are you searching for.

    http://www.codeplex.com/pstfsconnector

    Bye
    Valerio
  • neilvw
    Hi Eric

    I have not encountered anyone or even anything on the Internet relating to what you are trying to do. It does make sense to me why you would do this.
    I will attempt to find a solution for you and let you know.

    Regards
    Neil van Wyngaard
  • Megan
    Thanks for the article. I am an EPM Specialist for our organization here in Durban and am currently investigating the installation of the VSTF connector for one of our departments, so nice to see the WSS integration too in case we go down this route.
  • Half Abude
    Very good Neil!
    In my opinion, VSTS is more complicated than it should be. I found Project Server 2007 much more easy to set up, diagnose and control. As you, I'm also from a partner that uses A LOT all Microsoft Technologies, and I'm in charge of our EPM environment. I've noticed that your "Reports" folder is marked with a red cross, do you know why? The same happens in my env!
  • The red "X" is present because permissions must be set at each tier, you must grant the user access to SSRS and WSS sites independently.
  • Harpreet
    What should I do if Project Server 2007 and TeamFoundation Server 2008 WSS is on different servers ?

    Harpreet
  • rsmyers2
    Thank You very Much Neil.. my issue is a bit more basic.

    I can't get SharePoint 2007, Project Server 2007, and TFS 2008 to install.
    I get SharePoint and Project together kay.. but no success at all with TFS 2008.
    Every attempt brings a new error from missing templates.. extensions.. userid issues..

    Is there a documented procedure out there that for installaing these 3 applications on the same server ?
  • Grammy Leung
    Cool! Really Cool!! Damn Cool!!! i will follow this and try to make it be done! thx alot!
  • Grammy Leung
    Hi, i have a question to neil, in the m$ official webbroadcast, an idea introduced that to use a connector to make it synchronized between tfs-ps. do u think it workable? thx.
  • Hi Neil,
    I am working in similar environment where we integrate TFS and MOSS2007. There is no PS in picture.
    As you said that for each project a separate site collection is getting created in MOSS. I have tried to see the Project collection in MOSS from administrative site, but I could not find any such site collection. For example...
    My project site is http://projectMoss/sites/MyProject

    As MyProject is a site collection created on MOSS I sould be able to see its entry in list of existing site collection on MOSS.
    But I could not found such site collection there.
    I want to access top level site of this collection in one of my webpart on the home page of my intranet site which is MOSS2007
  • niravpatel
    hello Neil,
    A very good article and very useful one for me.
    I have a query, I will be thankful if you will be able to solve it.

    In our company intranet we have integrated TFS and MOSS2007. As I read in this article is that each project site is created as a new site collection in MOSS, I did not find a single site collection for the projects in the compan. I have tried to find out the entry of SiteCollection for a particular project in MOSS from Administrative site, but I could not find such sitecollection. Eventhough I can access the projectsite collection through url in my browser.

    Actually I want to access top level site's data of this project sitecollection into a custom webpart. But I could not being able to see the site collection in the list of site collection in MOSS.
  • Neal, this is a great comment. I will take the opportunity to read it over in detail and implement in my current environment, very similar to yours except for the fact that I run WSS 3.0 in both instances instead of MOSS. Any special 'tips' toward this fact, will be pretty much appreciated.
  • tony cosentino
    Great article! Do you know if you can use TeamPlain Web Access with project server? It seems after integrating project server with TFS, you get the standard SharePoint interface. I want to use the TeamPlain Web Access interface with TFS and project server.
  • Romel
    New to this whole sharepoint world... have project server 2007 and TFS 2008 on seperate servers. When I go to the site features of the TFS to enable the "Features" project server requires they are not listed; all I have is "Team Collaboration Lists" listed so I am unable to activate those feautures. Is there a way to get those Project Server specific site features over onto my TFS sharepoint site?
  • Pingback from PJonDevelopment. http://tinyurl.com/ldpmer

    Nice tutorial.
  • John1974
    Hello there!

    I am unable to get this working as I am unable to accomplish the step where you have to assign a Project WorkSpace!

    When I go to Server Settings -> Operational Policies -> Project Workspaces and Edit Site Address:

    I do not get an option to change the SharePoint Site URL to TFS sharepoint URL. The "Web Application" drop down only lists the Project Server.

    Thanks in advance

    Cheers!
    John
  • viniciusmoura
    Neil,
    This guide is very funny. I connect perfectly VSTS and Project Server. On my case, I have two servers, VSTS Server and Project Server.
    But I have only one doubt. On last step, "Edit WorkSpace Address", What do I put? The URL of VSTS Server or URL of Project Server? On Publish Project, I already created the WorkSpace. Is It correct?

    Best Regards.
  • hakankk
    Hi,
    I have a problem. I could not find an answer however make a big search in the web. And I decided to ask this problem to the experts of this issue..
    I installed teamserver to my windows server2003(updated)(With the guide of installation-step by step-) And it has succeeded..
    Then I Wanted to install project server 2007 too. But I could not.
    When Installing ProjectServer 2007, Installation is OK. When it has finished a screen which has "configuring sharepoint" checkbox" AndI checked it, OK. And I encountered this error here (In the error log file) :

    "
    An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. Additional exception information: Failed to upgrade SharePoint Products and Technologies.
    Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException: Exception of type \'Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException\' was thrown.
    at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
    at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()"

    I have tried this(all installation steps -beginning from sqlserver to the teamserver and project server-) 3 times..

    So Could't I install "team foundationserver 2008" AND "project server 2007" to the same server (single server: application and data tier is in this) ?
    Or what can I do for it?

    I think the problem is: as you know team server configures the sharepoint and project server also wants to do that.. And they are in war : )


    Please help me..!
  • hrvojev
    It is possible.
    1. Install the Project Server but do not launch WSS Configuration Wizard
    2. Install TFS and configure the WSS (with those command line commands)
    3. Configure the PWA site on the WSS

    Good luck!




  • oscarzoso
    Hello Neil.

    now, I Angelis on a migrating a TFS server, which had not originally installed Project Server, but now in the new server is integrated with Project Server, but I had some problems in the process, my question is: You can restore an old server and likewise integrated on Project Server?

    Greetings and thanks

    (Excuse my bad English)
  • eleonorapearodriguez
    Hi

    The connector is installed ok.

    The browse web site connector messaje: service unavailable?

    What do I?

    Eleonora
blog comments powered by Disqus