Applies To | |||
Product(s): | Bentley Transmittal Services | ||
Version(s): | 01.00.01.130 | ||
Environment: | N/A | ||
Area: | N/A | ||
Subarea: | N/A | ||
Original Author: | Molly Watts, Bentley Technical Support Group | ||
Error or Warning Message
Could not connect to net.tcp://servername/PWTransmittalService/PWTransmittalService.svc. The connection attempt lasted for a time span of 00:00:01.0031003. TCP error code 10061: No connection could be made because the target machine actively refused it serverIP:808
Explanation
The Integration server was connecting to the incorrect port on the Transmittals Server. This can also happen after an Integration Server upgrade, as it would revert back to the default settings of net.tcp://localhost...
How to Avoid
Verify the net.tcp port that was configured during the setup of BTS server, in the IIS bindings
On the Integration server, open the following file in notepad: C:\Program Files\Bentley\ProjectWise\Bin\Bentley.ProjectWise.WCF.PWTransport.dll.config
- Find the following line and make sure the servername and port is correct:
<RelayNode targetUri="net.tcp://myserver.bentley.com:808/PWTransmittalService/PWTransmittalService.svc" relayUri="net.pw://localhost/PWTransmittalService/PWTransmittalService.svc" binding="netTcpBinding" bindingConfiguration="PWTransmittalServiceNetTcp" tokenMode="UserCreds"/>
- If this is a new, or upgraded, ProjectWise Integration Server, also make sure this is entered within the <netTcpBinding> element (details can also be found in the BTSImplementationGuide.pdf provided with the Transmittals software-Manually Integrate with ProjectWise Integration Server After Deployment)
<binding name="PWTransmittalServiceNetTcp" openTimeout="00:10:00" sendTimeout="00:10:00" receiveTimeout="00:45:00" closeTimeout="00:10:00" maxReceivedMessageSize="10000000">
<security mode="None"/>
</binding>