Thread:Project:Support desk/The file you uploaded seems to be empty - Windows Server 2008 R2

I've just installed MW 1.18.2 and followed the instructions at http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads to enable file uploads. As soon as I select a PNG file to upload, a preview of that image appears in the browser, but when I click on the "Upload file" button I just get the error message:

The file you uploaded seems to be empty. This might be due to a typo in the filename. Please check whether you really want to upload this file.

If I check C:\Windows\Temp, I can see two phpXXXX.tmp files created at the time I click upload - both are zero bytes long.

I've given IUSR (as well as "Authenticated Users" and "ANONYMOUS LOGON" full control to D:\mediawiki-1.18.2\images (i.e. the default upload directory), but still get the same.

The file I'm trying to upload is a tiny 21KB PNG, so I don't think it's a file size or type problem.

Does anyone have any clues as to what may be going wrong?

Thanks.

MediaWiki: 1.18.2 PHP: 5.3.10 (cgi-fcgi) MySQL: 5.5.22