Definately an e46 (3 series). Two suggestions.
1. Try disconnecting the battery for 15 minutes and then connecting it back up. This can trigger the vehicle to "rediscover" the components installed and may make it realize you have the CD player now and not the tape player.
2. As suggested above, have the vehicle recoded at the dealer.

and :xoutpost: