Hello.
I have an ASP.Net 2.0 web service on Win2003 server that needs to write to a
shared directory on the same machine.
The web.config file is using "None" as the authentication mode.
I am referencing the directory using UNC naming (\\WEBSERVER\Folder\.....)
I thought the web service was going to run under the local ASPNET account,
so I gave ASPNET permissions, but that didn't work.
Unless I add "Everyone" under the permissions for "Sharing" the web service
cannot write to the folder, and I do not want to add "Everyone".
What am I missing?
Thanks in advance,
Mike
bruce barker - 30 Jul 2007 20:57 GMT
unc paths require network permission, so your pool account should be a
domain account.
-- bruce (sqlwork.com)
> Hello.
>
[quoted text clipped - 16 lines]
>
> Mike
Steve C. Orr [MCSD, MVP, CSM, ASP Insider] - 30 Jul 2007 22:10 GMT
In Win2003 ASP.NET runs under the "NetworkService" user account by default,
not the ASPNET user account. So try giving it permissions.

Signature
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
> Hello.
>
[quoted text clipped - 16 lines]
>
> Mike