Convert of word file(.docx & doc) to .pdf using c# is not working

前端 未结 3 1749
心在旅途
心在旅途 2021-01-03 08:48

I am using visualstudio 2010 and I am trying to convert word.docx file to .pdf file and is working fine in local but on run time on server it is showing error as

<         


        
3条回答
  •  独厮守ぢ
    2021-01-03 09:12

    It is not recommended to use the Office interop in a server environment due to the memory leaks and perfomance issues. You will have to look for a managed solution to convert PDF to word in a server, than installing the office package and the interop assemblies there. There are a few managed components which can get the work done, but they are not free.

    http://www.aspose.com/.net/pdf-component.aspx http://www.websupergoo.com/wordglue-1.htm

提交回复
热议问题