I have asp.net 2.0 web application running on -Windows server 2003 64 bit version-IIS 6.0 64-bit-Microsoft Office 2007
I am doing simple mail merge using WORD com object, I've given rights to all the keys bellow in DCOMCNFG:{000209FE-0000-0000-C000-000000000046} {000209FF-0000-0000-C000-000000000046}{00020906-0000-0000-C000-000000000046}
tried to give full rights to Network Service, Interective User and Finally Everyone. Also tried with 'interactive user' as well 'launching user'. But I am still getting the same error of access denied. The exact errormessage is as bellow:
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005.
OR
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a.
The strange thing is, when i run the same code in a test windows application on that server, it works fine! The same website code is running fine in my local machine running on IIS6.0 32bit
Does anybody have solution that work with IIS 6.0 64-bit too?