if wiring is OK it is a blown main pcb.did the old lock have the brown mark in the middle of it?. Common issue that is known to damage main pcb unfortunately!
ck
February 2012
I can answer this question...
what to do when E40 code still displayed after replacing the door interlock?