Team Project Creation Failed

Hello,

We tried creating new team project but failed with the following error:

Team Project Creation Failed
<snipped>
Error: Unable to connect to the Windows SharePoint Services at DAGOBAH

Some info to further help in troubleshooting this problem: (installed in the following order)
- installed SQL Server 2005
- installed Visual Studio 2005
- installed Team Foundation 2005 (single server installation)
- installed Windows SharePoint Services SP2
- installed Team Foundation client

- for testing purposes, we installed both the foundation server and visual studio on the same box (yup, you guessed it, DAGOBAH)
- SharePoint IS running as I can view http://localhost/default.aspx
- Service account (we named it teamsuite) has administrator, IIS_WPG, STS_WPG and USERS group

The relevant log entries said:
---begin Exception entry---
Time: 2/1/2006 2:49:12 PM
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 DAGOBAH
Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services
at DAGOBAH. 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: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Unable to connect to the Windows SharePoint Services at DAGOBAH
Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services
at DAGOBAH. 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.VerifyLcidOnServer(ProjectCreationContext ctxt, Int32 lcid)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
-- end Inner Exception --
-- Inner Exception --
Exception Type: System.Net.WebException
Exception Message: Unable to connect to the remote server
WebException: Status : ConnectFailure
Stack Trace:
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Proxy.Portal.Admin.GetLanguages()
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifyLcidOnServer(ProjectCreationContext ctxt, Int32 lcid)
-- end Inner Exception --
-- Inner Exception --
Exception Type: System.Net.Sockets.SocketException
Exception Message: No connection could be made because the target machine actively refused it
Stack Trace:
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
-- end Inner Exception --
--- end Exception entry ---

2/1/2006 2:49:12 PM | Module: Engine | Thread: 8 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2/1/2006 2:49:12 PM | Module: Engine | Thread: 8 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2/1/2006 2:49:12 PM | Module: Engine | Thread: 8 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2/1/2006 2:49:12 PM | Module: Engine | Thread: 8 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2/1/2006 2:49:12 PM | Module: Engine | Thread: 5 | Attempting to delete MSF folder "C:\Documents and Settings\Administrator\Local Settings\Temp\TPW_tmp3E.tmp"
2/1/2006 2:49:12 PM | Module: Engine | Thread: 5 | The temporary folder C:\Documents and Settings\Administrator\Local Settings\Temp\TPW_tmp3E.tmp used to store the process template was removed.
---begin Exception entry---
Time: 2/1/2006 2:49:14 PM
Module: Wizard
Event Description: TF30002: The New Team Project Wizard encountered an error deleting the project proj1
Exception Type: System.Net.WebException
Exception Message: Unable to connect to the remote server
WebException: Status : ConnectFailure
Stack Trace:
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Proxy.Portal.Admin.GetLanguages()
at Microsoft.TeamFoundation.Client.TeamProjectDeleter.Delete()
at Microsoft.VisualStudio.TeamFoundation.PortfolioProjectForm.TryDeleteProject()
-- Inner Exception --
Exception Type: System.Net.Sockets.SocketException
Exception Message: No connection could be made because the target machine actively refused it
Stack Trace:
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
-- end Inner Exception --
--- end Exception entry ---

Please advise. TIA!



Answer this question

Team Project Creation Failed

  • LIMTL

    Thanks for the reply Brad.

    I tried this: http://localhost:8080/services/v1.0/Registration.asmx/

    and got the following errors:
    Server Error in '/services' Application.
    --------------------------------------------------------------------------------

    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.

    Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".


    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly"/>
    </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="On" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>

    THe port SharePoint Central Administration Port is 9012.

    Please advise. Thanks

  • calin tuns

    Thanks for all the help. We can now successfully connect to the server and create a team project.

  • Kory

    I am having the exact same issue.
  • Lynette Johnson

    Hi,

    You probably have a couple of things wrong. Can you go to the Sharepoint Central Administration screen (Start->Administrative Tools-> Sharepoint Central Administration)

    Select Configure Virtual Server Settings

    You will see a screen that will look something like this:

    Name URL Version
    Default Web Site http://Trombones/ 6.0.2.6568
    Team Foundation Server http://Trombones:8080/ Not Installed Extend

    Does it look different (outside of the server name) If it doesn't say Extend in the last column for Team Foundation Server we have problems<g>.

    Let us know.

    Thanks,

    Brad



  • GregV

    RC Candidate is available and my installation of it went very smoothly.

    Ovi


  • eldiener

    Hello Brad,

    Here's what we have:

    To perform administration tasks for a virtual server, click the virtual server name.

    Name URL Version
    Default Web Site http://dagobah/ 6.0.2.6568
    Team Foundation Server http://dagobah:8080/ Not Installed Extend


  • mjh

    Hi,

    First check the ports match in TFS and Sharepoint:


    On the middle-tier server run : http://localhost:8080/services/v1.0/Registration.asmx/

    Select GetRegistrationEntries and Invoke (It should return some xml)

    Search for WSS
    The Url node will list a port number in the URL (Probably 17012). Check that it is the same as the port when you run the Sharepoint Central Administration website. You get to that from Start->Administrative Tools->Sharepoint Central Administration. Look at the Address bar for the port.

    If they do not match, change the site port-setting in InetMgr by selecting the Sharepoint Central Administration site and change it on the website tab.

    Also, change the port in the properties for the port in the URL in the Start Menu shortcut.

    Thanks,

    Brad



  • TheSmithz

    Thank you, but we haven't received the RC candidate yet. Not sure when it's coming in.

    Does anyone know what the error I'm seeing means

    Regards,

    RB


  • devouges

    Hello,

    I had the same "Unable to connect to the Windows SharePoint Services". I changed the port for Sharepont Admin to match TFS and now I am getting the following error when creating a project:

    Error
    Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown.
    Explanation
    Cannot connect to the configuration database. For tips on troubleshooting this error, search for article 823287 in the Microsoft Knowledge Base at http://support.microsoft.com. 0x81070555

    Also, is the RC candidate now available Does it solve all these issues

    Thanks,

    RB


  • BENichols

    3TP,

    Take the / at the end of URL that Brad posted and it should work. I had the same problem and it was the port on TFS being setup for a different port then the Sharepoint Central server. Once I changed the port on Sharepoint, all was well.

    Ovi


  • Team Project Creation Failed