Ask a Question related to ASP Database, Design and Development.
-
TomT #1
ASP Script errors.. Only just started happenng....!
Microsoft VBScript runtime error '800a0046'
Permission denied
This happens when I try and delete a file using :
<!-- asp -->
<%
deletefile = request.querystring("file")
set objfso = createobject("scripting.filesystemobject")
if objfso.fileexists (server.mappath("backup/" & deletefile)) then
objfso.deletefile(server.mappath("backup/" & deletefile))
<!-- asp -->
This has worked in the past, but not now..
I think I've screwed the permissions, but can't work out what.
The folder structure is:
TESTSITE
---> backup
---> images
In the testsite root is the asp pages
The backup folder holds backup files
Images holds .... Images ! :)
I have set Administrators with Full Control, and IUSER with READ, WRITE,
READ, EXECUTE & LIST.
I have set for all the permissions to be passed to all files and folders
off the root of TestSite!! (I think !)
This is on Windows 2000 Server and Windows 2003 Server.
This worked on my old HardDisk, I cloned that and now running on a new disk
!
Any Advice ??
Thanks
TomT Guest
-
script errors
I have a project that is showing script errors. I don't think there are errors. LOL Basically it is the same code on the next button. go to and... -
Java script errors
Would one of you please assist? Running XP Home and Contribute 3 I am receiveing the following error message whenever I try to cut or paste on... -
Flash 8 Script Errors
We have a large flash application using .NET/SQL backend. In some areas the app will receive large a dataset and loop through it displaying the... -
HELP script errors in projector
everytime i try to go through my director file using the projector i get script errors on all of the buttons i have used to control windows media... -
Errors with a Ruby CGI script
> So it seems that smtp.rb is having a hard time loading digest/md5. Odd. Can you su to 'www' and run `ruby -e 'require "digest/md5"' ` ? Does... -
Erik #2
Re: ASP Script errors.. Only just started happenng....!
Hi,
If your site is configured for anonymous accesss, the iusr_ account will be
the account that needs premissions to delete the file. Why it have worked in
the past but not now I dont know, have you changed any configuration setting
in iis?
/Erik
"TomT" <tomt@takenet.com> wrote in message
news:om6n10pdr54i4bfa3t0ibh4032q4aeruuf@4ax.com...disk> Microsoft VBScript runtime error '800a0046'
> Permission denied
>
>
> This happens when I try and delete a file using :
>
> <!-- asp -->
>
> <%
> deletefile = request.querystring("file")
> set objfso = createobject("scripting.filesystemobject")
> if objfso.fileexists (server.mappath("backup/" & deletefile)) then
> objfso.deletefile(server.mappath("backup/" & deletefile))
>
> <!-- asp -->
>
>
> This has worked in the past, but not now..
> I think I've screwed the permissions, but can't work out what.
>
> The folder structure is:
>
> TESTSITE
> ---> backup
> ---> images
>
> In the testsite root is the asp pages
> The backup folder holds backup files
> Images holds .... Images ! :)
>
> I have set Administrators with Full Control, and IUSER with READ, WRITE,
> READ, EXECUTE & LIST.
>
> I have set for all the permissions to be passed to all files and folders
> off the root of TestSite!! (I think !)
>
> This is on Windows 2000 Server and Windows 2003 Server.
>
> This worked on my old HardDisk, I cloned that and now running on a new> !
>
> Any Advice ??
>
> Thanks
>
>
>
Erik Guest
-
TomT #3
Re: ASP Script errors.. Only just started happenng....!
The problem started when I installed windows 2003 server as a dual boot
with the existing Windows 2000 server.
The 'C:' drive is selectable from a boot menu, I can choose Win 2000 server
or Win 2003 Server, which ever I pick the other is hidden.
I also have a 'D:' this has the web sites on.
All was working fine until the 2003 server was installed and I assigned
permissions to the Web Sites folder.
I think the 2003 has overwritten the permissions on the 2000, and vice
versa..
If I give the IUSER modify and delete access to the folder with that site
in the scripts wor fine, but I can't remember if that is how it was
originally configured.
I do have a clone of the original machine, so I can swap the hard disk and
see what the setting were...
Any other advice or ideas ??
TomT Guest



Reply With Quote

