Everything I read on this error suggests that this error is a problem with directory permissions which is strange since I am running as a user with admin access under wamp on windows. Both of the directories mentioned exist and are writable. Apache is running as a local system account. I have added the following to my httpd.conf:

<Directory "C:/wamp/tmp">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

I am running PHP 5.2.11

and yet the error below still occurs. Can anyone suggest how I can go about getting more diagnostic information so I can determine why this error is occurring?

warning: move_uploaded_file(C:/wamp/www/hvuc/sites/default/files/sundaynight.png) [function.move-uploaded-file]: failed to open stream: Permission denied in C:\wamp\www\hvuc\includes\file.inc on line 615.
warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\wamp\tmp\phpBF.tmp' to 'C:/wamp/www/hvuc/sites/default/files/sundaynight.png' in C:\wamp\www\hvuc\includes\file.inc on line 615.
File upload error. Could not move uploaded file.