Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Upload not working
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Upload not working

 Post Reply Post Reply
Author
joster View Drop Down
Newbie
Newbie


Joined: 21 August 2006
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote joster Quote  Post ReplyReply Direct Link To This Post Topic: Upload not working
    Posted: 21 August 2006 at 6:00pm
I am having problems getting the uploads to work. I am using ASP upload on a winXP machine.  The file uploads however when I go to add the post I get the following error.

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

Please try the following:

    * Click the Refresh button, or try again later.
    * Open the wysweb home page, and then look for links to the information you want.

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

Technical Information (for support personnel)

    * Error Type:
      Microsoft VBScript runtime (0x800A0046)
      Permission denied
      /forum/new_post.asp, line 374

    * Browser Type:
      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6

    * Page:
      POST 348 bytes to /forum/new_post.asp

    * POST Data:
      message=%3Ca+title%3D%22test+3%22+href%3D%22uploads%2Ftemp%2F20060821_104748_Forum_Permissio.xls%22%3Euploads%2Ftemp%2F20060821_104748_Forum_Permissio.xls%3C%2Fa%3E%3Cbr%3E%0D%0A&browser=RTE&forumCode . . .

    * Time:
      Monday, August 21, 2006, 10:47:57 AM

    * More information:
      Microsoft Support




Edited by joster - 21 August 2006 at 6:58pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2006 at 10:44pm
This is a permissions error, you need to set modify as well as read and write permissions on the upload directory.
Back to Top
joster View Drop Down
Newbie
Newbie


Joined: 21 August 2006
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote joster Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2006 at 10:47pm
I have added Permission's on the upload directory.  And the file actually gets uploaded, but when you go to actually add the post I get this error
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2006 at 11:10pm
I have come across this error many times and it is 100% a permissions problem.

When the file/image is initially uploaded it is placed into a temp directory, when the post is submitted it is moved to a permanent place and associated in the database with the post so it can be deleted when the post is deleted.

The line on which you get the error is the line that moves the uploaded file/image to it's new location outside of the temp directory and the error message you have is 'permission denied'. This means that you do not have the correct permissions set on the upload directory.

You need to have read, write, and modify, permissions set on the upload directory that are also inheritable to files and folders within that folder. These need to be set for the IUSR account on your machine.


Edited by -boRg- - 21 August 2006 at 11:11pm
Back to Top
joster View Drop Down
Newbie
Newbie


Joined: 21 August 2006
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote joster Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2006 at 1:21am
OK, I finally got it working, really weird.  I checked all the permissions and there were ok.  So I went ahead and gave the IUSR account Full Control of the folder.  Tested again and it worked.  I went ahead and removed the Full Control and its still working.  Gues Windows XP just didn't want to put in everything till I said Full Control.  Thanks for the help
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.