We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Save PDFDocument to UNC

Thread ID:





104705 Aug 10,2012 08:33 AM Aug 15,2012 03:38 AM Windows Forms 2
Tags: PDF
Administrator [Syncfusion]
Asked On August 10, 2012 08:33 AM

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";
no error and no save
However, if mypath = "H:\\folder\\file.pdf"; then it saves.

Thank you

Administrator [Syncfusion]
Replied On August 10, 2012 09:30 AM

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

George Livingston [Syncfusion]
Replied On August 15, 2012 03:38 AM

Hi John,

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

Please let us know if you have any further questions.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.