If the following is accurate and the first for one interface (say wired) and the second IP the other, then they're not in the same subnet as defined by the subnet mask and the 3'd octet of the IP addresses. Of course I'm assuming the 10.39.140.1 IP is the gateway for 10.39.140.45 and 10.39.16.22 the gateway for 10.39.16.20
Our department has a laptop we use for troubleshooting network issues. As with most, it has a wired and a wireless interface.
Some time back I had it connected via the wired interface to one subnet and I tried to connect to our wireless network on another, completely separate network. The poor thing freaked out and wouldn't communicate on either network.
The ONLY way I can get the wired connection to work is to disable the wireless interface.
It's worth noting that this is a common issue around here.
I suspect the OP is having a similar issue and need to just disable the one while using the other.