Engine would not start for 45 minutes

Before the wrecker arrived I gave it one last try, and engine fired right up and ran OK. Drove home and plugged in Actron OBDII reader/scanner. No codes. Car starts OK now.
I'm suspecting the crank position sensor, and plan to order a new one. Bought car with 82K miles, and now has 105K. Mechanical history unknown.
The MB shop manual (have the CD) says I need to initialize the CPS with Star Diagnostics. Is that really necessary? Of course I don't have a Star Diagnostics tool.
While at it I'll replace the fuel filter, though I don't think that's a problem. Engine runs fine at full throttle, part throttle, or idle. Except for refusing to start today!
That being said, from what you described, 99% chance it's the CPS that cause it. Spark plug, fuel filter, fuel pump/relay would cause lot of misfire or engine stall while driving .
Make sure you have VIN number when order the CPS, there're different style of connectors, depend on VIN number

Screw came loose so easily using my 1/4 socket and 1/4 inch drive rachet that I thought it wasn't turning the bolt. Switched to 1/4 inch driver and had the CPS replaced in practically no time.
Tested the old CPS it and found the resistance Ohms were in specs (about 1100), and as I heated it with a hairdryer the resistance increased to over 1200, then suddenly went to infinity. So that sealed the case--starting problem was the CPS.



