I've had exactly this - measure the voltage going to the bulb, you'll probably find a strange value quite a bit lower than 12V and when you put a load on it drops lower - so low the bulb won't ignite. Trace your wiring through and find a poor connection - mine was at the fuse box, lots of blue...