I have an urgent request from client to enable loading of the word files(.doc).
the current functionality uses, OpenXml which allows only .docx files, and throws an exception if we try to upload/read .doc files.
so, i tried using Microsoft.Office.Interop.Word to read the data in file and for page count.
It all works in my local environment.(i am working using VS2008). but when i deployed in my development machine, i am getting an error “80040154 Class not registered”.
guys, i have already searched on this, but i am not sure what to do ... some says its because the development machine is 64bit.. if so, how to configure it to accept 32bit dll?
can any one just atleast guide me how to resolve this error, or is there any other ways reading word .doc file?
if you need any other information, please ask