Re: path related



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....
>>>
>>>
>>>
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: path related
    ... Are there any security risks if I run my web application as an domina user ... > But you can either impersonate a common user, or set IIS to be run by a ... > In IIS, right click on your default website or vistual directory ... >>I am confused with ASPNET user on other machine ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Using WMPLib in IIS
    ... I thought the same thing, Alessandro, and so I tried the following things: ... added Identity Impersonate = true ... especially since the code works outside of IIS. ... the correct number of songs are printed. ...
    (microsoft.public.windowsmedia.sdk)
  • Re: AD queries. Please, prove me being wrong...
    ... If you want to impersonate the authenticated user ... Kerberos delegation in AD to allow the web app to have the rights to ... delegate the user's credentials to AD. ... means that you must ensure that you use IWA auth in IIS and ensure that IWA ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: File copy via ASP.NET access errors?
    ... Where are the user credentials coming from? ... the <impersonate> web.config setting, then are you using a domain account? ... Basic Authentication means that IIS has the user's ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: File copy via ASP.NET access errors?
    ... Where are the user credentials coming from? ... the <impersonate> web.config setting, then are you using a domain account? ... Basic Authentication means that IIS has the user's ...
    (microsoft.public.dotnet.framework.aspnet.security)