We had some issues at work with uploading images to our WordPress blog. It was super annoying. We kept getting the following error when trying to upload an image using the Upload/Insert function in WordPress:
“The uploaded file could not be moved to C:\inetpub\www\website\wp-content\uploads”
It was difficult to find a solution because there is a large majority of WordPress users who use Apache as the web server. I was finding little info on IIS7 and Server 2008. I saw plenty of forum posts with the exact problem. The particular poster would then reply to his own detailed question and say “Thanks everyone! I figured it out on my own.” Ah WHAT? Post what your solution was so it benefits the community. So this is why I am posting this on my blog.
Most of the recommenced solutions were to give the IUSR account write/modify permissions to all the directories down to the uploads directory. This did not work for me. We dug into IIS7 and started looking at the authentication section of IIS7 for that site. “Anonymous Authentication” was set to a user that did not exist. So we changed it to use the application pool identity and it worked great.
Go to the authentication section of the site.
Select the "Anonymous Authentication" from the middle list once in the authentication section of the site.
Click on Edit on the Action menu on the right side.
Select the Apllication pool identity radio button
This worked great. I could instantly upload a image to a WordPress post. I hope this helps you out in your journey to solve the permissions issue with the image unloader in IIS7 and WordPress.
Feel free to comment if the solution worked for you.




Pingback: Handling “Permision denied” in IIS « Charles Strahan's Blog
Pingback: Поставил свой Wordpress на ISS 7.5 | asptuts - уроки asp.net, mvc
Pingback: Word Press e IIS 7 amici ma non troppo :@ !!! « RicDeb
Pingback: Решаем проблему с загрузкой файлов на Wordpress | Блог Бафа
Pingback: the upload file problem | eleveneven