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" <gr***@workshare.com> wrote in message
news:uy**************@TK2MSFTNGP15.phx.gbl...
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" <ab**@abcd.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...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....