Search the Legacy Support Archive (up to v2020)
  1. Read-only archive (2005–2024). Posting is closed. Need help with MediaLab or DirectRT 2027? Email service@empirisoft.com.

    All words · “exact phrase” · -leave out

    Advanced search

'Class Factory' Error -2147221231

  1. #1
    jarvis24 Blair Jarvis, Administrator

    'Class Factory' Error -2147221231

    [edited from support email]

    We are having problems starting DirectRT 2008 in our lab. Upon opening, we immediately receive this error:

    Error -2147221231
    Automation error
    Class Factory cannot supply requested class

    We click OK, and the license screen comes up.
    License code: 99999. Click OK.
    Same error as above, and then: Not a valid license number.

    MediaLab 2008 opens fine. We did receive a similar license error message when running the first time, but it opens fine after that.

  2. #2
    jarvis24 Blair Jarvis, Administrator
    [edited from related support email exchange]

    try entering this on the Run command on the Windows Start menu:

    regsvr32 "C:\DirectRT\license2008ip.dll"

    Use the appropriate path if different. Then try to run DirectRT once more.

    Good news! I can confirm that the problem gets fixed with this. Hopefully you will be able to include the fix in your next update.
    Many thanks,

    I'm posting a new versions now of both MediaLab (ml2008.1.21.exe) and DirectRT (drt2008.1.11c.exe) that have this issue addressed. Hopefully it will take care of it for future installs. If you get a chance to try either package, let me know how it goes.

    I have tested the new versions you posted and they seem to work quite well. Even the problem we had with having to restart MediaLab for first use has dissapeared as well.