title: Export to pdf in asp.net + vb.net using itextsharp
body: <p>I am trying to export gridview(HTML Based) to a pdf in asp.net+vb.net(backend). When I click on the Export to PDF button the download window shows, but when you click on open Adobe reader will open but displays the message  </p>
  
  <p><strong>" Adobe Reader Could not open 'test[1].pdf' because it is either not a supported file type or because the file has been damaged ( for example, it was sent as an email attachment and wasn't correctly decoded) "</strong>.  </p>
  
  <p>The coding for export to pdf is same for 5 different reports of which 4 are working fine, as well as export to <code>Excel</code> is also working fine for all 5 reports. I searched on google but was not able to find the correct answer. Does it have any relation with the itextsharp dll version? ( I am using  itextsharp version 3.1.1.0)</p>