Hi,
I have a requirement in my ASP.NET MVC application where I want to preview Word document(docx) in browser. For this, I am converting Word docx file to PDF using free WordToPDF dll in my application. This dll works fine on my local environment(localhost), I am able to see the PDF in browser. But it is not working on application server. When I published code to server and tried opening preview from server application, the dll method gives error as 'Object reference not set...." and it is not generating the PDF from the docx file at the specified path. Can anyone suggests what could be the cause of this? There is no any support or documentation available for this dll.

Sachin SinghRank #66 · 26.2K reputationPosted Dec 15, 2020, 5:20 PM EST
Index
Jignesh KumarRank #91 · 22.9K reputationPosted Aug 28, 2020, 9:19 PM EDT
Leon DRank #851 · 2.6K reputationPosted Aug 30, 2020, 4:28 PM EDT
M B21 reputationPosted Aug 31, 2020, 1:25 AM EDT
Marvin ReidRank #1,963 · 746 reputationPosted Dec 15, 2020, 6:26 AM EST