You have two ways to handle this:
1. Create a Domain account and set your ASP.net site to run as the Domain
user instead of the local ASPNET user. Then, give the domain user access to
the share.
2. Impersonation In your web.config your can have the site "run as" a
different user that would have access to the network share in question.
If you do a search for Impersonation on google, you should be able to find
everything you need to know about how to make either of these solutions
work. If not, let me know and I can give you some samples. I don't have
them handly right this minute.
Michael
"Brent Burkart" <Br***********@wvmb.com> wrote in message
news:uy**************@TK2MSFTNGP11.phx.gbl...
Thanks Kevin,
However, I cannot add the ASPNET account as a user to a folder not
existing on the same machine as the application is running. Any ideas?
Thanks,
Brent
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl... Give the aspnet account the necessary permissions.
--
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
"Brent Burkart" <Br***********@wvmb.com> wrote in message
news:OI**************@TK2MSFTNGP11.phx.gbl... What steps must I take to ensure that my application will be able to
access network folders. I want to only use the ASPNET account, but I am not sure how this is done.
Thanks,
Brent
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003