I have deployed converter service which used Web API 2.0 in local IIS 8.0. I have found that my application didn’t work when convert office files, but console application work fine in WebViewerConvertTest demo.
I have already read the article http://www.pdftron.com/pdfnet/faq_files/Converting_Documents_in_Windows_Service_or_ASP.NET_Application_using_PDFNet.pdf.
Here are my environment configurations.
- Win8 64 bit
- Web API 2.0
- SATThread to handle convert method
My IIS config:
I have no idea. Could you please help me?
It sounds like the error you forwarded (“Unable to evaluate expression because the code is optimized or a native frame…”) can sometime happen based on how one calls Request.Redirect:
If the above advice does not help, please forward a small, complete, and compiling code sample to email@example.com so that we can debug the problem in-house and give more complete advice for addressing it. Thank you for your help.