Hi all,
I am actually trying to integrate Team Foundation Server 2013 and Project Server 2013 on premises. But I am facing some issues and I have no idea how to solve it. I do not find many help on Internet.
So far, I have already created a enterprise plan in MS Project and a team site in TFS. Also, as you can see here, I have successfully mapped enterprise and team project.
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>TfsAdmin Project
Server /MapPlanToTeamProject /collection:"http://tfs.nalysa.corp/tfs/Nalysa Pro
jects/" /enterpriseproject:"Project Sample" /teamproject:"Project Sample" /worki
temtypes:"Feature, User Story, Bug, Task"Mapping enterprise project Project Sample to team project Project Sample.
...................
You have successfully mapped enterprise project Project Sample to team project P
roject Sample.
After the mapping, I have created some tasks on project and unfortunately the tasks are not synchronized with TFS.
FYI, I am using SharePoint permission mode:
Url: PS C:\Users\spfarm2013> Get-SPProjectPermissionMode http://bali/project
SharePoint
PS C:\Users\spfarm2013>
Please find here some interesting information that I can find in the logs:
01/02/2015 18:43:50.69 w3wp.exe (0x1104) 0x3670 Project Server Security aibp8 High Impersonation is not supported in SharePoint permission mode 24cadb9c-6d78-f002-9b41-871b58f49fdf
01/02/2015 18:43:50.69 w3wp.exe (0x1104) 0x3670 Project Server General ab3be Monitorable Unhandled exception in the process of routing the request to the app server: Target=http://bali.nalysa.corp/project/_vti_bin/PSI/Security.asmx, exception=[InvalidOperationException] Operation is not valid due to the current state of the object., StackTrace= at Microsoft.Office.Project.Server.WcfTrustedFacadeHelperMethods.TryGetImpersonationContextInfo(String originalTargetUrl, OperationContext context, ImpersonationHeader& impersonationHeader) at Microsoft.Office.Project.PWA.WCFContext.GetContext(MessageHeaders messageHeadersCollection, ServiceSecurityContext serviceSecurityContext, Uri originalTargetUri) at Microsoft.Office.Project.Server.WcfPsiRequestRouterImplementation.ProcessMessage(Message message) 24cadb9c-6d78-f002-9b41-871b58f49fdf
01/02/2015 18:43:50.69 w3wp.exe (0x1104) 0x3670 Project Server General 8118 Critical Connectivity exception [InvalidOperationException] Operation is not valid due to the current state of the object. when forwarding request to app server http://bali.nalysa.corp/project/_vti_bin/PSI/Security.asmx 24cadb9c-6d78-f002-9b41-871b58f49fdf
These logs appears every 30 seconds, I guess everytime the job used to synchronise TFS and Project Server is called. As this job failed, the synchronization cannot be processed
And also the IIS logs of the web services used to communicate (on SharePoint site)
2015-01-02 11:45:19 fe80::add5:81bb:9261:10cd%12 POST /project/_vti_bin/PSI/Security.asmx - 80 - fe80::add5:81bb:9261:10cd%12 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.33440) - 401 1 2148074254 0
2015-01-02 11:45:19 fe80::add5:81bb:9261:10cd%12 POST /_vti_bin/PSI/Security.asmx - 80 0#.w|nalysa\sppool2013 fe80::add5:81bb:9261:10cd%12 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.33440) - 500 0 0 46
It looks like there are an error when the web service Security.asmx is called (error code 500). Looking in the log, the error is "Impersonation is not supported in SharePoint permission mode".
Why my services is trying to make impersonation knowing that we are using SharePoint permission mode
Here are some information about the configuration:
- TFS Foundation Server 2013
- Project Server 2013
- SharePoint Server 2013
I will really appreciate any help or advise about this issue
Thank you very much
Vannick