Forums
This topic is locked
Delete File
Posted 10 May 2001 01:34:29
1
has voted
10 May 2001 01:34:29 Leon Radley posted:
I tried using Paul Keurs FAQ, on this subject, but I get this error when the script is exicuted on my webserver:Microsoft VBScript runtime error '800a0046'
Permission denied
/admin/modelladmin.asp, line 81
the permissions are set to read/write and there should be no problem...???
The line: 81 is
File.DeleteFile(ImagePath)
No ide whats wrong please help
// Leon
Replies
Replied 01 Jun 2001 22:02:43
01 Jun 2001 22:02:43 Dave Joosten replied:
Hello Leon,
Make sure that your database in ODBC isn't defined as read-only. An other thing you might check is if you applied security rules to your database that would restrict editing it.
Now that line 81 ImagePath, is guess that just points to a directory where you store your images, right ?
Please correct me if i didn't understand more that you supplied in your problem and ill try to help ya out.
Let me know if you got it working <img src=icon_smile_wink.gif border=0 align=middle>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I tried using Paul Keurs FAQ, on this subject, but I get this error when the script is exicuted on my webserver:
Microsoft VBScript runtime error '800a0046'
Permission denied
/admin/modelladmin.asp, line 81
the permissions are set to read/write and there should be no problem...???
The line: 81 is
File.DeleteFile(ImagePath)
No ide whats wrong please help
// Leon
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Dave Joosten
Make sure that your database in ODBC isn't defined as read-only. An other thing you might check is if you applied security rules to your database that would restrict editing it.
Now that line 81 ImagePath, is guess that just points to a directory where you store your images, right ?
Please correct me if i didn't understand more that you supplied in your problem and ill try to help ya out.
Let me know if you got it working <img src=icon_smile_wink.gif border=0 align=middle>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I tried using Paul Keurs FAQ, on this subject, but I get this error when the script is exicuted on my webserver:
Microsoft VBScript runtime error '800a0046'
Permission denied
/admin/modelladmin.asp, line 81
the permissions are set to read/write and there should be no problem...???
The line: 81 is
File.DeleteFile(ImagePath)
No ide whats wrong please help
// Leon
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Dave Joosten