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
<
You will need to install the "office.dll" library in the Global Assembly Cache on the server too to make this work. Check out the C:\Windows\assembly folder and you will find office.dll there.
EDIT: It seems that this will not be as simple as it looks. Some developers mention here that Office would have to be installed on the server or you will need to install even more libraries manually.