by Ewald Hofman
24. June 2009 22:47
When I created a Team Project under the same account as the TFS installation was performed, I was able to create a new team project.
Unfortunately, I got an error message that I did not have enough rights:
---begin Exception entry---
Time: 2009-06-23 09:28:24Z
Module: WSS
Exception Type: Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException
Exception Message: TF30063: You are not authorized to access http://<TFS SERVER>:17012/_vti_bin/TeamFoundationIntegrationService.asmx.
Stack Trace:
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.ActivateFeatureById(String siteUrl, Guid featureId)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.HandleFeatureActivation(WssCreationContextWrapper contextWrapper, XmlNode features)
-- Inner Exception --
Exception Type: System.Net.WebException
Exception Message: The remote server returned an error: (401) Unauthorized.
WebException: Response Status Code: Unauthorized
WebException: Response already disposed, no additional information available.
WebException: Status : ProtocolError
Stack Trace:
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.AsyncWebRequest.ExecRequest(Object obj)
-- end Inner Exception --
--- end Exception entry ---
Finally managed to solve the issue by adding my user account to the web application policies. You can find these in the Sharepoint Central Administration (http://<TFSServer>:17012).
Go to the tab Application Management and choose there the option Policy for Web Application. Then add your user account that creates the team project.