Further to David's comment regarding the connections to the dipped headlights failing, I had that particular problem with my 2004 TF. I replaced the H7 connectors and local wiring using some that I bought on ebay.
Pictures, including the repair, are here.