If you have 40v on the output. That means that either the feedback circuitry has lost regulation, or that the output transistors have gone short. First off check to make sure that the output is wired up correctly. If not the regulation circuitry won't be able to actually see the output. If thst is good, check any wiring,traces to see if they are missing/broken. Lastly go deeper...