I have been having problems with blender recently where I will open a new project and all of a sudden I can rotate or pan.
I can still zoom and the issue usually just stops after I change views a couple of times, however today I opened a new file and the problem won't go away.
I am using a 3 button mouse, and these are my user preferences: