fso.GetFolder() holds IIS from responding

Ask a Question related to ASP, Design and Development.

  1. #1

    Default fso.GetFolder() holds IIS from responding

    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


    Ajak Guest

  2. Similar Questions and Discussions

    1. DW 8 Not Responding
      Just downloaded DW8 (trial) and created a 'test' HTML page (from the CNET DW8 'online course'). When I try to 'preview' the page using IE6, DW hangs...
    2. FSO GetFolder
      Quick question. When using GetFolder do I have to pass off the path in quotes or not? Set f = fso.getfolder("c:\path") or Set...
    3. FSO "getfolder" method problem
      Aaron, I use IIS5 in win 2k pro. Same problem in the hosting server too. It has IIS6. Regards, Benny
    4. FSO "getfolder" method problem.
      Hi, I bought a ASP portal script, aspportal.net, But It gives a problem from a line, Set folderpath = fso.getfolder(thepath) The error is,...
    5. What file holds the username and password?
      Does anyone kno0w what the filename is of the file that holds the users username and password for the internet dialup connection? (Could it...
  3. #2

    Default Re: fso.GetFolder() holds IIS from responding

    Ajak wrote:
    > 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...
    [url]http://www.aspfaq.com/show.asp?id=2180[/url]

    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"


    Bob Barrows Guest

  4. #3

    Default 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...
    > Ajak wrote:
    > > 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...
    >
    > [url]http://www.aspfaq.com/show.asp?id=2180[/url]
    >
    > 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139