I have a pretty nasty problem. I wrote an application which does a programmatic mail merge for a customer using the Office.word.interop (Microsoft.Office.Interop.Word.dll). Everything worked fine. Then the customer wanted the same functionality from within a website and everything went downhill. I included my code in a website and everything worked in debug mode but when I published it and ran under IIS I keep getting the error:
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.
When I Googled this I kept getting advice to use component services to change the Security setting to include the IIS user. On my 2003 Server I gave pretty much every permission there is to pretty much everybody but got no results. On my Windows 7 box I can't even edit the security without 'taking control of the registry key'. Which does not even seem to be worth looking into.
Is there any hope?