Earlier this afternoon I picked up my X5. First, it was gorgeous. Sterling Gray on black leather w/ 19's, cold, premium, sport, nav and adjustable ride height. The Start up was nice and quiet. The ride was smooth. It didn't feel rough with the sport package. The sport seats were comfortable. It was a beautiful day and everything seemed perfect. And then

something went wrong....
As I'm driving home and sitting in bumper to bumper on the belt parkway about 20 minutes after leaving the dealership, my "service engine soon light" came on and the engine was idling very rough. So I pulled over to the side and shut off the car and restart it and the engine was still idling very rough. I felt the whole car shaking. I called up my sales advisor and told him what happen and he said it's probably because the gas cap wasn't tightened all the way. So I check the gas cap and tightened it until it clicked a few times. He said because the gas cap wasn't tightened enough, air might of gone in. The thing is, they gave me about half a tank of gas before i left the dealership. He said it was most likely one of the workers that forgot to tighten it and he kept apologizing to me (because i was really pissed off that something could happen not even an hour had gone by and something happened). He then proceeded to tell me to shut off the engine and then restart it, doing this about 5 times and see if the "service engine soon" light goes away but it doesn't. He then told me to bring the car back and he'll have a mechanic "bleed out" the air and give me a loaner for the weekend since the body shop is closed on the weekends. And I was looking forward to cruising in it this weekend.
So I get to the body shop and a service advisor tells me it probably isn't because of the gas cap but maybe something was loose. They gave me a 2004 325i loaner for the weekend. There's only about 40 miles on the car and something goes wrong already. It was less than an hour after I left the dealership and something goes wrong. Can anyone tell me what could be wrong with it???? Anyone ever experience something like this????