473,799 Members | 3,132 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 6377
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
5596
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
16561
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
13807
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
10367
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
9426
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
10470
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...
0
10247
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10214
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
10023
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7561
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
6803
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
5459
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4135
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2935
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.