I'm having a problem that's driing me nuts. I tracked a nasty bug on an ASP page down to the GetFolder method of WSH FileSystemObject.
I can instantiate FSO perfectly, but when I use GetFolder to instantiate a folder object, it hangs, so the page never finish loading, and IIS needs to be restarted in order to serve anything else.
Look at some sample code:
This works:
Dim oFSO, loFolder
Set oFSO=CreateObject("Scripting.FileSystemObject")
I can print: oFSO.Drives.Count
But if I do:
Set loFolder=oFSO.GetFolder(lcPath)
This hangs further execution. I know that this code WORKS in other environments.
I'm running IIS 5.0, W2K Pro SP3.
Any idea?