Palisade Knowledge Base

HomeTroubleshootingAll Products: Startup"ClassFactory cannot supply requested class" (TopRank)

2.35. "ClassFactory cannot supply requested class" (TopRank)

Applies to: TopRank 5.5
(For this message when starting @RISK for Project, see "ClassFactory cannot supply requested class" (@RISK for Project).)

When I try to run TopRank I get this error message:

Run-time error '-2147221231 (80040111)'
Automation error
ClassFactory cannot supply requested class

The installer program failed to register the TopRankModel.dll file, but you can do this yourself to solve the problem. Please follow these instructions:

  1. Make sure Excel is closed.

  2. Open an elevated command prompt (Start » Run may not work). To do this, click the Windows start button and type CMD The first search result is cmd.exe. Right-click it and select Run As Administrator. (Ask your IT people to perform this procedure if you don't have that option.)

  3. Copy and paste the appropriate command into the Run window:

    • For 32-bit Windows:
      regsvr32 "C:\Program Files\Palisade\TopRank5\TopRankModel.dll"
    • For 64-bit Windows (regardless of whether Excel is 32 or 64 bit):
      regsvr32 "C:\Program Files (x86)\Palisade\TopRank5\TopRankModel.dll"
  4. Click OK.

TopRank should now run normally when you open it.

Last edited: 2015-02-12

This page was: Helpful | Not Helpful