title: how to grant write permissions to an web api application in IIS?
body: <p>I simply have a web api application on IIS server that simply writes to text file on C:\FileStorage\test.txt however when I call this webservice I get the internal 500 error, after expanding the error,I get the following error, how do I grant write access to this web service on IIS server? </p>
  
  <pre><code>"ExceptionMessage": "Access to the path 'C:\\FileStorage\\test.txt' is denied.",
  "ExceptionType": "System.UnauthorizedAccessException",
  "StackTrace": "   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at 
  </code></pre>