Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 23rd, 2004, 05:06 AM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default FSO - Network Drives - Please help!

Hi,

I've got some code that happily lists folders and files on our webserver. The problem is, I've now deployed this site onto our Live Server but it still needs to read the files and folders from our Test Server.

I created a P:\ drive on the Live Server mapped to the Test Server (just a standard Network Mapping) and this opens fine from the Live Server.

However, the ASP fails, with Path Not Found. If I change the code to read the local C:\ Drive - it's fine.

Quote:
quote:Microsoft VBScript runtime error '800a004c'

Path not found
The Live Server is a Windows 2003 server, the Test Server is Windows 2000.

Where am I going wrong? Any help will be gratefully appreciated.
:(

Cheers
Craig.

 
Old August 23rd, 2004, 06:16 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Are those two servers under same domain? If so you can achieve that using "\\ServerName\ShareName\" as path for it, but not using Drive mapping.

_________________________
- Vijay G
Strive for Perfection
 
Old August 23rd, 2004, 06:19 AM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

We're not using Domain Controllers.

Tried using the UNC \\Servername\Share but nothing worked. Still got Path Not Found, even though if I manually typed it into the Run box, the share appeared on the screen.



 
Old August 23rd, 2004, 07:20 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Obviously it would show you that in RUN box, but with FSO, it is not the case.

Check out this PRB: Cannot Access Remote Files with the FileSystemObject, that should help fixing this error.

Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old August 23rd, 2004, 07:24 AM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried that already.

Doesn't appeared to have worked - either that or I've implemented it in incorrectly.

Any other test I can do?

Cheers.



 
Old August 23rd, 2004, 07:29 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

There should have been some mistake in doing that, that works perfect.

_________________________
- Vijay G
Strive for Perfection
 
Old August 23rd, 2004, 07:34 AM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well I created a username of IUSR_LiveServer with the same password as the Live Server on the Test Server.

Then went to the folder I need to see, right clicked and added a share with IUSR_LiveServer having FULL permissions to the share and the Security Tab.

But no success.


 
Old August 23rd, 2004, 09:17 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Maybe, you can try the process mentioned in that link step by step.

_________________________
- Vijay G
Strive for Perfection
 
Old August 23rd, 2004, 09:26 AM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried as much as I can, but I'm using IIS 6, not 4/5 and some of the steps do not match what appears on screen.

Also the Applies To section does not list IIS 6. The box requiring access is a IIS 5.0 box, but it's connecting to an IIS 6 server, where the authentication occurs I'm assuming.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Drives and network folders... wenzation VBScript 11 November 24th, 2006 03:53 AM
Report scheduling and deposit on network drives. bjswift BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 October 3rd, 2005 01:12 PM
Create list of logical drives in combobox bcmaverik Beginning VB 6 3 January 30th, 2004 02:47 PM
Drives and Directories zhenwe1 Servlets 1 December 14th, 2003 01:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.