Click here to Skip to main content
15,886,802 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
while developing word doc in asp.net i got this error, i am not able to solve please help me.what to do?

Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154


C#
Application Word = new Application();
Posted
Updated 10-Aug-12 10:06am
v2
Comments
[no name] 10-Aug-12 9:17am    
Is Word installed on the computer?
invisible@123 10-Aug-12 9:18am    
Yes sir
[no name] 10-Aug-12 9:22am    
Then it is not installed correctly.
invisible@123 10-Aug-12 9:25am    
Sir its installed correctly
Sergey Alexandrovich Kryukov 10-Aug-12 12:47pm    
Does its version match the version of Office interop assembly you reference in you project?
--SA

1 solution

Looks like the Word isn't correctly installed on your server. Have a look at this: http://social.msdn.microsoft.com/Forums/en/worddev/thread/4ba4a103-92ae-4d6e-8102-326ce672c7c2[^]
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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