Re: path related
- From: "Grant Merwitz" <grant@xxxxxxxxxxxxx>
- Date: Wed, 24 Aug 2005 17:42:07 +0100
i don't think you can, as that user is specific to that machine.
But you can either impersonate a common user, or set IIS to be run by a
domain user that can exist on both machines
In IIS, right click on your default website or vistual directory
Click Directory Security
Click Edit
There you can set another user with approprate rights over both machines
"abcd" <abcd@xxxxxxxx> wrote in message
news:uFnHMnMqFHA.616@xxxxxxxxxxxxxxxxxxxxxxx
>I am confused with ASPNET user on other machine
>
> Machine A - IIS , ASP.net application hernce has MachineA\ASPNET user
> MachineB - non IIS, no aspnet user, no dot net
>
> I have maped a drive \\MachineB\shared on MachineA called as X drive
>
> if I see X drive's security tab properties then I can add only users from
> MAchineB and no ASPNET user is available there how can I addd
> MachineA\ASPNET user on that drive....
>
>
>
>
>
>
> "Grant Merwitz" <grant@xxxxxxxxxxxxx> wrote in message
> news:uy0wQKMqFHA.3680@xxxxxxxxxxxxxxxxxxxxxxx
>>I believe your ASPNET account does not have the rights to access your
>>mapped drive.
>>
>> As a test, try use impersonation to overcome this, impersonating and
>> Administrator/Power Users account.
>>
>>
>> "abcd" <abcd@xxxxxxxx> wrote in message
>> news:%23jHN6DMqFHA.272@xxxxxxxxxxxxxxxxxxxxxxx
>>>I have following code
>>>
>>> if (!System.IO.File.Exists(sFile))
>>> {
>>>
>>> //do something
>>> }
>>> else
>>> {
>>>
>>> //do something else
>>>
>>> }
>>>
>>>
>>>
>>> my possible sFile values are
>>>
>>> \\msnt102\shared\dbs\db1.mdb"
>>> x:\dbs\db1.mdb (where x is a mapped drive to \\msnt102)
>>>
>>> above code doesn not work for mapped drives....any workaround....
>>>
>>>
>>>
>>>
>>
>>
>
>
.
- Follow-Ups:
- Re: path related
- From: abcd
- Re: path related
- References:
- path related
- From: abcd
- Re: path related
- From: Grant Merwitz
- Re: path related
- From: abcd
- path related
- Prev by Date: Re: how to deploy stored procedures onsite
- Next by Date: Re: ASP.NET WebForms Evaluation
- Previous by thread: Re: path related
- Next by thread: Re: path related
- Index(es):
Relevant Pages
|