Okay, so I'm rather new to this, sorry for my innocence and stupid question:
I'm using iText 7 to create a pdf file, with a very simple code, just to see if it works:
string dest = @"C:\TestPdf.pdf";
var writer = new PdfWriter(dest);
var pdf = new PdfDocument(writer);
var doc = new Document(pdf);
doc.Add(new Paragraph("Testing one two"));
doc.Close();
And it gives me an unhandled exception saying I do not have privileges required by the client. That pdf document is a nonexistant one, because I need my code to create a new one from scratch every time it runs. I'm sure I have administrative priviliges on the user, I double-checked. I realize this is probably a stupid question, but I'm really stuck here. Does anyone have an easy fix for this?
Thanks in advance!