Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenBuildings | AECOsim | Speedikon
  • Product Communities
  • Building
  • OpenBuildings | AECOsim | Speedikon
  • More
  • Cancel
OpenBuildings | AECOsim | Speedikon
OpenBuildings | AECOsim | Speedikon Wiki "ClassFactory" VBA error when opening AECOsim Building Designer
    • Sign in
    • Building Design - Wiki
    • +OpenBuildings Designer
    • +OpenBuildings Energy Simulator
    • +GenerativeComponents
    • OpenBuildings Station Designer
    • +OpenBuildings Speedikon + Bentley Speedikon V8i
    • +Bentley Facilities Space Planner CONNECT Edition
    • -AECOsim Building Designer
      • +Annotation - AECOsim Building Designer
      • +Architectural Design - AECOsim Building Designer
      • +ASM (Analytical Space Model)
      • +Configuration - AECOsim Building Designer
      • +DataGroup System - AECOsim Building Designer
      • +Dataset and Content - AECOsim Building Designer
      • +Drawing Extraction - AECOsim Building Designer
      • +Drawing Views - AECOsim Building Designer
      • +Electrical Annotation and Design - AECOsim Building Designer
      • +Floors - AECOsim Building Designer
      • +Form Modeling - AECOsim Building Designer
      • -General - AECOsim Building Designer
        • Accessing The Bentley Developer Network
        • AECOsim Building Designer - MicroStation Mode
        • AECOsim Building Designer - Version History
        • AECOsim Building Designer Product Compatibility
        • AECOsim MicroStation CONNECT Edition shortcut
        • AECOsim timeout in 2 minutes
        • Blurry dialogs in Windows 8-8.1
        • Change Rejected In Order To Preserve Design Integrity
        • Compatibility with Microsoft Office 64-bit - AECOsim Building Designer
        • CONNECT Edition - Cannot Open Drawing with Chinese Character
        • CONNECT Edition - City names written in Regional language are not properly shown in Light Manager
        • CONNECT Edition - DGN file format is unchanged
        • CONNECT Edition - Has the "Isolate" command been removed from AECOsim CONNECT?
        • CONNECT Edition - Installation Error - '.NET 4.5.2 '
        • CONNECT Edition - Installation Error - 'error code 0x80070643'
        • CONNECT Edition - Installation Error - 'Hash Mismatch'
        • CONNECT Edition - Is there any way to count all cells present in a drawing?
        • CONNECT Edition - What Features/Capabilities have been Deprecated/Superseded?
        • Creating a Geographic Coordinate System in BIM Projects
        • -Errors
          • "ClassFactory" VBA error when opening AECOsim Building Designer
          • "License information for this component not found"
          • "Runwait_mshta_en_productinstallerGUI.hta, Access is denied"
          • .NET 3.5 Framework error message for AECOsim Building Designer on Windows 8 or 10
          • AECOsim Building Designer - Application Error Code 0x80040151
          • AECOsim Building Designer - Application Error Code 0xE0434F4D
          • AECOsim Building Designer - Error Code Fm20.dll
          • AECOsim Building Designer - Exception with Code 0xc0000005
          • AECOsim opens with xml and/or settings error message boxes
          • Can not load VBA project file - mvba
          • Class not Registered Error on Windows 10
          • CONNECT Edition - AECOsim Building Designer Connect Edition Installation on Windows 7 Error
          • CONNECT Edition - AECOsim Crash With Network Dataset
          • CONNECT Edition - Can't Deactivate CONNECT Advisor on start.
          • CONNECT Edition - Getting random crashes when opening a drawing
          • CONNECT Edition - Random Crashes working in a drawing
          • Error 429 : License Information for this component is not found
          • Generate Type 7 Minidump files
          • Microsoft's April Security Updates Kill VBA Scripts
          • MSXML2 publicKeyToken error in tfdgschedules.dll
          • Unable to find style specified by HVAC_CUT_HIDDEN_LINESTYLE: (Hidden)
          • VBA error - Compile error in hidden module
          • VBA errors when opening files
          • VBA errors when using certain Structural or Mechanical tools
          • Where Are Exception Logs and Mini Dump Files Located?
        • Globally add data to every component in AECOsim
        • How can I get complete list of AccuDraw Shortcut Key-in?
        • How to modify Flyover Tool-tip
        • How to use "Swept Blend" function in AECOsim Building Designer
        • How to Use TFREBUILD
        • Ignore Clip Volumes not working
        • Inappropriate display issue in high resolution monitor
        • Issues after updating AECOsim Building Designer to Update 4
        • Lines going everywhere all over my drawing (zingers)
        • Lock Pages in Memory issue
        • Main Tasks Menu is Missing
        • Microsoft Office 365 August updates (version 1707) are causing crashes in AECOsim Building Designer on startup
        • Missing Help for Electrical
        • Open AECOsim Building Designer Files in MicroStation
        • Poor Performance when Operating System files are compressed
        • Recommended Solids Working Area Workflow
        • SelectBy Key-ins and Their Effect
        • Selecting Building Elements By Color
        • Unable to select some elements in the 3d model
        • Using LibreOffice Basic with AECOsim Building Designer
        • What's New in Select Series 6 Update 1
      • +Grid Systems - AECOsim Building Designer
      • +HVAC Design - AECOsim Building Designer
      • +i-model - AECOsim Building Designer
      • +Import/Export - AECOsim Building Designer
      • +Installation - AECOsim Building Designer
      • +Modify - AECOsim Building Designer
      • +Platform Tools - AECOsim Building Designer
      • +Plumbing Design - AECOsim Building Designer
      • +Print/Plot - AECOsim Building Designer
      • +ProjectWise Integration - AECOsim Building Designer
      • +Settings/Attributes - AECOsim Building Designer
      • +Space Planner - AECOsim Building Designer
      • +Structural Design - AECOsim Building Designer
      • +Utilities - AECOsim Building Designer
      • +Workspace - AECOsim Building Designer
    • +iModel Plugin for Revit
    • +Social Distance Assessments
    • Working from home with OpenBuildings products
    • Working from home with Speedikon
    • +Special Interest Group (SIG) FAQs
    • +Structural Modeler_PS
    • +Configuration Explorer
    • +Legacy Products

     
     Questions about this article, topic, or product? Click here. 

    "ClassFactory" VBA error when opening AECOsim Building Designer

       
      Applies To 
       
      Product(s): AECOsim Building Designer
      Version(s): 08.11.09.225
      Environment:  N/A
      Area:  Installation
      Subarea:  N/A
      Original Author: Bentley Technical Support Group
       

    Problem

     After installing AECOsim Building Designer on Windows 7 x64 we receive a "ClassFactory cannot supply requested class" error every time we attempt to open any DGN file.  We have tried uninstalling it, removing the existing directory and reinstalling it, and also tried every delivered shortcut and different Windows user profiles, but still get the same error. We also ran the Windows 7 Update fix for AECOsim Building Designer posted on the Be Communities, but it made no difference either.

    In addition, when opening Bentley Building Mechanical Systems V8i on the same machine I receive the Microsoft Visual Basic error: "System Error &H80040111 (-2147221231)".

    Solution

     Since none of the commonly used VBA related solutions seem to work, please try the following:

    1) Type "cmd.exe" in the Windows Start Menu > "Search" field, then right-click on the command and choose "Run as Administrator" to open an Administrator level  Command Prompt.


    2) Type "del c:\*.exd /s", without the quotes

    3) Download the Microsoft Visual Basic 6.0 Service Pack 6 Cumulative Update, available here: http://www.microsoft.com/en-us/download/details.aspx?id=7030.

    4) Open the downloaded VB60SP6-KB*****-x86-ENU.msi file in your compression software of choice, such as 7Zip, and extract the files "mscomctl.ocx" and "mscomct2.ocx".

    NOTE: If you have an older version of the update, you may need to follow steps 4A and 4B instead:

    4A) Open the downloaded VB60SP6-KB*****-x86-ENU.msi file in your compression software of choice, such as 7Zip, and extract the "product.cab" file.
    4B) Open the product.cab file with your compression software and extract the files "mscomctl.ocx" and "mscomct2.ocx".


    6) Copy mscomctl.ocx and mscomct2.ocx to C:\Windows\System32, overwriting any other existing versions.  NOTE: If you are running a 64bit OS and do not have these two files in the C:\Windows\System32 folder, check under the C:\Windows\SysWOW64 folder instead.

    7) Return to your Command Prompt window and register both *.ocx files using the regsvr32 command. See: http://technet.microsoft.com/en-us/library/bb490985.aspx

    8) Restart AECOsim Building Designer or Bentley Building Mechanical Systems.

     

    See Also

    Product TechNotes and FAQs

    External Links

    Bentley Technical Support KnowledgeBase

    Bentley LEARN Server

    Comments or Corrections?

    Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this " Comments or Corrections?" section. THANK YOU!

    • AECOsim Building Designer
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Elisabeth Pry Created by Bentley Colleague Elisabeth Pry
    • When: Thu, Nov 21 2013 11:56 AM
    • Larry Abla Last revision by Bentley Colleague Larry Abla
    • When: Tue, Feb 6 2018 3:19 PM
    • Revisions: 10
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies