Hey everyone!
I have a weired problem with FileSystemObject.
Whenever I try to create a folder or delete a file, IIS stops responding and I have to restart it.
I have full permissions for the appropriate folders set up for "IUSR_machine" (anonymous user) .
Here's the example of the code that hangs IIS:
folderPath = Request.ServerVariables("APPL_PHYSICAL_PATH"
+ "folio\\images\\headshots\\test\\";
var objFSO = Server.CreateObject("Scripting.FileSystemObject"
;
if (!objFSO.FolderExists(folderPath))
objFSO.CreateFolder(folderPath)
I am using Javascript/ASP, on Win2k Professional and IIS 5
The code runs fine on the production server (Win2k server), but my development server is having the aforementioned problems...
Any clues???
Any ideas are highly appreciated!
<Dmitriy>
dbrom@crosswinds.net
I have a weired problem with FileSystemObject.
Whenever I try to create a folder or delete a file, IIS stops responding and I have to restart it.
I have full permissions for the appropriate folders set up for "IUSR_machine" (anonymous user) .
Here's the example of the code that hangs IIS:
folderPath = Request.ServerVariables("APPL_PHYSICAL_PATH"
var objFSO = Server.CreateObject("Scripting.FileSystemObject"
if (!objFSO.FolderExists(folderPath))
objFSO.CreateFolder(folderPath)
I am using Javascript/ASP, on Win2k Professional and IIS 5
The code runs fine on the production server (Win2k server), but my development server is having the aforementioned problems...
Any clues???
Any ideas are highly appreciated!
dbrom@crosswinds.net