473,396 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Getfolder on the network

I use windows 2000, iis 5.

When I run the following program in IE6 I get the screen below.

--- Program:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body>
<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject ")
set f=fs.GetFolder("k:\test\")
Response.Write("The folder was last modified on: ")
Response.Write(f.DateLastModified)
set f=nothing
set fs=nothing
%>
</body>
</html>

--- Screen:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot
be displayed.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button, or try again later.

Open the localhost home page, and then look for links to the
information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Error Type:
Microsoft VBScript runtime (0x800A004C)
Path not found
/explorerview/test2.asp, line 7
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322;
..NET CLR 2.0.50727)

Page:
GET /explorerview/test2.asp

Time:
Thursday, May 25, 2006, 12:07:54 PM
More information:
Microsoft Support

---

However, when I change the folder to "C:\test\" everythng works fine.
In general the program seems to work for any folder on my local
machine, but for no folder on the network. I have full access to drive
K.

Regards,

Jan Nordgreen

May 25 '06 #1
1 2732
damezumari wrote:
I use windows 2000, iis 5.

When I run the following program in IE6 I get the screen below.

--- Program:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body>
<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject ")
set f=fs.GetFolder("k:\test\")
However, when I change the folder to "C:\test\" everythng works fine.
In general the program seems to work for any folder on my local
machine, but for no folder on the network. I have full access to drive
K.

See : 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 25 '06 #2

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

Similar topics

2
by: Benny Alexander | last post by:
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, Error Type: Microsoft VBScript runtime (0x800A01B6)...
4
by: David P. Jessup | last post by:
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 f=fso.getfolder(c:\path) Also, does anyone know if there is a...
2
by: Ajak | last post by:
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...
8
by: BJ | last post by:
Problem: How can I code up a client side process to detect if the network is available? Synopsis: I am writing ASP.NET input forms for a Panasonic Tuff book. The users will be walking around...
0
by: =?Utf-8?B?UmljayBF?= | last post by:
I have an IIS 6 server on Windows 2003 running in an AD domain attempting to enumerate the files on another Windows 2003 server on the same domain. The code and UNC path are sound as it works if I...
4
by: lspoulin | last post by:
Hi, We have a webpage browsing folders within the wwwroot. We need to access a remote shared directory the same way. We created a virtual directory in IIS with an alias pointing on this...
10
by: gary0gilbert | last post by:
An unusual spin to this recurring disk or network error in a Terminal Server environment. Access 2000, Terminal Server 2000, file server is windows 2000. All users have a separate copy of the...
3
by: bhavdahl | last post by:
Is there a property setting of some kind so that GetFolder will include all subfolders and files in the object folder? I'm using VBScript. I hope this topic covers script. It looked like it did....
0
by: nancylife | last post by:
When developing web report, many developers use VMware to simulate different operating systems on a same server. Then, they can realize cross-platform deployment and debug of web report. According to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
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...
0
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,...
0
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...

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.