Have you checked the wiring harness(es) on the car? Your model is notorious for that problem.
Setting the CE light off sounds like an emissions fault. Could be an O2 sensor. Not sure if the decaying harness would set off the CE light, but I wouldn't rule it out, either.
1998 C230 "Black Betty"