Access denied for folder

Last post 11-16-2009 3:59 AM by Hua-Jun Li - MSFT. 3 replies.

Sort Posts:

  • Access denied for folder

    11-11-2009, 7:33 AM
    • Member
      point Member
    • amag5
    • Member since 07-20-2009, 1:36 PM
    • Posts 5

    In web config. I have  <authentication mode="Forms"> and user role on spec. folder for ex. folder Admin user in role Administrator every other access denied.

    In folder Upload where I want to save attachments i have Permission -- Everyone -- Full control on this folder. But every time when i try to save this file in this folder i have this message access denied for this folder. This folder not have any role.





  • Re: Access denied for folder

    11-11-2009, 7:50 AM
    Answer
    • Contributor
      2,738 point Contributor
    • thirumaran007
    • Member since 03-14-2007, 5:39 AM
    • India
    • Posts 569

    you can create one common folder ...

    and make sure Read/ write permission to all the users.. and upload the attachements  on this folder...



    With Friendly,
    Thirumaran

    Please remember to click "Mark as Answer" on this post if it helped you
  • Re: Access denied for folder

    11-11-2009, 7:56 AM
    • Member
      point Member
    • amag5
    • Member since 07-20-2009, 1:36 PM
    • Posts 5

    Tnx for quick rep.

    Yes I creat comon folder Upload and I set Read/write permission on this folder to full access for everyone.


  • Re: Access denied for folder

    11-16-2009, 3:59 AM
    Answer

    Hi amag5,

    Please give write and read  permission to the foler.

    To   grant   ASP.NET   write   access   to   a   file,   right-click   the   file   in   Explorer,   choose   "Properties"   and   select   the   Security   tab.   Click   "Add"   to   add   the   appropriate   user   or   group.   Highlight   the   ASP.NET   account,   and   check   the   boxes   for   the   desired   access.

    If not, please add the following code at web.config.

    <identity   impersonate="true"/>  

    http://msdn.microsoft.com/en-us/library/72wdk8cc(VS.71).aspx

    Sincerely,
    Hua Jun Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (4 items)