Hi,
When I'm trying to convert the following file types I get the following errors:
.txt / .jpeg (simple text file / image):
System.Exception: Conversion failed ---> System.Exception: Context failed
at b9.a(l A_0, l A_1)
--- End of inner exception stack trace ---
at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions)
at cr.b.b()
at cr.a(Byte[] A_0)
at cr.a(Object A_0)
.doc (MSOfficeWord):
System.Exception: Conversion failed ---> System.Exception: Unsupported document
at b9.a(l A_0, l A_1)
--- End of inner exception stack trace ---
at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions)
at cr.b.b()
at cr.a(Byte[] A_0)
at cr.a(Object A_0)
---------------------------------------------
1. What else is needed in order to convert text/image files?
2. Searching the forum I saw that in order to convert MSWord (.doc) MSOffice should be installed on the machine. Is it right? No other option?
Regards,
Yair
Conversion errors
Re: Conversion errors
Support · Feb 4, 2011Hello,
We are investigation further into the cause of the first error and we will post on here once we figure out what the issue is.
The second error is caused by not having the Office installed on the machine that is doing the conversion. For the conversion of office documents MS Office should be installed on the machine. Here is a link to the file conversion requirements for different file types: http://www.DynamicPDF.com/Support/NET_Help_Library_10_03/DynamicPDFConverterFileConversionRequirements.html
Thanks,
ceTe Software Support Team.
Re: Conversion errors
Forum member · Mar 16, 2011I'm seeing a similar error on our server, trying to convert a txt file:
Exception Details: System.Exception: System.Exception: Conversion failed ---> System.Exception: Context failed
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)
Stack Trace:
[Exception: System.Exception: Conversion failed ---> System.Exception: Context failed
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)]
g.a(Object A_0) +98
[Exception: System.Exception: Conversion failed ---> System.Exception: Context failed
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)]
ceTe.DynamicPDF.Conversion.Converter.Convert(String sourceFilePath, String outputFilePath, ConversionOptions conversionOptions) +559
ceTe.DynamicPDF.Conversion.Converter.Convert(String sourceFilePath, String outputFilePath) +40
Contents of the log file:
DynamicPDF Converter Log file.
Log created on : 2011-Mar-16 13:27:11
Operating system version :Microsoft Windows NT 5.2.3790 Service Pack 2
Platform :x86
Service Pack :Service Pack 2
IE Version :6.0.3790.3959
CLR Version :2.0.50727.3053
Meachine Name :DEV
634358788317812500 Form Service Started intializing run method
634358788319062500 Form Service Completed setting up intial params... Entering for client lookups..
634358788863281250 Form Service Started new process for conversion. Process id 7904
634358788866250000 From Con.Pro Received new request from service. Placing the request for conversion.
634358788866406250 From Con.Pro Creating new app domain for the IP file C:\Dev\d6bab485-4570-4370-a70c-4c51563d8384.txt
634358788876718750 From Con.Pro Identifying the conversion file type...
634358788883593750 From Con.Pro Conversion type is bf, Text: bf
634358788915468750 From Con.Pro Error on conversion. Inputfile is C:\Dev\d6bab485-4570-4370-a70c-4c51563d8384.txtSystem.Exception: Context failed
at bc.b(ac A_0, ac A_1)
634358788915625000 From Con.Pro Conversion completed for Inputfile C:\Dev\d6bab485-4570-4370-a70c-4c51563d8384.txt
Re: Conversion errors
Forum member · Mar 16, 2011timing is becoming an issue for us, so I would really appreciate some help in resolving these errors asap.
Thanks much,
Trevor.
Re: Conversion errors
Forum member · Mar 20, 2011Hi Trevor,
From my experience...
Go to Control Panel -> Printers and Faxes
Make sure you have only one "DynamicPDF Converter" printer there (if you have an extra one, just delete it)
Hope it helped.
Regards,
Yair
Re: Conversion errors
Support · Mar 21, 2011Hello,
This error System.Exception: Conversion failed ---> System.Exception: Context failed at bc.b(ac A_0, ac A_1) might happen when duplicate Converter printers are added to the server that is doing the conversion. The duplicate printers might be added in the case when using VPN or Remote Desktop is used and the local resources like printers are shared between the sessions. Please uncheck the Printers check box in Local Resources before starting a remote desktop connection or delete the duplicate printer manually.
Thanks,
ceTe Software Support Team.