How to use MapNetworkDrive in ASP - Logon session does not exist? 
Author Message
 How to use MapNetworkDrive in ASP - Logon session does not exist?

When trying to use WshNetwork object's MapNetworkDrive method in ASP page - see

Set netwk = Server.CreateObject("WScript.Network")
netwk.MapNetworkDrive "W:", "\\Myserver\MyShare", False, "MyUser", "MyPassword"

ASP returned the following error message:

WSHNetwork.MapNetworkDrive error '80070520'
A specified logon session does not exist. It may already have been terminated.

What does this mean?  How can I utilize the MapNetworkDrive method in ASP

William King

Thu, 24 Jul 2003 13:08:43 GMT  
 [ 1 post ] 

 Relevant Pages 

1. files exists or not - says that it doesn't exist

2. Arrays not transferrable from ASP Session???

3. To session or not to session...

4. Doe a registry key exist?

5. HELP: using session object on ASP

6. Using a array as a session var (ASP) ?

7. Changing ASP session variables using javascript procedure

8. Using ASP Session Variables

9. Using Javascript to update ASP session object

10. input will not receive focus or does not exist

11. How can I get logon server name and IP address from logon script using wsh

12. Does a Session variable exist?


Powered by phpBB® Forum Software