Hi, Thanks for replying. Whatever you are asking I sent this in the first Email itself. you are given the all input, I did that too, but still getting error.
Giving the details again, kindly review it and reply back asap.
1. Sample Word documents using which you are getting error.
In document, just entered 'Test word' saved and close the doc.
2. Full error message along with stack trace.
Message:
Could not find file 'path\3177191f-8837-4aa7-b2a8-5d46a7d81f30.pdf'.
Stack Trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at ceTe.DynamicPDF.Conversion.Converter.a(String A_0, Boolean A_1)
at ceTe.DynamicPDF.Conversion.Converter.Convert(String inputFilePath, String outputFilePath, ConversionOptions conversionOptions)
at .LoadSelectedReports(Int64 incidentID, String selectedreports) in d:\full path.aspx.cs:line 837
3. Code sample used to convert the files.
string sOpenFile = sFTPhysicalPath + "/" + sFTPBaseFolder + "/"+ sFileName.Substring(sFileName.IndexOf("___") + 3);
string pdffilepath = sFTPhysicalPath + "/" + sFTPBaseFolder + "/" + sFinalFinal;
Document document = new Document();
currentPage = new ceTe.DynamicPDF.Page(pageDimensions);
document.Pages.Add(currentPage);
document.Draw(pdffilepath);
byte[] bytes = System.IO.File.ReadAllBytes(pdffilepath);
System.IO.File.WriteAllBytes(pdffilepath, bytes);
Converter.Convert(sOpenFile, pdffilepath);
byte[] byteqs = System.IO.File.ReadAllBytes(pdffilepath);
System.IO.File.WriteAllBytes(pdffilepath, byteqs);
arrRptList.Add(objPDFMgr.StorePDFBlobTemp(byteqs));
4. Are you able to convert simple image (JPEG or PNG) and text files to PDF.
Yes. able to convert, jpg,png& txt files
5. MS Office details installed on the machine where in you are getting error: Version, x86 or x64.
[ MS Office version: 2016 MSO (16.0.4266.1001) 32-bit],[ x86]
6. Operating System details where in conversions are running: Name, x86 or x64.
[Windows 10 - 64-bit Operating System,x-64 based processor], [x86]
7. Exact version and build number of the DynamicPDF Converter DLL file used in the application. You can get this information by right clicking on DLL file>> Properties>> Details tab>> Product version or take a screenshot of details tab and send it over to us.
Product Version: 1.0.1 (Build 33698)