all groups > visual studio .net general > july 2007 >
You're in the

visual studio .net general

group:

Team Foundation Server Team project out of sync with Sharepoint


Team Foundation Server Team project out of sync with Sharepoint J.Marsch
7/12/2007 4:12:55 PM
visual studio .net general:
Hello:

I am evaluating Team Foundation Server, and I have a little problem.
Somehow the Team Project seems to be out of sync with the Sharepoint portal
that is supposed to go with it.

Here's what I mean:

I created a Task using the team explorer in Visual Studio, but my task does
not show up in the sharepoint task list (it does show up in team explorer on
another machine, though).

Also, I added a user to the project from Team Explorer. The user does not
appear in any of the picklists in the sharepoint portal.

Does anyone know what I need to do to get things back in sync?

RE: Team Foundation Server Team project out of sync with Sharepoint v-wywang NO[at]SPAM online.microsoft.com
7/13/2007 1:23:11 PM
Hello J.Marsch,

According to your description, you meet a sync issue that the tasks and
users information is different between SharePoint Portal and Team Explorer.

For such issue, could you please collect some detailed information?
1) Which SharePoint portal you are using with?
Is it WSS which shipped by Team Foundation Sever, or the MOSS 2007 which
you installed by yourself?
2) Which Template you are using to create SharePoint portal?
Is it MSF for Agile, MSF for CMMI Process Improvement, or your custom
template?

By collection enough information, I will try to reproduce the issue on my
side and perform further analyze. If you have any more concern, please feel
free to post it here. I'm glad to assist you.

Have a great day,
Sincerely,
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Re: Team Foundation Server Team project out of sync with Sharepoint J.Marsch
7/13/2007 2:05:01 PM
Hello:

Here are the answers to your questions:
[quoted text, click to view]
I am using Windows Sharepoint Services, service pack 2. This is the version
of WSS that the "Installing Team Foundation Server" directed me to use. Per
the document, I downloaded the WSS from here:
http://go.microsoft.com/fwlink/?linkid=55087



[quoted text, click to view]
MSF for Agile



I have done some further testing, and the sharepoint portal does not seem to
be completely disconnected. If I add a document to the team project from
the VS IDE, the document appears in the Sharepoint portal instantly. For
some reason sharepoint "sees" my user account, but it does not seem to see
any other (I used my user account to install Team Foundation Server and to
install the sharepoint software, perhaps that is the reason that my account
appears).



I am beginning to suspect that the tasks in Sharepoint are not linked to the
tasks in Team Foundation Server (certainly there is a big difference in the
fields that are available). Are they supposed to be the same thing?



[quoted text, click to view]

Re: Team Foundation Server Team project out of sync with Sharepoint v-wywang NO[at]SPAM online.microsoft.com
7/17/2007 12:00:00 AM
Hello J.Marsh,
Sorry for late response, due to weekend.

I have tested this behavior on my Team Foundation Server.
There are four main folder (Work Items, Documents, Reports, Team Builds) in
each project on Team Explorer.
Under my research, the Documents folder is the only one which synchronizes
with SharePoint Portal. This is because TFS store each file in SharePoint
Portal Database directly.
Thus, if you make change in Document folder (add/modify/remove), the change
will show up in SharePoint Portal website instantly. There are shared the
same underlying database.

Besides that, SharePoint Portal website is a stand-alone website. There is
no way to know you added a new user on TFS. SharePoint Portal has its own
database for manage the user account and permissions. Therefore, after
created a new user account on TFS, you should also add the same user on
SharePoint Portal.
The document as below tells us how to add a user on SharePoint Portal and
remark it is necessary to add the new user on SharePoint account.
http://msdn2.microsoft.com/en-us/library/ms253071(VS.80).aspx
[How to: Set Project Lead Permissions for Windows SharePoint Services]

In addition, because the WORK ITEMS is not stored on SharePoint Portal
Database, the changes made on TFS will not reflect to the SharePoint Portal
too. In fact, the tasks (Documents and Lists | Lists | Tasks) in SharePoint
Portal is different from the work item on TFS, as you suspected. SharePoint
is a product used for company to share document. It is not only used by
TFS. This is a feature used for uses to keep track of work that his team
needs to complete. The information is stored on SharePoint Database. On the
other side, if you create a task in SharePoint Portal, no related work item
will display on TFS.

Hope I have clarified it clearly.
If you have anything unclear, feel free to update here. We are glad to
assist you.
Sincerely,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button