Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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.

Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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.



Reply With Quote
  #4 (permalink)  
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
Reply With Quote
  #5 (permalink)  
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.



Reply With Quote
  #6 (permalink)  
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
Reply With Quote
  #7 (permalink)  
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.


Reply With Quote
  #8 (permalink)  
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
Reply With Quote
  #9 (permalink)  
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.



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:26 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.