Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : ASP : ASP 3.0 : Won't overwrite existing files. Signup · Login
Author Thread
Won't overwrite existing files.
Posted in tutorial: Uploading Files to the Server Hard Disk using plain ASP
·  racingchicken
User
Joined: 7 Jun 2005
Total Posts: 2
Won't overwrite existing files.
Posted: 7 Jun 2005
Thanks for the code. It works great except for this one thing; when I attempt to upload a file that already exists in the destination folder I get this error message.

Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
/upload_working/Loader.asp, line 68


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Page:
POST 84012 bytes to /upload_working/Insert.asp

POST Data:
error '80020009'
Exception occurred.

/iisHelp/common/500-100.asp, line 223


The bad news is that each user only gets one file name for his photo and if they want to change their photo it will have to overwrite the previous one.

What can I do to fix this?

R. Chicken
·  racingchicken
User
Joined: 7 Jun 2005
Total Posts: 2
Solved it myself
Posted: 7 Jun 2005
I just read the error message again, saw the word "permissions" and that was the clue I needed. With XP Pro SP2 and ntfs file system, setting the permissions seems to be the answer to every problem. It was and I did and everything works fine.

Again, thanks for a great tutorial.

Users Who Have Visited This Thread In Last 24 Hours
3 Visitors

Login
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2009 Stardeveloper.com, All Rights Reserved.