Re: path related



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: Jeez... how do I even start ????
    ... When I would start IIS from the Administrative tools, ... Then I could expand the "Web sites" - "Default web site" portions. ... A lot of these other posts also mentioned the ASPNET user. ... 'HTTP/1.1 500 Server Error' ...
    (microsoft.public.dotnet.framework.aspnet)
  • 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: path related
    ... 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)
  • Probleme mit ASPNET Konto und Access DB
    ... Ich habe auf meinem Rechner (kein IIS installiert) daheim mit Web Dev 2005 Express Edition eine ASP.NET Anwendung gebaut, die unter anderem eine Access DB benutzt, um Daten abzuspeichern. ... Wenn ich das ganze auf den Webspace meines ISP kopiere, dann bekomme ich beim Insert SQL eine Exception. ... Was mich aber wundert ist folgendes: Ich habe auf meinem eigenen Rechner gar kein ASPNET User Konto. ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • Re: aspnet worker process to start .bat file
    ... I have specified the aspnet user in the default Application Pool Identity ... section in IIS. ... Each website runs under ...
    (microsoft.public.dotnet.general)