Click to See Complete Forum and Search --> : IIS6 / WinS2K3 & ASP.NET
Kt3
May 4th, 2004, 01:29 PM
Okay, I'm trying to get my web service to write a file to a folder and it says access is denied. What account do I need to add to the NTFS security settings on the folder so that the ASP.NET web service can access it? Is that the "Network Service" account?
Thanks,
KT
dj4uk
May 4th, 2004, 02:54 PM
The ASPNET user account will need write permission on the folder you wish to write a file to.
HTH
DJ
Kt3
May 4th, 2004, 05:42 PM
Yeah I've already tried that.. I gave ASPNET full control over the folder I'm trying to write to and it still gives me a System.UnauthorizedAccessException
Kt3
May 4th, 2004, 06:48 PM
Anyone? Please help, I've tried everything I can think of and I'm really frustrated. Doesn't someone out there have some kind of idea what I might have overlooked?
Tried messing with the security settings for hours, adding and removing ASPNET (the ASP.NET machine account) with all rights for both the folder I'm trying to store a file in, and even the parent folder for that folder.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.