The best way to generate a pdf in .net is by using iTextsharp(very good library). With less stress in mind and without using any costly third party tool. Add reference top itextsharp dll in your project Add These two line using iTextSharp.text; using iTextSharp.text.pdf; Then in any event you can write these lines, I have written it in page load. protected void Page_Load(object sender, EventArgs e) { Document doc = new Document(); PdfWriter.GetInstance(doc, Response.OutputStream); doc.Open(); doc.Add(new Paragraph("This an ITextsharp generated PDF")); doc.Close(); Response.ContentType = "application/pdf"; Response.AddHeader("content-disposition", "attachment; filename=Sample.pdf"); Response.End(); } } Further tutorials can be found in http://itextsharp.sourceforge.net/