I think it's just because I'm trying to do it w/ IIS.
I wanted to create the link, save a file to shared folder, then drop the
link. All from a web page. The problem I have been having is that mapped
drives on the server don't seem to be active until someone is logged in
locally. Maybe I just don't know how to do it right.
Thanks!
----- Original Message -----
From: "BobFilipiak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 20, 2004 8:51 AM
Subject: Re: [ASP] Map Network Drive
>
> Can you map to the share from the command prompt?
> You could test to see if the drv is already mapped:
>
> DIM drv
> drv ="I"
> Set MyDirectory=Server.CreateObject("Scripting.FileSystemObject")
>
> If MyDirectory.DriveExists(drv) Then
> .....
> End If
>
>
>
>
> Bob Filipiak
> A question not asked
> is a lost opportunity to learn.
> ----- Original Message -----
> From: "Chris Hagwood" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 19, 2004 3:54 PM
> Subject: Re: [ASP] Map Network Drive
>
>
> >
> > <%
> > Set net = Server.CreateObject("WScript.Network")
> > net.MapNetworkDrive
> > "I:","\\<computername>\shared","False","<user>","<password>"
> > %>
> >
> > Error Type:
> > WSHNetwork.MapNetworkDrive (0x80070520)
> > A specified logon session does not exist. It may already have been
> > terminated.
> > /intranet/test.asp, line 3
> >
> >
> > ----- Original Message -----
> > From: "BobFilipiak" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, October 19, 2004 11:43 AM
> > Subject: Re: [ASP] Map Network Drive
> >
> >
> > >
> > > Try:
> > >
> > > Dim net
> > > Set net = CreateObject("WScript.Network")
> > > net.MapNetworkDrive "y:", \\server\share,"False","username","password"
> > >
> > >
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > Home : http://groups.yahoo.com/group/active-server-pages
> > ---------------------------------------------------------------------
> > Post : [EMAIL PROTECTED]
> > Subscribe : [EMAIL PROTECTED]
> > Unsubscribe: [EMAIL PROTECTED]
> > ---------------------------------------------------------------------
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> Home : http://groups.yahoo.com/group/active-server-pages
> ---------------------------------------------------------------------
> Post : [EMAIL PROTECTED]
> Subscribe : [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> ---------------------------------------------------------------------
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~->
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [EMAIL PROTECTED]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/