a) You mapped a drive - but that is only for the logged on user - not for
the user account that the webserver is using for impersontation purposes
when an anonymous user browses your website. You need to logon as the
anonymous user in question and map the drive letter.
b) The user account that is being used for impersonation purposes is usually
a local account (unless your webserver is also a DC, in which case it is a
domain controller) - you can not add this account to the remote share's
permissions - instead create an account on the remote machine with the same
username/password as the impersonation account on the webserver, -or- change
the impersonation account to be a domain account.
----- Original Message -----
From: "Anoop Nair" <nair_anoop@h...>
To: "Code Clinic" <proasp_codeclinic@p...>
Sent: Thursday, July 12, 2001 8:22 PM
Subject: [proasp_codeclinic] ASPUpload component query
: I am trying to download a file with the ASPSmartUpload component. It
: works perfectly if the file is on the same server. I am using WinNT.
: However, if I try to access a file on a mapped drive (s:) which
: actually resides on another physical machine (but available to all
: clients) and then ask ASPSmartUpload to download the file "s:\file.txt",
: ASPSmartUplodd gives an error and cannot find the file :(
: Any help would be greatly appreciated !
: The code snippet is:
: var mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload");
: aspSmartUpload error '800a0034'
: Bad file name or number
: I think the main issue probably has to do with the "mapped" drive .. it
: works if I specify c:\\ReadMe.pdf !
: Please help,
: Thanks in advance,