|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Accessing NETWORK Drive through ASPNET_USERHi,
I'm trying to read a network drive through ASP.net. This is what I have done. - Create folder on a network machine. - gave ASPNET_User read permssion on the folder. - Mapped a drive to the folder say ('j' drive) - When I try to access 'j:/myfolder' I get Access denied error. - Where as I have shared the folder and given ASPNET_User permssions on the folder. Its Friday and I'm really tired. Can any one help? Thnx Even though you have mapped a drive, the asp.net account us unlikely to know
what a J drive is even if it has permission - at least try a UNC path from your asp.net page -- Show quoteRegards John Timney ASP.NET MVP Microsoft Regional Director "dotnettester" <dotnettes***@discussions.microsoft.com> wrote in message news:C03F04ED-1ADB-48B9-9DD0-C755847A3B84@microsoft.com... > Hi, > > I'm trying to read a network drive through ASP.net. > This is what I have done. > - Create folder on a network machine. > - gave ASPNET_User read permssion on the folder. > - Mapped a drive to the folder say ('j' drive) > - When I try to access 'j:/myfolder' I get Access denied error. > - Where as I have shared the folder and given ASPNET_User permssions on > the > folder. > > Its Friday and I'm really tired. Can any one help? > > Thnx then you will find the aspnet_user need to be a domain account in order to
access a share. -- bruce (sqlwork.com) Show quote "John Timney ( MVP )" <timneyj@despammed.com> wrote in message news:%23HiPsfR$FHA.2156@TK2MSFTNGP11.phx.gbl... > Even though you have mapped a drive, the asp.net account us unlikely to > know what a J drive is even if it has permission - at least try a UNC path > from your asp.net page > > -- > Regards > > John Timney > ASP.NET MVP > Microsoft Regional Director > > "dotnettester" <dotnettes***@discussions.microsoft.com> wrote in message > news:C03F04ED-1ADB-48B9-9DD0-C755847A3B84@microsoft.com... >> Hi, >> >> I'm trying to read a network drive through ASP.net. >> This is what I have done. >> - Create folder on a network machine. >> - gave ASPNET_User read permssion on the folder. >> - Mapped a drive to the folder say ('j' drive) >> - When I try to access 'j:/myfolder' I get Access denied error. >> - Where as I have shared the folder and given ASPNET_User permssions on >> the >> folder. >> >> Its Friday and I'm really tired. Can any one help? >> >> Thnx > > Thanks for your replies. I ended up doing this through domain account and a
UNC path. Show quote "dotnettester" wrote: > Hi, > > I'm trying to read a network drive through ASP.net. > This is what I have done. > - Create folder on a network machine. > - gave ASPNET_User read permssion on the folder. > - Mapped a drive to the folder say ('j' drive) > - When I try to access 'j:/myfolder' I get Access denied error. > - Where as I have shared the folder and given ASPNET_User permssions on the > folder. > > Its Friday and I'm really tired. Can any one help? > > Thnx |
|||||||||||||||||||||||