How to config IIS 7.0 with pdftron.PDF.Convert.ToXod() method

71 views
Skip to first unread message

rx...@xtremeprog.com

unread,
Jul 21, 2014, 4:05:42 AM7/21/14
to pdfne...@googlegroups.com
Hi,

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.


Here are my environment configurations.

  • Win8 64 bit
  • IIS8
  • Web API 2.0
  • SATThread to handle convert method 
My IIS config:

Error Message:

I have no idea. Could you please help me?

Regards,

Richard



Aaron

unread,
Jul 21, 2014, 7:06:18 PM7/21/14
to
Hello Richard,

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:

http://stackoverflow.com/questions/10302914/unable-to-evaluate-expression
http://stackoverflow.com/questions/2041482/unable-to-evaluate-expression-because-the-code-is-optimized-or-a-native-frame-is
http://support.microsoft.com/kb/312629/en-us

If the above advice does not help, please forward a small, complete, and compiling code sample to sup...@pdftron.com so that we can debug the problem in-house and give more complete advice for addressing it.  Thank you for your help.

Reply all
Reply to author
Forward
0 new messages