P2761 code keeps popping up

Have an 04 AWD that keeps popping a p2761 code TCC control solenoid circuit,aside from the solenoid and wiring harness in the pan --all the solenoids and wiring in the pan was changed due to damage to the clips and I wanted to eliminate that as a cause. Other than that it drives fine no weird shifts of slippage BUT the CEL will start to flash if you accelerate hard. Even with the engine not running the code will come right back if cleared. What should I be looking for at this point..