Results 1 to 3 of 3

Thread: What account should be used for asp.net app to save data?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    478

    What account should be used for asp.net app to save data?

    In on asp.net app, I used code below to save data into a file which is located at one file server:

    objXmlDoc.Save("\\order\\monthorder\\allorder.xml"))

    I got an error message said "permission denied"

    How to tell network admin to set write permission for it? What account should be used for asp.net app to save data?

  2. #2
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: What account should be used for asp.net app to save data?

    I believe it's either the ASPNET account or the IIS account with write permissions.
    I don't have a server in front of me cuz the IIS account is written differently but if i remember correctly the prefix is IIS_something.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  3. #3
    Frenzied Member brin351's Avatar
    Join Date
    Mar 2007
    Location
    Land Down Under
    Posts
    1,293

    Re: What account should be used for asp.net app to save data?

    The asp.net worker process is part of the IIS_IUSRS group. Give it write & modify permissions on the directory.

    Is this shared hosting or an intranet or.....other
    The problem with computers is their nature is pure logic. Just once I'd like my computer to do something deluded.

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