I''m trying to run the following ASP code:

Set objFile = CreateObject("Scripting.FileSystemObject")
strImagePath = Server.MapPath("images/deletethis.jpg")
If objFile.FileExists(strImagePath) Then
objFile.DeleteFile(strImagePath)
End If
Set objFile = Nothing

When I try to run it, IIS "stalls". Other machines connecting to the server are unaffected, but anything from the machine that tried to access the page with the offending code just sits there (without any errors). Initially, the only thing I could do to un-stall it was reboot the server, but now I''ve found that if I kill the dllhost.exe process owned by IWAM_Machine it fixes itself.

IWAM_Machine and IUSR_Machine have read/write access to that folder. Anyone know what''s going on?

-----------------------------
This message is posted by http://Asp.ForumsZone.com

Re: Server stalls ? by Atrax

Atrax
Wed Jul 09 23:07:57 CDT 2003

I'll bet you have Norton Antivirus installed with script blocking
enabled, which is preventing use of FileSystemObject





________________________________________
Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

newsflash : Atrax.Richedit 1.0 now released.
http://rtfm.atrax.co.uk/infinitemonkeys/components/Atrax.RichEdit/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!