This question already has an answer here:
The camera functions fine from f/1.8 all the way to f/22 when I lock the aperture ring at f/22. Whenever I try to use the aperture ring, however, it gives an fEE error and that is even on manual mode and aperture priority. I have checked the lens and can make sure that the aperture ring in fact does correctly change the aperture when it is disconnected from the camera.
Do I have a faulty lens or do I need to change a setting to allow control of the aperture from the lens instead of the camera? As far as I have read, it seems like the D3300 should allow manual control of the aperture from an aperture ring. Am I mistaken?