473,785 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Scripting.FileS ystemObject (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\tem p which was a Windows 2000 server and
worked great, now I changed the fldr to point to \\Bradford7\tem p which is a
Windows 2003 R2 server. After pointing to Windows 2003 R2 box the
FolderExists(fl dr) 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\te mp"
Set fso = CreateObject("S cripting.FileSy stemObject")
If NOT fso.FolderExist s(fldr) Then
' Folder Found
Else
' Folder Not Found
End If

Thank you in advance,
Michael Kintner
May 14 '07 #1
2 6374
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" <no****@nospam. comwrote in message
news:13******** *****@corp.supe rnews.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\tem p which was a Windows 2000 server and
worked great, now I changed the fldr to point to \\Bradford7\tem p which is
a Windows 2003 R2 server. After pointing to Windows 2003 R2 box the
FolderExists(fl dr) 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\te mp"
Set fso = CreateObject("S cripting.FileSy stemObject")
If NOT fso.FolderExist s(fldr) Then
' Folder Found
Else
' Folder Not Found
End If

Thank you in advance,
Michael Kintner

May 15 '07 #2
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\tem p which was a Windows 2000
server and worked great, now I changed the fldr to point to
\\Bradford7\tem p which is a Windows 2003 R2 server. After pointing
to Windows 2003 R2 box the FolderExists(fl dr) 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.
May 15 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
5593
by: Rodd Snook | last post by:
I have an application which makes extensive use of the Scripting.Dictionary object. I'm not doing anything silly like putting them outside the page scope -- just creating quite a few of them and stuffing quite a lot of data (from and MS SQL database) into them. On Windows 2000 server, everything is fine. If the data structures get really big it slows down, but for normal operation it's no problem. Recently our hosting provider moved to...
3
3448
by: bt | last post by:
I am just beginning with asp and have gotten an error that I need some help with. I posted a pair of files to an online ASP host server. The files are in the same directory; one is readfile.asp which should open the other which is a simple text file - newText.txt . Here is readfile.asp : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html>
0
1192
by: bk | last post by:
I get "SQL Server is unavailable or does not exist" error while developing asp.net application in vs2003's IDE development mode. The sql2000 is installed on a windows 2003 server. I am able to connect to server using Query Analyzer and Enterprise Manager. My connection string is: string sConStr= "Server = 192.168.0.28;User ID=myuser;Initial Catalog=pubs;Password=mypassword"
2
18062
by: Stavros | last post by:
Hi all when I execute the following VB6 code in Windows 2000 and as an Administrator, everything is working fine. Project->References->"Microsoft Scripting Runtime" and scrrun.dll is located in C:\WINNT\System32 Sub Main() Dim fs As FileSystemObject
4
16560
by: MoF | last post by:
Hello! I have for a long time used the line: Set FS=Server.CreateObject("Scripting.FileSystemObject") in my ASP code. Suddenly one day this week it stopped working and I now get the error: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed
1
13806
by: Astra | last post by:
Hi All Was running my ASP app no problem on a Windows XP Pro SP2 machine with IIS, dragged a copy my app folder and put it on another Windows XP Pro SP2 machine with IIS and I get the below problem: Error Type: Microsoft VBScript runtime (0x800A01AD) ActiveX component can't create object: 'Scripting.FileSystemObject' /asp/forms.asp, line 497
4
10366
by: Astra | last post by:
Hi All I know there are numerous postings on the web about this, but none of them seem definitive and they haven't resolved my issue. I'm running WinXP Professional and IIS v5.1 to create my ASP sites. JMail, ASPupload, ODBC, OLEDB all work fine, but I keep getting: ActiveX component can't create object: 'Scripting.FileSystemObject'
5
5199
by: VancouverMike | last post by:
Hi there, I am writing a web app using asp.net 1.1 and C#. This web app is launched in another win32 application and this app needs to pass information to my web app. But this win32 application doesn't support long string(Maximum 255), which gives me problem passing information longer than 255 through querystring. So I have to use an intermedia plain file and in my web app, using Scripting.FileSystemObject to open the file and read the...
1
9425
by: pbd22 | last post by:
Hi - I have code that automatically fills tabs on a page. In some cases, a URL path won't be correct (the folder and files don't exist) and, in these cases, I want to catch these exceptions and move the logic to the next instance in the loop (again, testing if the URL path exists). I have a check_path function for these cases with the following code: var oFSO = new ActiveXObject("Scripting.FileSystemObject");
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10357
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7510
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.