I bet this is boring some people, but I have to put this in.
I have installed wordpress 3.5.1 on IIS. I was getting a "missing a temporary folder"
my solution, edit the php.ini with:
upload_tmp_dir ="c:/php/tmp"
obviously if your php installation is elsewhere you willhave to change the path.