Add permission for ASPNET account
<p>I am using the PDFsharp (which is used to generate pdf file in asp.net), and got an error "Access to the path 'C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\Tax_receipt.pdf' is denied." </p>

<p>I guess it is trying to write file to this folder so I tried to add an ASPNET account with write permission to that folder. I use "computer name\ASPNET" which can't be found and "Network Service" which didn't work.</p>

<p>Does anyone know how to add permission?? Many thanks!!</p>

<p>edit:</p>

<p>I use MemoryStream instead of FileStream finally, and this will avoid to create physical file.  </p>
