We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

ContextSwitchDeadlock was detected


Aspose.Words for .NET 15.10.0 is throwing the error with some our documents (invoices).

Error text:

ContextSwitchDeadlock was detected. The CLR has been unable to transition from COM context 0x2bc2e8 to COM context 0x2bc458 for 60 seconds.
for the attached DOC. Here's the code to save doc as pdf:

Aspose.Words.License license = new Aspose.Words.License();
Aspose.Words.Document doc = new Aspose.Words.Document(FileName);

pdfFileName = Path.ChangeExtension(FileName, ".pdf");
doc.Save(pdfFileName, Aspose.Words.SaveFormat.Pdf);

By the way, this code works good without licence.
Hi Andrey,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-12641. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-12641) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.