In the wikipedia article about NEAR Shoemaker it is mentioned that the craft stopped operating under these conditions:
At 7 p.m. EST on February 28, 2001 the last data signals were received from NEAR Shoemaker before it was shut down. A final attempt to communicate with the spacecraft on December 10, 2002 was unsuccessful. This was likely due to the extreme -279 °F (-173 °C, 100 K) conditions the probe experienced while on Eros.[6]
I could understand the lack of sunlight during the Eros night being a contributing factor, but that is not mentioned specifically. Are the conditions near an asteroid much harsher for spacecraft than interplanetary space?