what a pain in the a$$!! are you sure the wires in tot he sensor are ok? when i was fitting mine i tugged them a little too hard and the two wires came out, maybe the previous owner did this while removing
if you do get a new sensor, make sure you get a bosch one not a cheap ebay item......