Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error TF249064 while configuring Team Foundation Server Extensions for SharePoint products


Symptoms

The configuration wizard of Extension for SharePoint products can throw the following exception:

TF249064: The following Web service returned an response that is not valid: http://<Central admin site>/_vti_bin/TeamFoundationIntegrationService.asmx. This Web service is used for the Team Foundation Server Extensions for SharePoint Products. Either the extensions are not installed, the request resulted in HTML being returned, or there is a problem with the URL. Verify that the following URL points to a valid SharePoint Web application and that the application is available: http://<Central admin site>. If the URL is correct and the Web application is operating normally, verify that a firewall is not blocking access to the Web application.

After this exception, you might still see that the configuration wizard completes successfully, but when you proceed with the rest of the integration steps you might get into a situation where the "Grant access" option is not available any more, inside the "Team Foundation Server Administration Console" under the "Extensions for SharePoint products" node. 

↑ Back to the top


Cause

This issue can happen if the web.config file on the root of the SharePoint Central Administration site is configured with a customized setting for the <sessionState />  element. The error condition happens if the "cookiless" attribute for sessionState element is set to "AutoDetect" instead of the default value of "UseCookies".

↑ Back to the top


Resolution

1.      Launch Internet Information Services Manager on the SharePoint server and navigate to the "Web sites" node

2.      Right click on the "SharePoint Central Administration Vx" web site. (x value might be 3 or 4 depending on the version of SharePoint)

3.      From the context menu, select "Explore". The Windows Explorer launches with the list of folder and files.

4.      Locate the Web.config file and open it in Notepad.

5.      Search through the file for sessionState.

6.      Once you identified the sessionState element, check the value assigned for the parameter "cookieless"

7.      If the value assigned was "Autodetect", change it to "UseCookies" and save and close the web.config file.

     

↑ Back to the top


More Information

For reference on Cookieless parameter, visit: http://msdn.microsoft.com/en-us/library/aa479314.aspx

Note:

This exception can occur during a Team Project Collection creation as well. While the exception message slightly differs from the above, the exception will be:

TF252031: A SharePoint site could not be created for the team project collection. The Following error occurred: TF249064: The following Web service returned an response that is not valid: http://<Central admin site>/_vti_bin/TeamFoundationIntegrationService.asmx. This Web service is used for the Team Foundation Server Extensions for SharePoint Products. Either the extensions are not installed, the request resulted in HTML being returned, or there is a problem with the URL. Verify that the following URL points to a valid SharePoint Web application and that the application is available: http://<Central admin site>. If the URL is correct and the Web application is operating normally, verify that a firewall is not blocking access to the Web application.

The resolution is the same as mentioned in the "Steps to resolve the issue" section. However, this issue does not affect a Team Project creation or accessing an existing Team Project Portal site. 

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2658135
Revision : 1
Created on : 1/7/2017
Published on : 12/27/2011
Exists online : False
Views : 169