“80040154 Class not registered” with Word interop from C#
<p>I have an urgent request from client to enable loading of the word files(.doc).</p>

<p>the current functionality uses, OpenXml which allows only .docx files, and throws an exception if we try to upload/read .doc files.</p>

<p>so, i tried using <b>Microsoft.Office.Interop.Word</b> to read the data in file and for page count.</p>

<p>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”. </p>

<p>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? </p>

<p>can any one just atleast guide me how to resolve this error, or is there any other ways reading word .doc file?</p>

<p>if you need any other information, please ask</p>
