TF249063: The following Web service is not available:

Today, a customer of mine was facing an issue while he was trying to configure SharePoint Extensions for Team foundation server, Essentially he was trying to “Grant Access” to the web services.

In this scenario, he has originally installed TFS 2010 with WSS 3.0. Later removed WSS 3.0 and installed SharePoint Server 2010 and we are now trying to wire it with TFS.

He got the following error:

TF249063: The following Web service is not available: https://tfsserver:17012/_vti_bin/TeamFoundationIntegrationService.asmx. This Web service is used for the Team Foundation Server Extensions for SharePoint Products. The underlying error is: The remote server returned an error: (404) Not Found.. Verify that the following URL points to a valid SharePoint Web application and that the application is available: https://tfsserver:17012. 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 firewall was disabled, so its not a matter of firewall that’s causing the issue. Later I figured that the following solutions were not deployed.

Microsoft.TeamFoundation.SharePoint.wsp

TswaWebPartCollection.wsp

Microsoft.TeamFoundation.SharePoint.Dashboards.wsp

Deployed them using the following command line,

Stsadm -o deploysolution -name Microsoft.TeamFoundation.SharePoint.wsp -local –force

Stsadm -o deploysolution -name TswaWebPartCollection.wsp -local –force

Stsadm -o deploysolution -name Microsoft.TeamFoundation.SharePoint.Dashboards.wsp -local -force

iisreset

This resolved the issue. Now we were able to Grant Access

Just in case if the solutions are not getting deployed, use the following command line to enable the admin service job ( if it was disabled)

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\\bin\STSADM.EXE -o execadmsvcjobs

And then try the deploy solution steps above.

Note:

Stsadm –o Execadmsvcjobs

- Permits a user to run any administrative service job in which the Windows SharePoint Services Administration (SPAdmin) service has been disabled.

Author : Vimal Thiagaraj                                                                                                                             Reviewed by: Lakhminder Singh