Hi,<BR><BR>I have IIS running on Windows 2000. I am trying to open a text file using VBScript within my ASP code, but the GetFile method causes the server to hang. Here&#039;s the code extract:-<BR><BR><BR>&#060;%<BR> Function ReadHTMLFile()<BR> Dim objFSO<BR> Dim objFile<BR> Dim strFileName<BR><BR> strFileName = Chr(34) & _<BR> Server.MapPath("/MyWebDev/sample1.txt") & _<BR> Chr(34)<BR><BR> Set objFSO = CreateObject("Scripting.FileSystemObject")<BR> Set objFile = objFSO.GetFile(strFileName)<BR> End Function<BR>%&#062;<BR><BR><BR>I have surrounded the filename by quotes (") because it contains spaces.<BR><BR>Any ideas??<BR><BR>Alex