![]() |
Document Merge |
Post Reply
|
| Author | |
webDev
Newbie
Joined: 23 Mar 2009 Location: NJ Posts: 1 |
Post Options
Quote Reply
Topic: Document MergePosted: 23 Mar 2009 at 9:53am |
|
Hi All,
I want to Merge 2 PDF files into one pdf file, using Ecrion Engine. I got same code from the help, how to merge the documents. I am getting error "An unreacheable code exception has occured." Can anyone please let me know, what I am missing. Is I am missing any dll reference which, I have to provide to my project or any other changes need to do. Thanks, GS. Sample code: string [] inputFiles = new string[2];inputFiles[0] = @"C:\zdev\temp\downloadPODataWithEcrion\downloadPODataWithEcrion\POData\POData\bin\Debug\DWRR_PO.PDF";inputFiles[1] = @"C:\zdev\temp\downloadPODataWithEcrion\downloadPODataWithEcrion\POData\POData\bin\Debug\PO.PDF"; string outputFile = @"C:\zdev\temp\downloadPODataWithEcrion\downloadPODataWithEcrion\POData\POData\output\xyz.PDF"; using (XFMergeContext ctx = new XFMergeContext()){ //ctx.outputFormat = Ecrion.XF.OutputFormat.TEXT;ctx.outputFormat = OutputFormat.PDF;ctx.SetOutput(outputFile); using (XFDocument doc = new XFDocument()){ foreach (string inFile in inputFiles){ doc.LoadUrl(inFile); doc.ExportTo(ctx);<- Getting error at this location. {"An unreacheable code exception has occured."} } } } |
|
|
GS
|
|
![]() |
|
florinv
Admin Group
Joined: 19 May 2008 Posts: 82 |
Post Options
Quote Reply
Posted: 25 Mar 2009 at 4:11pm |
|
Please make sure that you have a permanent license installed.
|
|
![]() |
|
webDev
Guest Group
|
Post Options
Quote Reply
Posted: 27 Mar 2009 at 9:27am |
|
I have installed the license on my pc. Where can I verify license has installed properly. Please let me know. Thanks, GS |
|
![]() |
|
webDev
Guest Group
|
Post Options
Quote Reply
Posted: 27 Mar 2009 at 9:28am |
|
I am getting same error on other pc also. GS
|
|
![]() |
|
florinv
Admin Group
Joined: 19 May 2008 Posts: 82 |
Post Options
Quote Reply
Posted: 23 May 2009 at 11:57am |
|
1) Please uninstall your current version, then download and install the latest
2)You may need to uninstall any temporary licenses that were previously sent by support. Merge should work now without having a permanent license installed. After installing/uninstalling a license, always remember to restart the XF Ultrascale Windows service. 3) If you are still getting an error, please send your PDF files to Technical Support and we'll troubleshoot. Edited by florinv - 23 May 2009 at 12:01pm |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |