Am facing error after uploadind to server... as access denied .... can anyone help me....

```
  Document myDocument = new Document(PageSize.A5, 26, 72, 180, 180);
  string strUniqueFn = "onlineinvoice.pdf";
  string imgpath = "logo.gif";    

  string strUser = Thread.CurrentPrincipal.Identity.Name.Substring(Thread.CurrentPrincipal.Identity.Name.IndexOf("\\") + 1).ToUpper();
  string strFolder = Server.MapPath(".");
  System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(strFolder);
  System.IO.FileInfo[] fi = di.GetFiles(strUser + "*.*");

  for (i = 0; i <= fi.Length - 1; i++)
  {
      System.IO.File.Delete(strFolder + "\\" + strUniqueFn);
  }

  string strPath = strFolder + "\\" + strUniqueFn;

  PdfWriter pdfw = PdfWriter.GetInstance(myDocument, new FileStream(strPath, FileMode.Create));
  string iPath = strFolder + "\\" + imgpath;
  pdfw.CloseStream = false;

  myDocument.Open();

  ......................

  myDocument.Close();

```

Am facing error at `PdfWriter pdfw = PdfWriter.GetInstance(myDocument, new FileStream(strPath, FileMode.Create));`

can anyone help me...

Thank you