Results 1 to 4 of 4

Thread: IIS6 / WinS2K3 & ASP.NET

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2004
    Posts
    95

    IIS6 / WinS2K3 & ASP.NET

    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

  2. #2
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131
    The ASPNET user account will need write permission on the folder you wish to write a file to.

    HTH

    DJ

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2004
    Posts
    95
    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

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Apr 2004
    Posts
    95
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width