Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

ASP Script errors.. Only just started happenng....!

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Related Topics:
script errors - When I'm surfing the web I get script errors. What does this mean? What do I need to do correct it?

IIS Script Engine Errors - Hi, I'm currently issues with two web servers that are load balanced using microsoft network load balancing that comes with Windows 2000 Advanced Server. The connect to a oracle database that sits on a Unix box running

Errors during script runtime - Hi all. Hoping someone can lead me in the right We are having some issues with our IIS server, and I started PerfMon, and found that I'm getting During Script We have A LOT of scripts running on our site, so I'd like to know..

IIS & XP Pro : Service could not be started - After IIS several times I can't get it to work. The seems to be completed but I can't get it to work. If I open the Internet Services in the Tools I see my computer and that's it. No sign..

IIS service - not started - My PC is running on MS Windows 2000 I am unable to use some of the IIS services IF I give in internet Explorer I get an Failed " error meaage the error message number is 1474 I couldn't view my ASP pages..
Next:  IIS: IIS5 EXE woes.....  
Author Message
tomt

External


Since: Jan 31, 2004
Posts: 2



(Msg. 1) Posted: Sat Jan 31, 2004 3:16 pm
Post subject: ASP Script errors.. Only just started happenng....!
Archived from groups: microsoft>public>inetserver>asp>db, others (more info?)

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 ! Smile

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<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ASP Script errors.. Only just started happenng....! 
Back to top
Login to vote
erik38

External


Since: Jan 30, 2004
Posts: 8



(Msg. 2) Posted: Sun Feb 01, 2004 1:46 am
Post subject: Re: ASP Script errors.. Only just started happenng....! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 DeleteThis @takenet.com> wrote in message
news:om6n10pdr54i4bfa3t0ibh4032q4aeruuf@4ax.com...
 > 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 ! Smile
 >
 > 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
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ASP Script errors.. Only just started happenng....! 
Back to top
Login to vote
tomt

External


Since: Jan 31, 2004
Posts: 2



(Msg. 3) Posted: Sun Feb 08, 2004 1:26 am
Post subject: Re: ASP Script errors.. Only just started happenng....! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 ??
 >> Stay informed about: ASP Script errors.. Only just started happenng....! 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]