Click here to Skip to main content
Rate this: bad
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 at 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
0 Sergey Alexandrovich Kryukov 205
1 Zoltán Zörgő 200
2 Peter Leow 160
3 BillWoodruff 85
4 CPallini 70
0 Sergey Alexandrovich Kryukov 9,568
1 OriginalGriff 6,901
2 Peter Leow 4,737
3 Zoltán Zörgő 4,404
4 CHill60 2,932

Advertise | Privacy | Mobile
Web04 | 2.8.150129.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2015
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