Hello, I'm trying to make a report with iTextSharp. I can open my file perfectly in local. but when i published it IIS, it started to give me this error. I've added my code too.
The remote server returned an error: (404) Not Found
var doc = new Document(PageSize.A4, 10f, 10f, 10f, 0f);
using (var memStream = new MemoryStream())
{
var adsoyad = GetAdiSoyadi(personelid);
var OutputFileName = adsoyad + ".pdf";
PdfWriter.GetInstance(doc, memStream);
doc.Open();
doc.NewPage();
doc.AddTitle("INFO");
doc.AddCreationDate();
doc.Add(new Paragraph(" "));
doc.Add(CreateTableHeader(personelid));
doc.Add(new Paragraph(" "));
doc.Add(CreateTable(personelid));
doc.NewPage();
...
Go to the complete details ...