Forums

Image Upload Problem using IIS on Windows Server 2008 (5 posts)

  1. Anonymous
    Unregistered
    Posted 3 years ago #

    Just installed wordpress 2.6 on Windows Server 2008 using IIS. I am unable to upload attachments to a post. In addition, I am trying to do an rss import, and I am also unable to upload files that way. The error I get is:

    Unable to create directory C:\inetpub\website/wp-content/uploads. Is its parent directory writable by the server?

    I have seen tons of posts on this topic, but most of them deal with either creating a .htaccess file (which I assume does not apply to windows / iis) or using chmod to set directory permissions.

    To test, I have given the process identity account full control of the entire web site folder. In addition, I have tried manually creating the upload directory and applying the same permissions to it, at which point I get this error:
    The uploaded file could not be moved to C:\inetpub\website/wp-content/uploads

    I understand not many people on the forums are using Windows Server, but I could really use some suggestions as to the next step to take.

    One question I have is about the file path. I noticed it is a local directory path, and also that the direction of the backslashes changes halfway through. Could this be part of the problem.

  2. Anonymous
    Unregistered
    Posted 3 years ago #

    Problem solved. I just had to add the anonymous user (IUSR) with Modify permissions to the Uploads folder after I created it.

  3. roricka
    Member
    Posted 2 years ago #

    But doesn't this open a security hole on your server? You are enabling changes to your site by an anonymous user.

  4. Shane G
    Member
    Posted 2 years ago #

    Hi,

    on windows server if you grant access to upload images/photoes /video to the upload folder then you will have to assign IUSER permissions to write access to the upload folder only..

    It can not create a security hole for the site..but make sure that you have assign permissions to the upload folder only..

    Thanks,

    Shane G.

  5. roricka
    Member
    Posted 2 years ago #

    OK. Thanks.
    Roricka

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.