These may be stupid questions, but:
(1) are you sure your lens is properly seated, and
(2) did you turn the camera off before switching lenses?
If the answer to either of these questions is or may be no, turn off the camera, remove the lens, and start over.