Girish
|
| Posted: 02/03/2005, 7:40 AM |
|
I am trying to upload images with Persites Upload . Whats is Solution for this error
Quote :An error occured when uploading file specified in Thumb. Error description: Microsoft VBScript runtime error, Permission denied.
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 02/03/2005, 10:42 AM |
|
I never seen this but the error looks clear. Permissions are denied, probably for the upload folder.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Girish
|
| Posted: 02/03/2005, 10:23 PM |
|
Here is the Answer for this error
http://support.microsoft.com/default.aspx?scid=kb;en-us;197964
|
|
|
 |
smalloy
Posts: 107
|
| Posted: 03/10/2005, 11:08 AM |
|
I have the same issue but can't resolve it with the MS Article ID 197964.
I used the example in example pack 2. I have a Win 2K3 Server, I am using MS SQL server and purchased ABC_Upload componant that I registered on the server with regsvr32.exe.
I set up a shared folder "files", I set Security on the folder for IUSR_PCSERVER and Allow:
Modify, Read and Execute, List Folder Contents, Read and Write.
In IIS (ver 6.0) The Properties of the Web Share (the files folder) are:
Under the Directory Tab: Read, Write and Directory Browsing.
Under the Directory Security Tab I already had checked Anonymus Access and the User Name is IUSR_PCSERVER and the password is typed in and correct.
Any Idea's?
_________________
Anything can be done, just give me time and money. |
 |
 |
peterr
Posts: 5971
|
| Posted: 03/10/2005, 11:30 AM |
|
Possibly your Temporary Folder doesn't have correct permissions.
BTW, I don't think that you need to change or assign any permissions in IIS, only to Windows folder.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
smalloy
Posts: 107
|
| Posted: 03/10/2005, 11:41 AM |
|
Yup, IUSR_comutername needs to have rights in the windows Temp folder.
THANX!
_________________
Anything can be done, just give me time and money. |
 |
 |
peterr
Posts: 5971
|
| Posted: 03/10/2005, 11:45 AM |
|
Great. Just let me clarify that it doesn't need to be the main Temp folder for Windows, but the folder that is specified in "Temporary Folder" property of the FileUpload component.
Although who knows, maybe the Windows temp folder is used in some cases, for example if "Temporary Folder" is blank.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Norbert
|
| Posted: 05/12/2005, 3:42 AM |
|

Exactly. CCS by default puts %temp in the temporary upload folder filed which is usually not the web temp folder you assign permissions to.
I've already lost some time looking for the reason of files not being uploaded correctly, then I realized that in my script there was %temp. I have changed it to d:\Web\tmp (my tmp folder for web uploads) and set the final upload folder permissions to:
Domain Users - RW
Everyone - R
and now - my domain users can upload files and all the others can only read them .
Best regards
Norbert
|
|
|
 |
Ceriel
|
| Posted: 06/07/2005, 4:56 AM |
|
In my case the error disappear after giving
delete rights
to
IUSR_machinename / IWAM_machine name
for
the Temporary Folder.
|
|
|
 |