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