Click here to Skip to main content
12,635,398 members (24,947 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET
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?

Posted 5-Feb-13 0:20am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Either SWFToImage.dll or Word (or both) is not installed on the server machine where IIS running.
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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.

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

Advertise | Privacy | Mobile
Web01 | 2.8.161208.2 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100