Error in 64 bit envirement

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Converter for .NET (v1)  /  Error in 64 bit envirement

DynamicPDF Converter for .NET (v1) Forum

 Apr 22 2011 8:40 AM
I am working on windows server 2008 R2 standard 64 bit environment.
I have installed DynamicPDFConverterv100forNETBuild16947x64.msi version.I tried with sample application also same error generated.
There are no duplicate Dynamic pdf converter printers also. Following error generated though my application as well as sample application. Please response me ASAP. This is really agent because  I am in deployment phase.

System.Exception: System.Exception: Conversion failed ---> System.ComponentModel.Win32Exception: The handle is invalid     at bc.b(ac A_0, ac A_1)     --- End of inner exception stack trace ---     at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions)     at ceTe.DynamicPDF.Conversion.Program.a.b()     at ceTe.DynamicPDF.Conversion.Program.a(Byte[] A_0)     at ceTe.DynamicPDF.Conversion.Program.a(Object A_0) ---> System.Exception: System.Exception: Conversion failed ---> System.ComponentModel.Win32Exception: The handle is invalid     at bc.b(ac A_0, ac A_1)     --- End of inner exception stack trace ---     at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions)     at ceTe.DynamicPDF.Conversion.Program.a.b()     at ceTe.DynamicPDF.Conversion.Program.a(Byte[] A_0)     at ceTe.DynamicPDF.Conversion.Program.a(Object A_0)     at by.a(Object A_0)     --- End of inner exception stack trace ---     at ceTe.DynamicPDF.Conversion.Converter.Convert(String sourceFilePath, String outputFilePath, ConversionOptions conversionOptions)     at iRooms.Services.Activities.PdfConverterActivity.ConvertToPDF(String sourceFilePath, String destinationFilePath)     at iRooms.Services.Activities.PdfConverterActivity.Execute(ActivityExecutionContext executionContext)

 
 Apr 22 2011 9:34 AM
Posted by a ceTe Software moderator
Hello,

Please make sure that you have all the required software installed, like .NET Framework 2.0, Microsoft Office (2003, 2007 or 2010 x86) in case you are converting Office files & IE 7 or higher if you are converting HTML files.  Below is the link to the latest available build of DynamicPDF Converter, please try the latest build and see if it works for you. After you install the new build on the server, please make sure to reference the new build ceTe.DynamicPDF.Converter dll in your project.

DynamicPDF Converter for .NET

Thanks,
ceTe Software Support Team
 May 03 2011 5:31 AM
I have installed latest 64 bit version(DynamicPDFConverterv100forNETBuild17633x64.msi). now its working for  .txt files but not working for .doc,.ppt,.xls.  when I try through the sample application flowing error has generated. Please help me , still I am stuck with this issue
System.Exception: Conversion failed ---> System.Exception: PrintOut returns 0x80
010001
   at bc.b(ac A_0, ac A_1)
   --- End of inner exception stack trace ---
   at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionO
ptions)
   at ceTe.DynamicPDF.Conversion.Program.a.b()
   at ceTe.DynamicPDF.Conversion.Program.a(Byte[] A_0)
   at ceTe.DynamicPDF.Conversion.Program.a(Object A_0)
 May 03 2011 11:30 AM
Posted by a ceTe Software moderator
Hello,

Since you are able to convert the text files, this seems like an issue with the Office installation as the Converter uses the installed MS Office instance to convert the .doc, .xls  7 .ppt files. The Converter is compatible with MS Office 2003, MS Office 2007 & MS Office 2010 32-bit version. The Converter is not compatible with MS Office 2010 64-bit version so please make sure that you have the correct version of Office installed.

Thanks,
ceTe Software Support Team
 May 03 2011 11:36 AM
I am using office 2007 32bit version when i go to convert office 2003 doc to pdf  following error will be generated.

PDF Convertion Fail        System.Exception: System.Exception: Conversion failed ---> System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))     at bc.b(ac A_0, ac A_1)     --- End of inner exception stack trace ---     at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions)     at ceTe.DynamicPDF.Conversion.Program.a.b()     at ceTe.DynamicPDF.Conversion.Program.a(Byte[] A_0)     at ceTe.DynamicPDF.Conversion.Program.a(Object A_0) ---> System.Exception: System.Exception: Conversion failed ---> System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))     at bc.b(ac A_0, ac A_1)     --- End of inner exception stack trace ---     at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions)     at ceTe.DynamicPDF.Conversion.Program.a.b()     at ceTe.DynamicPDF.Conversion.Program.a(Byte[] A_0)     at ceTe.DynamicPDF.Conversion.Program.a(Object A_0)     at by.a(Object A_0)     --- End of inner exception stack trace ---     at ceTe.DynamicPDF.Conversion.Converter.Convert(String sourceFilePath, String outputFilePath, ConversionOptions conversionOptions)
 May 03 2011 12:34 PM
Posted by a ceTe Software moderator
Hello,

Can you please send over the sample files with which you are getting error to our support team  at: support@cete.com so that they can do some testing to find the cause for the error?

Thanks,
ceTe Software Support Team.
 May 19 2011 10:32 AM
Hi

CeTe dynamic pdf converter works very well at first time but when I uninstall and reinstall again... It stops working:S Somebody knows whats might be the problem???

Steven
 May 19 2011 4:58 PM
Posted by a ceTe Software moderator
Hello Steven,
 
When you uninstall the Converter the uninstaller asks the user to reboot the computer in order to remove all the components of the Converter. If you did not reboot the machine after uninstalling and reinstall the converter again it might cause issues.

If you are installing a newer build of Converter then you would also need to change the Converter dll reference in your .NET project to point to the new converter dll provided with the new build.

Thanks,
ceTe Software Support Team.
 Jun 22 2011 1:09 PM
Hi,

Scenario:
Word 2003 / 2007 to PDF conversion

Result:
Word object is opened up running under the SYSTEM account then it freezes and the following error is thrown.

Error:
PDF Convertion Fail        System.Exception: System.Exception: Conversion failed ---> System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))     at bc.b(ac A_0, ac A_1)     --- End of inner exception stack trace ---     at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions)     at ceTe.DynamicPDF.Conversion.Program.a.b()     at ceTe.DynamicPDF.Conversion.Program.a(Byte[] A_0)     at ceTe.DynamicPDF.Conversion.Program.a(Object A_0) ---> System.Exception: System.Exception: Conversion failed ---> System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))     at bc.b(ac A_0, ac A_1)

Environment:
CETE version - build 16947 (x64)
Windows 2008 R2 (x64)
MS Office 2007 Professional Edition

Notes:
1) Powerpoint 2003 / 2007 to PDF is working
2) Able to use COM to convert from Word 2003 to 2007 under same configurations from code
3) There is only 1 printer installed under printers

Would you be able to help us, what could be the issue?
Are there any specific ports that the Dynamic PDF service is making use of that could have been blocked?
 Jun 22 2011 4:53 PM
Posted by a ceTe Software moderator
Hello,

It seems like the Word 2007 is rejecting the calls from the Converter service. You do not need to unblock any ports for the DynamicPDF Converter service to work. The service runs under the system account and makes a call to the Word installed on the machine in order to convert the Word documents. This is the case for other Office documents like excel, power point etc. Since power point documents are converting without any issues it could be an installation issue with Word and/or Office. Or it could be an issue with the Word documents you are trying to convert.

Try several different word documents and see if some of them convert, if this is the case send over the document that failed to convert to support@cete.com so we can look into it further. If a Word conversion freezes, make sure to kill the Word process that hung up before you start a new conversion. 

If all the word documents you tried fail to convert, try reinstalling the Office on this machine and see if that resolves the issue. 

Thanks,
ceTe Software Support Team
 Jun 03 2015 9:10 AM
Hello,

Got this error,

System.Exception: Conversion failed ---> System.Runtime.InteropServices.COMException (0x80010001):
Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
   at p.b(i A_0, i A_1)
   --- End of inner exception stack trace ---
   at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions)
   at ceTe.DynamicPDF.Conversion.Program.a.b()
   at ceTe.DynamicPDF.Conversion.Program.a(Byte[] A_0)
   at ceTe.DynamicPDF.Conversion.Program.a(Object A_0)

Scenario : for txt to pdf format working well,
           The above error occurred when converting word doc to pdf.

Action Item Done : Re Installed office 2007 several time

Regards
krris
 Jun 03 2015 12:52 PM
Posted by a ceTe Software moderator
Hello,

Can you please try using the latest DynamicPDF Converter for .NET product on your end and see if it works for you? You can download latest DynamicPDF Converter for .NET product exes by logging into CustomerArea using your product serial number. Uninstall the older Converter product and install the latest using the downloaded product exe. Remove reference for the older DLL file and reference the latest in the application.

If you are evaluating the product then you can download latest product exes from our website  here.

If you continue getting the error then please send over the following details to support@cete.com so that we can look into it further.

1.Code sample or project using which we can recreate the error.
2.Sample Word documents using which you are getting error.
3.Exact build number of the DynamicPDF Converter DLL file. You can get this information in DLL references properties (Version and Description fields) in Visual Studio.
4.Operating system details: Name, x86 or x64.
5.MS Office Software details: Version, x86 or x64.

Thanks,
ceTe Software Support Team.
 Mar 07 2017 3:49 AM
Hi,

I'm getting same error in office 2013.
Now I'm upgrading to 2016. May I know Dynamic PDF supports office or not?

My requirement is to convert docx file to PDF.

Any suggestion? Thank you.
 Mar 07 2017 11:29 AM
Posted by a ceTe Software moderator
Hello,

Currently the DynamicPDF Converter supports MS Office 2010 (32-bit edition) for MS Office file conversions. Our developers are looking into supporting newer versions of MS Office (2013 and 2016). Support for newer versions may most likely be included in a future version of Converter but we do not have an exact time line on this. You can refer to the documentation on operating system requirements and limitations here.

Please try the conversions on a supported operating system with MS Office 2010 32-bit edition installed.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 4:47 PM.