Author Message

Posted: Fri Dec 11, 2015 7:25 pm   Post subject: Class not registered

I'm experiencing this problem:

Code:
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {ADD28FB0-CD11-4861-9660-0318AD7D8D93} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)


Here's my code:

Code:
using iSpringFlash;
PresentationConverter pConverter = new PresentationConverter();
            try
            {
                Program.toLog.Add("iSpring converting");
                pConverter.OpenPresentation(dir);
                var guid = Guid.NewGuid().ToString();
                pConverter.GenerateFlashPresentation(Path.Combine(Program.inDir, guid, ".swf"));
                pConverter.Presentation.Close();
                back.swf = guid + ".swf";
                return Path.Combine(Program.inDir, guid, ".swf");
            }
            catch (Exception e)
            {
                Program.toLog.Add("iSpring error " + e);
                throw (e);
            }
            finally
            {
                Marshal.ReleaseComObject(pConverter);
            }


This is what my references look like:
Image

I downloaded the iSpring PPT Conversion SDK trial version, among other things.


Profile profile test

Posted: Fri Dec 11, 2015 7:57 pm   Post subject: Re: Class not registered

@Houseman

Thank you for sharing with us your code!
Could you please send us some screenshots with your settings in iSpring SDK to support@ispringsolutions.com? That would help us a lot to sort out this issue.
Thanks in advance!


Profile profile test

Posted: Fri Dec 11, 2015 9:46 pm   Post subject: Re: Class not registered

Where can I find these settings?


Profile profile test

Posted: Fri Dec 11, 2015 11:22 pm   Post subject: Re: Class not registered

@Houseman

If you already have iSpring Platform, you can get a ready-to-use code to convert your presentations.

Please launch iSpring CodeBuilder, select a presentation on your PC and a folder for output files:

Image

Now you can copy the code or convert the presentation using command line.
Hope that is helps!


Profile profile test
Display posts from previous:  Sort by  

  


Who is online
Who is online In total there are 4 users online :: 2 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Baidu [Spider], Google [Bot]


cron