Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154.

Source Error:

Line 221: DrawUserMap(dt);
Line 222: #endregion
Line 223: Word.Application oWordApplic = new Word.Application();
Line 224: Word.Document oDoc;
Line 225:



Thanks and Regards
Anant Kasture
Posted
Updated 10-Oct-17 23:35pm
v2

1 solution

Did you declare oDoc properly and are you using it correctly? Have a look at this link with a good example.

http://msdn.microsoft.com/en-us/magazine/cc163637.aspx[^]

Good luck!
 
Share this answer
 
Comments
infi_2007 3-Aug-10 14:43pm    
Reason for my vote of 5
thanks,i solved my problem
MohamedHassanAli 18-Mar-11 1:17am    
Could you please share the solution infi_2007. Please
Thanks
MohamedHassanAli 18-Mar-11 1:17am    
infi_2007 . It would be great if you could share the solution to your problem.
Please

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