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.
Syncfusion Feedback

Save PDFDocument to UNC

Thread ID:

Created:

Updated:

Platform:

Replies:

104705 Aug 10,2012 12:33 PM UTC Aug 15,2012 07:38 AM UTC WinForms 2
loading
Tags: PDF
Administrator [Syncfusion]
Asked On August 10, 2012 12:33 PM UTC

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


Administrator [Syncfusion]
Replied On 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


George Livingston [Syncfusion]
Replied On 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


CONFIRMATION

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.

Warning Icon 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.Close Icon

;