Connecting Tech Pros Worldwide Forums | Help | Site Map

fso.GetFolder() holds IIS from responding

Ajak
Guest
 
Posts: n/a
#1: Jul 19 '05
Hi,

I'm developing an ASP page on Win XP (IIS 5.1) which uses the the GetFolder
method as below:-

Set f = fso.GetFolder(fsDir)

But everytime this line executes (when stepping in debugging mode), it stays
there forever. Restarting the browser/IIS webserver does not terminate the
process. Subsequent access to the webserver (other working page!) does not
get any reply/response from the webserver. Have to restart the PC to get the
webserver working again.

Other object returning FSO method such as GetFile also produce this kind of
behavior. But ordinary methods such as FolderExists works OK. Haven't tried
the OpenTextFile method which returns a TextStream object cos I'm tired of
restarting my PC.

Has any of you experienced this kind of behavior? Please help...

--
Ajak ICQ#: 54972548



Bob Barrows
Guest
 
Posts: n/a
#2: Jul 19 '05

re: fso.GetFolder() holds IIS from responding


Ajak wrote:[color=blue]
> Hi,
>
> I'm developing an ASP page on Win XP (IIS 5.1) which uses the the
> GetFolder method as below:-
>
> Set f = fso.GetFolder(fsDir)
>
> But everytime this line executes (when stepping in debugging mode),
> it stays there forever. Restarting the browser/IIS webserver does not
> terminate the process. Subsequent access to the webserver (other
> working page!) does not get any reply/response from the webserver.
> Have to restart the PC to get the webserver working again.
>
> Other object returning FSO method such as GetFile also produce this
> kind of behavior. But ordinary methods such as FolderExists works OK.
> Haven't tried the OpenTextFile method which returns a TextStream
> object cos I'm tired of restarting my PC.
>
> Has any of you experienced this kind of behavior? Please help...[/color]

http://www.aspfaq.com/show.asp?id=2180

HTH,
Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


Ajak
Guest
 
Posts: n/a
#3: Jul 19 '05

re: fso.GetFolder() holds IIS from responding


Thank you very much for the link... I disabled ScriptBlocking and now it
works flawlessly. Thanks again Bob!!

"Bob Barrows" <reb01501@NOyahoo.SPAMcom> wrote in message
news:OwufHFqlDHA.2488@TK2MSFTNGP12.phx.gbl...[color=blue]
> Ajak wrote:[color=green]
> > Hi,
> >
> > I'm developing an ASP page on Win XP (IIS 5.1) which uses the the
> > GetFolder method as below:-
> >
> > Set f = fso.GetFolder(fsDir)
> >
> > But everytime this line executes (when stepping in debugging mode),
> > it stays there forever. Restarting the browser/IIS webserver does not
> > terminate the process. Subsequent access to the webserver (other
> > working page!) does not get any reply/response from the webserver.
> > Have to restart the PC to get the webserver working again.
> >
> > Other object returning FSO method such as GetFile also produce this
> > kind of behavior. But ordinary methods such as FolderExists works OK.
> > Haven't tried the OpenTextFile method which returns a TextStream
> > object cos I'm tired of restarting my PC.
> >
> > Has any of you experienced this kind of behavior? Please help...[/color]
>
> http://www.aspfaq.com/show.asp?id=2180
>
> HTH,
> Bob Barrows
>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>
>[/color]


Closed Thread


Similar ASP / Active Server Pages bytes