CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Uploading Error - An error occured when uploading file specified in Thumb. Error description: Microsoft VBScript runtime error, Permission denied.

Print topic Send  topic

Author Message
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
View profile  Send private message
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.
View profile  Send private message
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
View profile  Send private message
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.
View profile  Send private message
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
View profile  Send private message
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.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.