Save PDFDocument to UNC

Greetings,
Whenever I use the Save method to save my PdfDocument in C# and pass a UNC path, it doesn't save. But if it's a path to a local drive or a mapped drive, then it works.
public PdfDocument _pdfdoc = new PdfDocument();
.
.
.
I put data into the document.
.
.
.
string mypath = "\\\\myserver\\serverlocaldrive$\\folder\file.pdf";
_pdfdoc.Save(mypath);
no error and no save
However, if mypath = "H:\\folder\\file.pdf"; then it saves.

Thank you
John


2 Replies

AD Administrator Syncfusion Team August 10, 2012 01:30 PM UTC

Greetings again,
Disregard my last post please. It would help if I used the correct path string.
Works great! lol
Sorry everyone.
John



GL George Livingston Syncfusion Team August 15, 2012 07:38 AM UTC

Hi John,

We are glad to hear that your issue has been resolved.

Please let us know if you have any further questions.

Thanks,

George


Loader.
Up arrow icon