Connector Problems

Apr 3, 2008 at 9:37 AM
Edited Apr 4, 2008 at 7:35 AM
Hi

I installed the connector on a two box scenario. The "Microsoft Project Server 2007 Connector – Project Server Component" part of the connector on the machine with project Server 2007 and the second and third part on the TFS 2008 machine. Then I created a team project in TFS2008 using the standard Agile process template (Connector), and a project in PS2007 with some tasks(Everything like explained in the connector end user manual). After doing a association
( http://ppnftc8z.multipic.de/unbenannt3.jpg.html ) with selection of the manual checkbox, I can't create assignments between the projects "Neues Produkt"...Although the tasks of the Project server are visible if I click the by assignment button ( http://ppnftc8z.multipic.de/unbenannt.jpg.html ), and the Work Items of TFS 2008 are visible if I click the by workitem button ( http://ppnftc8z.multipic.de/unbenannt2.jpg.html ). Whats going wrong?

Also the Connector log is empty: http://ppnftc8z.multipic.de/unbenannt6.jpg.html

For the other Projects I created and connected I checked the 2 autocreate checkboxes. Now they are locked but if I create a WorkItem in TFS2008 and save the project it is not visible/transmitted on the Project Server (Project Web access) , so it is not automatically transmitted to the Project Server. Also when I create a task on the Project Server side this Task is not automatically transmitted to TFS2008 server. Do I still have to click the "choose team project" and publish/refresh button in Project Professional2007 like without the Connector?( http://8sir9cgv.multipic.de/unbenannt.jpg.html ) ...

I also thought the 15 work items that come with the initial creation of a team project using the MSF for Agile Software Development - v4.2 Connector template will be autocreated as tasks and assignments within the Project Server project by selecting the "Auto-create assignments from current WorkItems" checkbox during project association, but they aren't?

http://ppnftc8z.multipic.de/unbenannt4.jpg.html
http://ppnftc8z.multipic.de/unbenannt5.jpg.html

Hope you can help me a bit.

Thanks.
Coordinator
Apr 4, 2008 at 3:13 PM
1. The Connector tries to prevent you from matching different types of work items. So, if you have all bugs in Project Server and only tasks in TFS, you will not be able to manually associate any because they are all of different work item types. This is what you are running into. The second drop down box is filtered by the type of the selected item in the first drop down box. If the selected item is a Task, only Workitems/Assignments of type Task will show within the second drop down.

2. When the project is locked you won't really be able to do anything against it. I am working on a more elegant way of resolving this state, but for now, you can unlock a project association by using the web method LockProjectAssociation(int projectAssocId, bool lock) method in the PS2007ProviderAdministration web service to unlock it or go directly to the PS2007ProviderDb database and modify the value for the IsLocked field for that record in the ProjectAssociations table.

3. There is a bug which I have fixed and will release soon related to "Auto-create assignments from current WorkItems" when the "Auto-create WorkItems from enabled Assignments" checkbox is also checked. I will post the fix soon.
Apr 7, 2008 at 1:54 PM
Hi

"1. The Connector tries to prevent you from matching different types of work items. So, if you have all bugs in Project Server and only tasks in TFS, you will not be able to manually associate any because they are all of different work item types. This is what you are running into. The second drop down box is filtered by the type of the selected item in the first drop down box. If the selected item is a Task, only Workitems/Assignments of type Task will show within the second drop down."

I have created tasks, bugs and risks in project server and in TFS, but they still aren't shown in the second drop down box?!
Coordinator
Apr 7, 2008 at 3:40 PM
When you say you have created tasks, bugs, and risks, how have you done that?

The Connector uses its configuration information to determine how to map these Enterprise Work Item Types to their corresponding Work Items Types in TFS given the particular process template that is in use. So, what are the names of the Enterprise Work Item Types, the name of your process template, your work item types, and the corresponding mapping information.

See http://blogs.msdn.com/lfenster/archive/2007/07/05/getting-started-with-the-connector.aspx for an example and text that describes this. Search for "Create new assignment association" should take you to the relevant info.
Apr 8, 2008 at 12:34 PM
Edited Apr 8, 2008 at 12:35 PM
Hi & Thank you

I created them on the Project Server side with Project Professional.
On TFS Server side with Team Explorer 2008.

The name of the process template when I created this project in TFS was MS Agile for PS Connector v4.2. The mapping in web.config looks like your snippet on your blog, only the processtemplate is different.

Here some screenshots:
http://lr9b0otd.multipic.de/
http://gn8gd083.multipic.de/


Hope you can help
Thanks
Coordinator
Apr 9, 2008 at 5:47 PM
I am not able to get to those Urls. Can you describe what you mean by "only the processtemplate is different."?
Apr 10, 2008 at 9:20 AM
Hi

sorry here the screenshots again: http://archiv.to/?Module=Details&HashID=FILE47FDCB48B7EE7

The name of process template in the web.config file is MSF for Agile Software Development - v4.2 as you can see on the sreenshots.

Could you have a look at them.

Thanks
Coordinator
Apr 10, 2008 at 2:23 PM
I still cannot see anything at that url. Send the images via emaikl to tfpstalk@microsoft.com and I'll try and help you offline.