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:
- goto start > run > dcomcnfg 64
- console root > component services > computer > dcom config
- choose details view easy navigation.
- find excel , word
- right click > properties
- on security tab: select customize under launch , activation permissions , click edit…
- add account under site running (eg: network service) , assign local launch & local activation permissions , add
iis_iusrs
, give full permissions.
snapshots
step 2
step 3
step 4
p.s: adapted , modified so post
Comments
Post a Comment