Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Couldn't find Microsoft Word Document in DCOM Config

I am creating a simple asp.net web site that use office 2007/2010 automation .. when i published the website on the iis 7 on my local machine (window 7) have an exception

 Retrieving the COM class factory for component with CLSID 
 {000209FF-0000-0000-C000-000000000046} failed due to the following error: 
 80080005 Server execution failed (Exception from HRESULT: 0x80080005 
 (CO_E_SERVER_EXEC_FAILURE)).

I have searched for this exception and i found that i have to set some permissions to office in DCOM Config.

I have opened the component services and opened DCOM Config, but i have not found Microsoft Word Document i have found only office word 97 - 2003.

can any one tell me how to solve this problem.

like image 579
Abdullah Darwish Avatar asked Sep 06 '12 12:09

Abdullah Darwish


1 Answers

Found the answer here: DCOM Failure of Office Automation

If you are running a 64-bit server with 32-bit Office, you may have trouble finding this DCOM setting. You will need to run "MMC -32" from the command prompt to launch 32-bit MMC and then add 'Component Services' from the 'File > Add / Remove Snap-ins' menu.

like image 129
bfhd Avatar answered Sep 21 '22 07:09

bfhd