Scripting.FileSystemObject (Problem with Windows 2003 R2)

Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default Scripting.FileSystemObject (Problem with Windows 2003 R2)

    Strange thing happening with Windows 2000 to Windows 2003 R2

    This ASP script below is sitting on a Windows 2000 IIS Server Box and the
    fldr was pointing to \\Bradford2\temp which was a Windows 2000 server and
    worked great, now I changed the fldr to point to \\Bradford7\temp which is a
    Windows 2003 R2 server. After pointing to Windows 2003 R2 box the
    FolderExists(fldr) no longer works. The directory is there and all the
    permissions are the same from Bradford2 to Bradford7.

    Any ideas why Windows 2003 R2 is not working. I found some article of
    others having this issues but no fixes.

    Dim fldr, fso
    fldr = "\\bradford7\temp"
    Set fso = CreateObject("Scripting.FileSystemObject")
    If NOT fso.FolderExists(fldr) Then
    ' Folder Found
    Else
    ' Folder Not Found
    End If

    Thank you in advance,
    Michael Kintner


    Michael Kintner Guest

  2. Similar Questions and Discussions

    1. Can't install MS Windows Scripting 5.6 in Windows 2003 Server
      Hi, I'm trying to install the MS Windows Scripting 5.6 or one that Windows 2003 Server able. When I tried it W2003 throughs a message: "MS...
    2. Alternatives to using Scripting.FileSystemObject
      Hi, I've got a freebie hosting mirror of my production personal website (sounds kinda grandiose, doesn't it?) at http://journeys.webhostme.com/....
    3. Scripting.FileSystemObject problems
      If I comment #2 to #5 no problems. If I uncomment #2, #4 and #5 the page hangs. Even did not reach the point to uncomment #3 So, whats wrong. Do i...
    4. Scripting.FileSystemObject
      Hi everybody, found strange behavior in Scripting.FileSystemObject; only FileExists() method seems to work fine. All other methods cause browser...
    5. Scripting.FileSystemObject under stress
      I'm having intermittent trouble with the Scripting.FileSystemObject. Basically, I'm stress testing my ASP application and using the FSO to output...
  3. #2

    Default Re: Scripting.FileSystemObject (Problem with Windows 2003 R2)

    Hi,

    What happens when you use an IP address instead of bradford7 ?
    The R2 firewall is not on is it?

    CreateWindow
    [url]http://justpageprobe.com[/url]
    The FREE Web page utility you always wanted.
    Monitor your enterprise Web Servers.
    Keep your router connected.
    Email your IP to where you need it.


    "Michael Kintner" <nospam@nospam.com> wrote in message
    news:134gr40fb14qtce@corp.supernews.com...
    > Strange thing happening with Windows 2000 to Windows 2003 R2
    >
    > This ASP script below is sitting on a Windows 2000 IIS Server Box and the
    > fldr was pointing to \\Bradford2\temp which was a Windows 2000 server and
    > worked great, now I changed the fldr to point to \\Bradford7\temp which is
    > a Windows 2003 R2 server. After pointing to Windows 2003 R2 box the
    > FolderExists(fldr) no longer works. The directory is there and all the
    > permissions are the same from Bradford2 to Bradford7.
    >
    > Any ideas why Windows 2003 R2 is not working. I found some article of
    > others having this issues but no fixes.
    >
    > Dim fldr, fso
    > fldr = "\\bradford7\temp"
    > Set fso = CreateObject("Scripting.FileSystemObject")
    > If NOT fso.FolderExists(fldr) Then
    > ' Folder Found
    > Else
    > ' Folder Not Found
    > End If
    >
    > Thank you in advance,
    > Michael Kintner
    >

    CreateWindow Guest

  4. #3

    Default Re: Scripting.FileSystemObject (Problem with Windows 2003 R2)

    Michael Kintner wrote:
    > Strange thing happening with Windows 2000 to Windows 2003 R2
    >
    > This ASP script below is sitting on a Windows 2000 IIS Server Box and
    > the fldr was pointing to \\Bradford2\temp which was a Windows 2000
    > server and worked great, now I changed the fldr to point to
    > \\Bradford7\temp which is a Windows 2003 R2 server. After pointing
    > to Windows 2003 R2 box the FolderExists(fldr) no longer works. The
    > directory is there and all the permissions are the same from
    > Bradford2 to Bradford7.
    >
    I know you are saying all the permissions are the same, but this is most
    likely being caused by a permissions issue, so you may have overlooked
    something. Check this out:
    [url]http://www.aspfaq.com/show.asp?id=2168[/url]
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows [MVP] 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