title: Why do I get the error: "Access is denied" when trying to print to a PDF?
body: <p>I developed a web application using iTextSharp. When I run the code with iTextSharp, users receive the following error message:</p>
  
  <blockquote>
    <p>Access is denied: "C:\inetpub\vhosts\bookmygroups.com\httpdocs"</p>
  </blockquote>
  
  <p>Here is my code: </p>
  
  <pre><code>PdfWriter pdfw = PdfWriter.GetInstance(myDocument, 
      new FileStream(strPath, FileMode.Create));
  </code></pre>