Scripting.FileSystemObject (Problem with Windows 2003 R2)
Scripting.FileSystemObject (Problem with Windows 2003 R2)
am 14.05.2007 16:04:47 von DFS
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
Re: Scripting.FileSystemObject (Problem with Windows 2003 R2)
am 15.05.2007 07:20:52 von CreateWindow
Hi,
What happens when you use an IP address instead of bradford7 ?
The R2 firewall is not on is it?
CreateWindow
http://justpageprobe.com
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" 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
>
Re: Scripting.FileSystemObject (Problem with Windows 2003 R2)
am 15.05.2007 07:20:52 von CreateWindow
Hi,
What happens when you use an IP address instead of bradford7 ?
The R2 firewall is not on is it?
CreateWindow
http://justpageprobe.com
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" 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
>
Re: Scripting.FileSystemObject (Problem with Windows 2003 R2)
am 15.05.2007 16:05:44 von reb01501
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:
http://www.aspfaq.com/show.asp?id=2168
--
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.
Re: Scripting.FileSystemObject (Problem with Windows 2003 R2)
am 15.05.2007 16:05:44 von reb01501
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:
http://www.aspfaq.com/show.asp?id=2168
--
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.