c# - Error : Interop.word.dll error -


i have used microsoft.office.interop.word dll view word document , working fine on code level debugging after publishing project on same machine getting exception while creating dll object

retrieving com class factory component wit clsid {000209ff-0000-0000-c000-00000000046} failed due following error : 80070005

didn't find solutions yet on web .. kindly me

try this:

  1. goto start > run > dcomcnfg 64
  2. console root > component services > computer > dcom config
  3. choose details view easy navigation.
  4. find excel , word
  5. right click > properties
  6. on security tab: select customize under launch , activation permissions , click edit…
  7. add account under site running (eg: network service) , assign local launch & local activation permissions , add iis_iusrs , give full permissions.

snapshots
step 2
enter image description here
step 3
enter image description here
step 4
enter image description here

p.s: adapted , modified so post


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -