This line of code is causing IIS 4.0 on Win NT 4.0 server
to hang infinately...

set objFile = objFSO.GetFile(strPhysicalPath)

The code works as expected on IIS 5.0/Win 2000 server.
When I comment out that line the page will display with no
problem. I have reinstalled the scripting runtime library
3 times (scr56en.exe).

Is there an issue with the GetFile method of the
FileSytemObject on Win NT 4.0 that I need to know about?
Please advise.

thanks,

Ron

p.s. the server has Service Pack 6a, and all security
patches as of today.

Re: GetFile Method, ASP 3.0 & VBScript, Win NT 4.0 Server by Michael

Michael
Sun Aug 24 14:41:28 CDT 2003

Ron Williams wrote:
> This line of code is causing IIS 4.0 on Win NT 4.0 server
> to hang infinately...
>


PRB: Antivirus Software Causes FileSystemObject Calls to Hang IIS
http://support.microsoft.com/default.aspx?kbid=295375


> set objFile = objFSO.GetFile(strPhysicalPath)
>
> The code works as expected on IIS 5.0/Win 2000 server.
> When I comment out that line the page will display with no
> problem. I have reinstalled the scripting runtime library
> 3 times (scr56en.exe).
>
> Is there an issue with the GetFile method of the
> FileSytemObject on Win NT 4.0 that I need to know about?
> Please advise.
>
> thanks,
>
> Ron
>
> p.s. the server has Service Pack 6a, and all security
> patches as of today.

--
Michael Harris
Microsoft.MVP.Scripting

Windows 2000 Scripting Guide
Microsoft® Windows®2000 Scripting Guide
http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp

System Administration Scripting Guide - samples scripts
http://www.microsoft.com/downloads/release.asp?ReleaseID=38942

WSH 5.6 documentation download
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en


Re: GetFile Method, ASP 3.0 & VBScript, Win NT 4.0 Server by Torgeir

Torgeir
Mon Aug 25 11:05:07 CDT 2003

Ron Williams wrote:

> This makes perfect sense because I am running Norton on
> the NT 4.0 box, but have McAfee on the 2000 box. I havent
> checked out the Norton site to figure out how to disable
> it yet, but after I do that, Ill let you all know if this
> fixed the problem.

A screen shot here:

Why does FileSystemObject hang all of a sudden?
http://www.aspfaq.com/show.asp?id=2180


> Thanks a lot Michael Harris, that was quick and it appears
> you got the answer even though i gave no information on my
> virus protection!

It's a very common problem ;-)


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter



Re: GetFile Method, ASP 3.0 & VBScript, Win NT 4.0 Server by Ron

Ron
Mon Aug 25 22:29:02 CDT 2003

Yep, that was it. The script blocker in Norton Anti-
Virus. this is the first time i tested an App that used
FSO and at work we dont use Norton. Go figure.

Thanks!!