I have a new item that applies primarily to the D300/D300S. Test the hotshoe by mounting a flash and making sure communications between teh flash and camera work properly.
There are some reports of failure of the hotshoe to communicate with a mounted flash. The repair is about $300 and requires replacement of the hotshoe assembly. The pop-up flash works fine and the issue is only revealed by testing a flash mounted on the camera.