Subject: Deleting asp files from asp
Posted By: x_ray Post Date: 4/4/2006 3:05:19 PM
hello,
i need a way to delete .asp files in the wwwroot/site/
what should i do?
i tried to use the filsesystemobject to do it, but i have the following error :
Microsoft VBScript runtime (0x800A0046)
Permission denied

although i enabled scripts, and iis has anonymous access, what is the solution for this ?
thanks in advance

Reply By: dparsons Reply Date: 4/5/2006 10:53:42 AM
Your IIS settings for the directory have to be set to read and write.  (Becareful because this can allow ANYONE to read and write to that directory.)

"The one language all programmers understand is profanity."
Reply By: x_ray Reply Date: 4/7/2006 6:09:16 AM
i have given it all the writes that are possible, even to execute scripts and executables, but still don't work, the same permission denied error.

Reply By: ChrisScott Reply Date: 4/7/2006 6:32:28 AM
Have you assigned the read / write permission to your IUSR_[yourMachineName] user - you can see this in windows explorer on the security tab for a file or directory (not in the IIS snap-in)?

BTW, unless you really are running executables in your web, I would definitely disable this option.

HTH,

Chris


Go to topic 42527

Return to index page 320
Return to index page 319
Return to index page 318
Return to index page 317
Return to index page 316
Return to index page 315
Return to index page 314
Return to index page 313
Return to index page 312
Return to index page 311