| Author |
Topic Search Topic Options
|
joster
Newbie
Joined: 21 August 2006
Status: Offline
Points: 3
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
joster
Newbie
Joined: 21 August 2006
Status: Offline
Points: 3
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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
|
|
|
 |
joster
Newbie
Joined: 21 August 2006
Status: Offline
Points: 3
|
Post Options
Thanks(0)
Quote Reply
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
|
 |