Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi, I used SWFToImage.dll for Export Charts to Word, it's working fine in ASP.NET Website.
But after host the same in IIS i am getting the below error.

System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {479A1AAC-C148-40BB-9868-A9773DA66AF9} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Any suggestions on how to correct this error?


Either SWFToImage.dll or Word (or both) is not installed on the server machine where IIS running.
Share this answer
Peyyala Ravikumar 5-Feb-13 8:00am    
Word alredy installed in my machine and also i registerd SWFToImage.dll
For registering the dll, got("DllRegisterServer in E:/Pathtodll/SWFToImage.DLL succeeded.") this window message also.
It clearly says that the dll is not registered, try installing the dll`s in the iis running machine or check whether the dll`s your referring is properly referred if you have messed up while referring the dll`s also the same exception arises.
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