From: Anthony Jones on
"Bob Milutinovic" <cognicom(a)gmail.com> wrote in message
news:%23ZECaLLDJHA.4884(a)TK2MSFTNGP02.phx.gbl...
> "Anthony Jones" <Ant(a)yadayadayada.com> wrote in message
> news:eimOXlICJHA.1228(a)TK2MSFTNGP02.phx.gbl...
>> "Bob Milutinovic" <cognicom(a)gmail.com> wrote in message
>> news:efiZGY$BJHA.4384(a)TK2MSFTNGP04.phx.gbl...
>
>>> If not, you'll need to create a permanent mapping to drive S: on _that_
>>> machine, so IIS can reference the network drive.
>>
>>
>> How is that done exactly? I've never been able to convince IIS to use a
>> mapped drive, I'm not sure how a service would get to see one.
>
> NET USE <drive> <sharename> /PERSISTENT:YES
>
> But having said that, I'll admit that I haven't tried accessing files on a
> mapped drive using ASP.
>
> I'd have thought though that the ASP engine simply uses the operating
> system's file system, rather than handling access itself, so surely
> anything visible to the operating system should also be available to ASP?
>

Drive mapping is per user setting applied to interactive sessions. Its
possible to have two different users logged on simultaneously both with a
different set of mappings even using the same drive letters to point to
different services.

Persistent simply means automatically attempt to re-attached to the share
the next time the user logons on.

--
Anthony Jones - MVP ASP/ASP.NET