Ask a questionAsk a question
 

AnswerUnable to connect to sharepoint site

  • Wednesday, December 28, 2005 7:33 AMPravi4u Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    After successfull installation of TFS, when trying to create a new team project, first few steps completes, but then it says "unable to connect to sharepoint site" and stops.

    In the server,

    Default Website is on port 80 : Displays sharepoint "Home"

    Sharepoint admin is on port: 26442 : Displays "Sharepoint Central Admin"

    TFS is on port 8080: Displays "Access Forbidden"!! when directly browsed from http:\\servername:8080

    The team explorer successfully connects to the TFS with the same username and password.

    Please assist.  What will it normally display when directly browsed to the Team Foundation Server virtual directory ?

    Thanks.

     

     

     

     

Answers

  • Thursday, December 29, 2005 3:30 AMPravi4u Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    OK. I got it resolved.

    Steps:

    1. Check the port number of Sharepoint Central Administration virtual directory. (For me, it was 26442)

    2. Now, in IIS, browse Registration.asmx under 'Services' under "Team Foundation Server" virtual directory.

    3. Click GetRegistrationEntries web service, without giving any parameter, click "Invoke"

    4. In the resulting XML, search for

    - <ServiceInterface>
      <Name>WssAdminService</Name>
      <Url>http://<servername>:17012/_vti_adm/admin.asmx</Url>
      </ServiceInterface>

    5. See "url" element, and the port number in that URL should be same as that in step 1.(For me it was 17012)

    6. If not, change the port number of Sharepoint Central Administration to the one in the url in step 5. (17012)

    The reason I understand is that if we are installing WSS SP1 or SP2 couple of times, it assigns different port numbers to the sharepoint admin vdir.

    Thanks

    Praveen

     

     

     

All Replies

  • Wednesday, December 28, 2005 10:25 AMPraxidata Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I have the same problem with ctp december version

    Environment as on checklist but without Active Directory (standalone Win2003 server for testing purposes only) and with Sharepoint Services 2003 SP2.

    Configure virtual server settings shows:
    Name                              URL                            Version  
    Default Web Site              
    http://trmvsts1/             6.0.2.6568  
    Team Foundation Server   
    http://trmvsts1:8080/     Not Installed      Extend

    extract of the creation log:
    2005-12-28 11:06:22Z | Module: Engine | Thread: 7 | Running Task "SharePointPortal" from Group "Portal"
    2005-12-28 11:06:22Z | Module: WSS | Thread: 7 | Language id: 1033
    ---begin Exception entry---
    Time: 2005-12-28 11:06:23Z
    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 TRMVSTS1
    Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services
    at TRMVSTS1. 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 TRMVSTS1
    Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services
    at TRMVSTS1. 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 ---

    Thanks for your help!

    Regards,
    Tony Schaller

  • Thursday, December 29, 2005 3:30 AMPravi4u Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    OK. I got it resolved.

    Steps:

    1. Check the port number of Sharepoint Central Administration virtual directory. (For me, it was 26442)

    2. Now, in IIS, browse Registration.asmx under 'Services' under "Team Foundation Server" virtual directory.

    3. Click GetRegistrationEntries web service, without giving any parameter, click "Invoke"

    4. In the resulting XML, search for

    - <ServiceInterface>
      <Name>WssAdminService</Name>
      <Url>http://<servername>:17012/_vti_adm/admin.asmx</Url>
      </ServiceInterface>

    5. See "url" element, and the port number in that URL should be same as that in step 1.(For me it was 17012)

    6. If not, change the port number of Sharepoint Central Administration to the one in the url in step 5. (17012)

    The reason I understand is that if we are installing WSS SP1 or SP2 couple of times, it assigns different port numbers to the sharepoint admin vdir.

    Thanks

    Praveen

     

     

     

  • Thursday, December 29, 2005 10:17 AMPraxidata Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks. After changing the Port number for the SharePoint Central Administration Website in IIS back to 17012 I could advance a little bit further. The next Error is the following:

    The Project Creation Wizard encountered an error while uploading documents to the Windows SharePoint Services server on TRMVSTS1.

    Extract from the creation log:

    2005-12-29 11:14:34Z | Module: WSS | Thread: 5 | Verifying site template exists on the server using http://trmvsts1/_vti_bin/Sites.asmx
    ---begin Exception entry---
    Time: 2005-12-29 11:14:34Z
    Module: Engine
    Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
    Exception Type: Microsoft.TeamFoundation.Client.PcwException
    Exception Message: The Project Creation Wizard encountered an error while uploading documents to the Windows SharePoint Services server on TRMVSTS1.
    Exception Details: The Project Creation Wizard encountered a problem while uploading
    documents to the Windows SharePoint Services server on TRMVSTS1.
    The reason for the failure cannot be determined at this time.
    Because the operation failed, the wizard was not able to finish
    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: The Project Creation Wizard encountered an error while uploading documents to the Windows SharePoint Services server on TRMVSTS1.
    Exception Details: The Project Creation Wizard encountered a problem while uploading
    documents to the Windows SharePoint Services server on TRMVSTS1.
    The reason for the failure cannot be determined at this time.
    Because the operation failed, the wizard was not able to finish
    creating the Windows SharePoint Services site.
    Stack Trace:
       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.Web.Services.Protocols.SoapException
    Exception Message: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
    SoapException Details: <detail><errorstring xmlns="
    http://schemas.microsoft.com/sharepoint/soap/">Der hier referenzierte virtuelle Server befindet sich nicht in der Konfigurationsdatenbank.</errorstring><errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x81070552</errorcode></detail>
    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.Sites.GetSiteTemplates(UInt32 LCID, Template[]& TemplateList)
       at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifySiteTemplate(ProjectCreationContext context, String template, Int32 lcid)
       at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
       at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
    -- end Inner Exception --
    --- end Exception entry ---

    did you got the same error?

    Regards, Tony

  • Friday, December 30, 2005 3:16 AMPravi4u Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    One of the steps I did was to set NTLM security mode for Sharepoint in the TFS server.

    I used the command line utility cscript with adsutil as parameter.

    More info http://support.microsoft.com/?id=832769

    Also, Sharepoint SP2 was used. (Not SP1)

    Hope this helps!

    Praveen