I have a WPF app that utilizes WCF to send data to a server. Works great in my development environment, but when I publish it via Click Once it will not work, the send times out. The kicker is if I navigate to the sub folder that Click Once installs to it runs fine. The only place that it fails is when it is spawned from the Click Once app. The app utilizes three different service and two of the three work perfectly with this binding even when spawned via Click Once. The service that fails is a function that accepts a 30K package and returns a receipt. The others just in data.
Here is my WCF binding. Here is the error message:
<binding name="netTCPActivity"
closeTimeout="00:01:00"
openTimeout="00:00:01"
receiveTimeout="00:01:00"
sendTimeout="00:01:00" transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
hostNameComparisonMode="StrongWildcard" listenBacklog="100" maxBufferPoolSize="152428800" maxBufferSize="50000000"
maxConnections="300" maxReceivedMessageSize="50000000" portSharingEnabled="true">
<readerQuotas maxDepth="32" maxStringContentLength="81920" maxArrayLength="6638400"
maxBytesPerRead="40960" maxNameTableCharCount="563840" />
<reliableSession ordered="true" inactivityTimeout="00:00:20" enabled="false" />
<security mode="None" />
</binding>
This request operation sent to net.tcp://172.26.17.130:8015/TARP did not receive a reply within the configured timeout (00:00:59.9843744).
The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the
service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting
the OperationTimeout property) and ensure that the service is able to connect to the client.