Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileSystemObject Problem - help needed

Status
Not open for further replies.

dbrom

Programmer
Feb 21, 2001
100
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top