Balaji Dave

Hi

I am trying to migrate to new build server. After installing the build service on the machine. Try to run the build i got the following error. TF42046: The build Service used in the build process is not reachable. Please help me.

Thanks

Balaji Dave




Re: Team Foundation Server - Build Automation TF42046: The build Service used in the build process is not reachable.

Bhavik Shah - MSFT

Balaji,

Looks like TFS is not able to talk to Build Server in this case.

Please ensure...

- "Team Build Service" is running on Build Machine.

- If firewall is on, ensure that there are exceptions for this service and port 9191 (default port) used by this service.

As Buck points out in other thread, try following too...

If run "telnet your_build_computer 9191" do you get an error If you don't get an error, do you get garbage if you type some characters and hit Enter There should be a .NET remoting service listening on port 9191 on that computer. Telneting to it and sending it characters should get it to print some jibberish (binary data) and spell out .NET Remoting on the console.

If that works, are there any event log entries on the application tier or on the build computer with additional information

Hope that helps,

Bhavik






Re: Team Foundation Server - Build Automation TF42046: The build Service used in the build process is not reachable.

Balaji Dave

Hi

Thanks for you comments, i did telnet i got following message, but i don't have any entry in Event log.

telnet mysystem 9191

.NET ©Ø System.Runtime.Remoting.RemotingException: Tcp channel protocol violation: expecting preamble.
at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
at System.Runtime.Remoting.Channels.Tcp.TcpServerSocketHandler.ReadHeaders()
at System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.ServiceRequest(Object state)
at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()

Thanks

Balaji Devendran






Re: Team Foundation Server - Build Automation TF42046: The build Service used in the build process is not reachable.

Balaji Dave

Hi

My build machine is in a workgroup. But my TFS server is working under a domain. Is this is a problem

Thanks

Balaji Devendran.






Re: Team Foundation Server - Build Automation TF42046: The build Service used in the build process is not reachable.

Hua Chen - MSFT

Hello Balaji Dave:

Here are two steps you can try to fix the problem:

1. Please make sure the paths defined in your PATH system variable do not have any invalid characters. This includes any ¡°¡± around the paths. Part of the Team Foundation Build Client source code attempts to build the path to msbuild.exe using the paths defined in this environment variable. Unfortunately the exception that is thrown when the system attempts to call Path.Combine on a malformed path is masked by the misdirecting TF42046 error.

2. Please make sure the account running the build service is a valid user on the build machine. Does the account belong to at least the 'users' group on that machine

Good luck.






Re: Team Foundation Server - Build Automation TF42046: The build Service used in the build process is not reachable.

Balaji Dave

Hi

I did check my path variable. There is no spl char, The account running the build service is a admin account. still i am facing the same problem.

Thanks

Balaji Dave.






Re: Team Foundation Server - Build Automation TF42046: The build Service used in the build process is not reachable.

Balaji Dave

Hi

Problem is resolved after using the IP address in place of Machine name on the build type.

Thanks

Balaji Devendran.






Re: Team Foundation Server - Build Automation TF42046: The build Service used in the build process is not reachable.

Hua Chen - MSFT

Dear Balaji:
It seems that the TFS does not parse the machine name correctly to the IP address. Could you please check the DNS setting of the TFS It is not a perfect way to use IO address directly. Good luck.