Car starts and runs for 2 seconds

Question by posted 4 months ago in 2004-2009 (E60, E61)

I had the E-box cover off and got some water in it. The car will start and run for 2 seconds. You can do this multiple times with the same outcome. I replaced the Terminal 30g relay in trunk. I noticed after trying to start a few times the Terminal 30g relay gets almost hot to the touch. I replaced a 5 prong relay in the E-box. There are 3 other relays in the E-box that are all the same. 1 of them did have some water in it. I blew out with air and cleaned with electrical cleaner. I switched them all around trying to start car after each switch. Still 2 second run time. I am  wondering if the CAS is bad or if the DME is bad? Maybe both? If so is there anybody out there that can repair these? Especially the CAS.

Thanks Jeff