Hi!
We are evaluating TFS and the installations seemed to work smootly, but when we try to create a new project we got the error message "TF30262: Error occurred while creating document library".
From the error log I can see that "VersionControlTask" is successfully completed and the first step of the site creation (verifying template existing) also. Then the next step, "Creating Site", failed with the above message and "The request failed with HTTP status 403: Forbidden". I'm member of local administrator group and I've checked all permissions in TFS, SharePoint and SQL Reporting.
Since I'm primarily an DBA these web details is not my best area... Can someone help me right with this, plaese
/Martin

TF30262 when creating project
NathanP
Also, can you post the part of your log file that has the error (plus some of the surrounding context). It would be nice to know exactly where it is failing.
Thanks!
Dennis
FalconDW
Below is an excerpt from the log file. I've highlighted some (to me) important information. Thanks for all help and hope this gives you a better clue than me! //Martin
2006-03-30 10:03:29Z | Module: SccTask | Thread: 5 | Changing project setting ExclusiveCheckout to "False"
2006-03-30 10:03:29Z | Module: SccTask | Thread: 5 | User chose to create new empty folder $/Test Project
2006-03-30 10:03:30Z | Module: Engine | Task "VersionControlTask" from Group "VersionControl" completed with success | Completion time: 1.0624932 seconds
2006-03-30 10:03:30Z | Module: Engine | Thread: 8 | Running Task "" from Group ""
2006-03-30 10:03:30Z | Module: Engine | Thread: 8 | Running Task "SharePointPortal" from Group "Portal"
2006-03-30 10:03:30Z | Module: WSS | Thread: 8 | Language id: 1033
2006-03-30 10:03:31Z | Module: WSS | Thread: 8 | Verifying site template exists on the server using http://projdb02/_vti_bin/Sites.asmx
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Creating site with the following parameters
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Admin Url: http://projdb02:17012/_vti_adm/admin.asmx
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Site Url: http://PROJDB02/sites/Test Project
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Site Title: Test Project
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Site Description: This team project was created based on the 'MSF for Agile Software Development - v4.0' process template.
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Lcid: 1033
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Template: _GLOBAL_#1
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Owner Login: CITYMAIL_AD\martinhog
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Owner Name: Martin Hoglund
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Owner Email: Martin.Hoglund@citymail.se
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Portal Url:
2006-03-30 10:03:32Z | Module: WSS | Thread: 8 | Portal Name:
2006-03-30 10:03:36Z | Module: WSS | Thread: 8 | Creating Document Library : Security retry#: 0
2006-03-30 10:03:36Z | Module: WSS | Thread: 8 | TF30262: Error occurred while creating document library : Security retrying ...
---begin Exception entry---
Time: 2006-03-30 10:03:36Z
Module: WSS
Exception Type: System.Net.WebException
Exception Message: The request failed with HTTP status 403: Forbidden.
WebException: Response Status Code: Forbidden
WebException: Response Status Message: Forbidden
WebException: Status : ProtocolError
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Proxy.Portal.Lists.GetListCollection()
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.FetchList(Lists listProxy, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.FetchListTitles(Lists listProxy, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.CreateList(Lists listProxy, String name, String description, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.HandleDocumentLibraryCreation(ProjectCreationContext context, XmlNode taskNode)
--- end Exception entry ---
2006-03-30 10:03:44Z | Module: WSS | Thread: 8 | Creating Document Library : Security retry#: 1
2006-03-30 10:03:44Z | Module: WSS | Thread: 8 | TF30262: Error occurred while creating document library : Security retrying ...
---begin Exception entry---
Time: 2006-03-30 10:03:44Z
Module: WSS
Exception Type: System.Net.WebException
Exception Message: The request failed with HTTP status 403: Forbidden.
WebException: Response Status Code: Forbidden
WebException: Response Status Message: Forbidden
WebException: Status : ProtocolError
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Proxy.Portal.Lists.GetListCollection()
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.FetchList(Lists listProxy, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.FetchListTitles(Lists listProxy, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.CreateList(Lists listProxy, String name, String description, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.HandleDocumentLibraryCreation(ProjectCreationContext context, XmlNode taskNode)
--- end Exception entry ---
2006-03-30 10:03:50Z | Module: WSS | Thread: 8 | Creating Document Library : Security retry#: 2
2006-03-30 10:03:50Z | Module: WSS | Thread: 8 | TF30262: Error occurred while creating document library : Security retrying ...
2006-03-30 10:03:50Z | Module: WssSiteCreator | Thread: 8 | TF30267: Exception: System.Net.WebException: The request failed with HTTP status 403: Forbidden.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Proxy.Portal.Lists.GetListCollection()
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.FetchList(Lists listProxy, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.FetchListTitles(Lists listProxy, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.CreateList(Lists listProxy, String name, String description, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.HandleDocumentLibraryCreation(ProjectCreationContext context, XmlNode taskNode)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
---begin Exception entry---
Time: 2006-03-30 10:03:50Z
Module: Engine
Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Unable to connect to the Windows SharePoint Services at PROJDB02
Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services
at PROJDB02. The reason for the failed connection cannot be determined at this time.
Because the connection failed, the wizard was not able to complete creating
the Windows SharePoint Services site.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- Inner Exception --
Exception Type: System.Net.WebException
Exception Message: The request failed with HTTP status 403: Forbidden.
WebException: Response Status Code: Forbidden
WebException: Response Status Message: Forbidden
WebException: Status : ProtocolError
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Proxy.Portal.Lists.GetListCollection()
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.FetchList(Lists listProxy, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.FetchListTitles(Lists listProxy, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssUtilities.CreateList(Lists listProxy, String name, String description, WssListType type)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.HandleDocumentLibraryCreation(ProjectCreationContext context, XmlNode taskNode)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
-- end Inner Exception --
--- end Exception entry ---
Richard Hsu
rishi_rv_2006
Hmm. Can't say that I've seen this one before. Can you try running the following from the command line on the AT
1. cd /d %programfiles%/common files/microsoft shared/web server extensions/60/bin
2. stsadm -o upgrade -forceupgrade
It's possible that the server thinks it is using a version of .net that it really isn't and this is causing problems.
-Dennis
gdick
This sounds like a permission error with Sharepoint. Can you take a look at the Sharepoint admin group and make sure you are included
Start -> Admin Tools -> Sharepoint Central Administration
Click on "Set SharePoint administration group"
Make sure the indicated group includes yourself
Please let me know if that doesn't work. Thanks,
Jay
Paddy E
Thanks for your help, but it did not change anything. I still got exactly the same error message... We will uninstall TFS from the current server and reinstall it on an new, dedicated, server in a near future.
/Martin