locked
Access Denied On Plug-in execution RRS feed

  • Question


  •     I have a plug-in that reads from text file information about an number field on the Account form, and after some calculations i need to write a number to the same file. I tried with StreamWriter and with a TextWriter, but i get same error - Access to path C:\AutoNumberNeededTextFile.txt is denied....
        I read that I must put the ip in the trusted sites and to be administrator and to uncheck the check in the user accounts... i did all that and nothing, no change.
        So any help provided is great. Thank you in advanced for the suggestions..
    Monday, February 15, 2010 12:14 PM

Answers

  • right click your file, go to properties, go to security tab, and here add teh users and give write permission, you have to add Everyone, Administrator and IIS USR ( or aspnet user).
    Monday, February 15, 2010 12:18 PM
  • Who has access to the to physical path. If your using windows auth then you need your users to have access such as the Domain Users AD Group, otherwise if your using the application pool identify then give it access to the path (more then likely Network Service).
    Monday, February 15, 2010 12:22 PM
    Moderator

All replies

  • right click your file, go to properties, go to security tab, and here add teh users and give write permission, you have to add Everyone, Administrator and IIS USR ( or aspnet user).
    Monday, February 15, 2010 12:18 PM
  • Who has access to the to physical path. If your using windows auth then you need your users to have access such as the Domain Users AD Group, otherwise if your using the application pool identify then give it access to the path (more then likely Network Service).
    Monday, February 15, 2010 12:22 PM
    Moderator


  • Thank you very much..  I did already put full control for all users with User Account. Now I changed that and the plug-in works fine.
    Monday, February 15, 2010 12:39 PM