Click here to Skip to main content
15,878,852 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am using Microsoft.Office.Interop.Word for converting word to html in my website. After hosted it in server i am not able to view the page only the page i am using Microsoft.Office.Interop.Word. i am getting 404 error.

Please help me to comeout of it.
Posted
Comments
Prasad Avunoori 13-Feb-14 6:34am    
Make sure Microsoft word is installed on server.
hari111r 13-Feb-14 6:36am    
I used the binaries in my system i am getting this error "Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied."
[no name] 13-Feb-14 22:54pm    
Could you please kindly try to give the permission?

1 solution

I fixed the issue by giving network service access to com object

1. go to "MMC comexp.msc /32"
2. Then go to Computer->my computer->DCOM Config
3. select "Microsoft Office Word 97 - 2003 Document" right click go to properties.
4. in Security tab select Customize in Launch and Activation Permission.
5. Click Edit button and add Network service
6. Allow Local launch and local activation then click ok.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900