Click here to Skip to main content
Rate this: bad
good
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?
 
Thakns
Ravikumar
Posted 4-Feb-13 23:20pm
Rate this: bad
good
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.
  Permalink  
Comments
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
good
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.
  Permalink  

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 359
1 Nirav Prabtani 273
2 OriginalGriff 229
3 _Amy 165
4 Maciej Los 145
0 OriginalGriff 7,744
1 Sergey Alexandrovich Kryukov 6,956
2 Maciej Los 3,994
3 Peter Leow 3,708
4 CHill60 2,742


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2014
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