none
TF255329 The following site could not be accessed.

    Question

  • We are trying to make our TFS sharepoint site accesible on the internet.

    Currently under Team Foundation Administration Console-Application Tier-SharePoint Web Applications-Sharepoint Web Application the website is listed as:

    Name: Main Sharepoint

    Site URL: http://computername/

    This works fine on the internal network, but as it is our computername it does not work externally.

    I extended the sharepoint site to our companies domain name (http://corp.companyname.com:9515). When you access http://corp.companyname.com:9515/sites/tfs in IE it works fine on the server, locally, and over the internet externally.

    However when I try to add http://corp.companyname.com:9515 to the SharePoint Web Applications List I get:

    TF255329 The following site could not be accessed...


    I made sure the TFSSERVICE account (NT AUTHORITY\NT SERVICE) has farm administrator permissions and is the site collection administrator. I also tried disabling FQDN Loopback in the registry.

    Any ideas for a solution?

    (Sharepoint 2010, TFS 2010, Server 2008 R2, IIS 7 all located on the same server)

    Friday, July 16, 2010 7:59 PM

Answers

  • Trevor,

    I got it working by disabling anonymous access on my extended site and using "change" instead of "add". I also extended the Sharepoint Central Administration to http://corp.companyname.com:17012.

     

    After looking at that log you suggested it had this error:


    Inner Exception Details:

    Exception Message: Server was unable to process request. ---> TF250029: No user was found within the context of a Web site. Verify that the site does not allow anonymous access. (type SoapException)

     

    I disabled anonymous access and then I got a different error after trying to add the site: "cannot create a site under http://computername/". Here is the log.

     

    Exception Message: TF250023: A SharePoint site cannot be created under the following location: http://computername/tfs/sites. Either the path is not valid, or Team Foundation Server does not support the creation of a site in this path. (type TeamFoundationServerException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.HandleException(Exception e)
       at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.CheckUrl(String absolutePath, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.CheckUrl(ICredentials credentials, Uri adminUrl, Uri siteUrl, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Admin.VerifySharePointUrlHelper.CheckSharePointUrl(Uri uri, CheckUrlOptions options, Boolean isConfigured, Guid applicationInstanceId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Admin.VerifySharePointSitesUrl.Verify()

    Inner Exception Details:

    Exception Message: TF250023: A SharePoint site cannot be created under the following location: http://computername/tfs/sites. Either the path is not valid, or Team Foundation Server does not support the creation of a site in this path. (type SoapException)SoapException Details: <detail exceptionType="TeamFoundationServerException" />


    Exception Stack Trace:

    [Error  @05:14:05.744] TF250023: A SharePoint site cannot be created under the following location: http://computername/tfs/sites. Either the path is not valid, or Team Foundation Server does not support the creation of a site in this path.
    [Info   @05:14:53.168] Validating the SharePoint Web application URL: http://corp.companyname.com:9515
    [Info   @05:14:53.211] Benign exception caught as part of verify:
    Exception Message: TF250023: A SharePoint site cannot be created under the following location: http://computername/tfs/sites. Either the path is not valid, or Team Foundation Server does not support the creation of a site in this path. (type TeamFoundationServerException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.HandleException(Exception e)
       at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.CheckUrl(String absolutePath, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.CheckUrl(ICredentials credentials, Uri adminUrl, Uri siteUrl, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Admin.VerifySharePointUrlHelper.CheckSharePointUrl(Uri uri, CheckUrlOptions options, Boolean isConfigured, Guid applicationInstanceId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Admin.VerifySharePointSitesUrl.Verify()

     

    This was interesting because I was not trying to add http://computername I was trying to add http://corp.companyname.com:1234. http://computername is the default site so I used "change" instead of "add" and it worked! I did not look for the log in the first place, that I guess it really where to start.

    Thanks for helping me resolve this issue. And keep up the good work on TFS, it is really saving me and a lot of other people a ton of time and effort.

     

    Jon

    • Marked as answer by JPerl Saturday, July 24, 2010 5:30 AM
    Saturday, July 24, 2010 5:28 AM

All replies

  • Hello,

    Thanks for reporting this issue.

    We are performing a research on this issue and will get back to you soon.


    Looking for TFS Hot Issues? Follow us at Twitter.

    Hongye Sun [MSFT]
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Tuesday, July 20, 2010 5:41 AM
  • I am facing the same issue. Is there any update on this ?

    I have a one box solution (tfs, sharepoint, reporting server on the same box), running on Windows Server 2008.

    Checked the firewall settings, verified access to Sharepoint both internally and externally..

     

    Thanks

    Noor..

     

    Tuesday, July 20, 2010 6:15 PM
  • Hello,

    Thanks for reporting this issue.

    We are performing a research on this issue and will get back to you soon.


    Looking for TFS Hot Issues? Follow us at Twitter .

    Hongye Sun [MSFT]
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Thank you, that is good news. If I can help please let me know (preferably through email).
    Tuesday, July 20, 2010 11:56 PM
  • Hello JPerl,

    To summarize your issue, you say that you have the SharePoint TFS sites listening on http://corp.companyname.com:9515/sites/tfs and you that you can successfully access it via Internet Explorer:

    • Running on the TF server console
    • Running on client computers inside the company network
    • Running on client computers outside the company network (via the Internet).

    However, when you try to add http://corp.companyname.com:9515/sites/tfs to the "SharePoint Web Application" list (TFSAC>SharePoint Web Applications), you get an error: TF255329 The following site could not be accessed.

    Questions:

    1. You said you're trying to ADD. What happens if you try to "change" the current value (unless you have more than one SharePoint server for TFS - do you)?
    2. Have you tried solution #1 from this article: http://support.microsoft.com/kb/896861 ("Method 1: Specify host names (Preferred method if NTLM authentication is desired")?

    -Trevor

    Thursday, July 22, 2010 5:11 PM
  • Your summary is correct.

     

    Answers:

    1. "change" causes the same error. (There is only one SharePoint server)

    2. I tried method #2 from that website (same error). I just tried method #1 and for both "add" and "change" (same error).

    Thursday, July 22, 2010 7:09 PM
  • Hi JPerl,

    Can we see the contents of your TFS admin console logs, please (from the LOGS node in the admin console)?  You should some there with type "Settings SharePoint Products" - those are the ones I am interested in. Please post the most recent one of those here in reply.


    ~~ Trevor H.
    Check out the Microsoft CTS TFS BLOG: blogs.msdn.com/b/dstfs

    Friday, July 23, 2010 6:32 PM
  • Trevor,

    I got it working by disabling anonymous access on my extended site and using "change" instead of "add". I also extended the Sharepoint Central Administration to http://corp.companyname.com:17012.

     

    After looking at that log you suggested it had this error:


    Inner Exception Details:

    Exception Message: Server was unable to process request. ---> TF250029: No user was found within the context of a Web site. Verify that the site does not allow anonymous access. (type SoapException)

     

    I disabled anonymous access and then I got a different error after trying to add the site: "cannot create a site under http://computername/". Here is the log.

     

    Exception Message: TF250023: A SharePoint site cannot be created under the following location: http://computername/tfs/sites. Either the path is not valid, or Team Foundation Server does not support the creation of a site in this path. (type TeamFoundationServerException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.HandleException(Exception e)
       at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.CheckUrl(String absolutePath, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.CheckUrl(ICredentials credentials, Uri adminUrl, Uri siteUrl, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Admin.VerifySharePointUrlHelper.CheckSharePointUrl(Uri uri, CheckUrlOptions options, Boolean isConfigured, Guid applicationInstanceId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Admin.VerifySharePointSitesUrl.Verify()

    Inner Exception Details:

    Exception Message: TF250023: A SharePoint site cannot be created under the following location: http://computername/tfs/sites. Either the path is not valid, or Team Foundation Server does not support the creation of a site in this path. (type SoapException)SoapException Details: <detail exceptionType="TeamFoundationServerException" />


    Exception Stack Trace:

    [Error  @05:14:05.744] TF250023: A SharePoint site cannot be created under the following location: http://computername/tfs/sites. Either the path is not valid, or Team Foundation Server does not support the creation of a site in this path.
    [Info   @05:14:53.168] Validating the SharePoint Web application URL: http://corp.companyname.com:9515
    [Info   @05:14:53.211] Benign exception caught as part of verify:
    Exception Message: TF250023: A SharePoint site cannot be created under the following location: http://computername/tfs/sites. Either the path is not valid, or Team Foundation Server does not support the creation of a site in this path. (type TeamFoundationServerException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.HandleException(Exception e)
       at Microsoft.TeamFoundation.Client.SharePoint.SharePointTeamFoundationIntegrationService.CheckUrl(String absolutePath, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.CheckUrl(ICredentials credentials, Uri adminUrl, Uri siteUrl, CheckUrlOptions options, Guid configurationServerId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Admin.VerifySharePointUrlHelper.CheckSharePointUrl(Uri uri, CheckUrlOptions options, Boolean isConfigured, Guid applicationInstanceId, Guid projectCollectionId)
       at Microsoft.TeamFoundation.Admin.VerifySharePointSitesUrl.Verify()

     

    This was interesting because I was not trying to add http://computername I was trying to add http://corp.companyname.com:1234. http://computername is the default site so I used "change" instead of "add" and it worked! I did not look for the log in the first place, that I guess it really where to start.

    Thanks for helping me resolve this issue. And keep up the good work on TFS, it is really saving me and a lot of other people a ton of time and effort.

     

    Jon

    • Marked as answer by JPerl Saturday, July 24, 2010 5:30 AM
    Saturday, July 24, 2010 5:28 AM
  • Hey Jon,

    Yep, that's where I was going. :-) I am glad you got there and got it fixed.

    Thanks for your support. Continue to enjoy TFS and let us know how we can improve.


    *~Trevor H.
    Check out the Microsoft CTS TFS BLOG: blogs.msdn.com/b/dstfs
    Monday, July 26, 2010 4:54 PM
  • Hi Guys,

     

    I'm suffering from the same issue. However, I'm using WSS 3.0 SP2 instead.

    Seems like configurations are slightly different in WSS and MOSS, but tried to add service accounts to sharepoint administrators group but it does not solve the problem.

    What is the procedure to find what is the real cause? Is there a way to analyse some log files? 

    Any ideas?

    Thank you very much!

    Ruben


    C#,WPF Best Practices http://rubenhak.com
    Thursday, August 12, 2010 3:09 AM
  • I had the same issue and disabling Anonymous access on the site resolved the issue for me too.
    Sunday, May 22, 2011 10:18 PM