Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki VBA Error - Class not registered
    • Sign In

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • -Exception - MicroStation
          • Create a Dump File with Task Manager
          • ADPlus with SLS option
          • Crash running Print Organizer with Signcad installed
          • Download and Install Windows Debugging Tools
          • Exception Log 101
          • Generate Type 7 Minidump files
          • Managing Exception Logs
          • MicroStation Exception Log Primer
          • MicroStation crashes when loading Tool Boxes dialog
          • MicroStation crashing on start up
          • Microsoft DebugDiag - Quick Guide for MicroStation crash issues
          • Setting up Dr. Watson for MicroStation J
          • Troubleshooting MicroStation Processor Exception Errors in MicroStation J
          • Unable to Load/Create CmdFrame
          • Full memory dumps using Windows Error Reporting (WER)
          • Generate a hang dump with ProcDump
          • Generate crash logs with ADPlus
          • Generate Type 7 Minidump with Page Heap
          • How to collect Event logs
          • How to generate Dependency Walker log files
          • How to generate ProcMon logs
          • MicroStation Connect crashes during startup (Dell Backup and Recovery)
          • MicroStation Connect crashes immediately when started (IBM Trusteer Rapport)
          • MicroStation Connect crashes when started (Sophos)
          • MicroStation Connect crashes when started (Trend Micro)
          • MicroStation Connect does not start (SentinelOne)
          • MicroStation crashes on start up (restore defaults)
          • MicroStation crashes on start up (UPF related)
          • MicroStation crashes on startup (Legacy LicenseClient)
          • MicroStation exits when attaching Bing Map
          • MicroStation J does not exit
          • MicroStation not working
          • Open Light Manger and select Solar, crashes MicroStation Connect
          • Other Crash Dumps
          • Performance Issue when starting MicroStation
          • Slow opening of MicroStation after opening a very big file (e.g. an IFC file)
          • SQLite error when starting MicroStation
          • Startup Logs
          • VBA Error - Class not registered
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Printing and Plotting
    • +Programming Wiki
    • +Visualization Wiki
    • Window List Dialog for Missing Tool Dialog Boxes

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

    VBA Error - Class not registered

      Product: MicroStation
      Version: V8i, CONNECT
      Environment: N\A
      Area: Exception
      Subarea: N\A

    Problem Description

    The following error continues to be reported when starting MicroStation and associated Bentley Companion Products like Aecosim Building Designer, Geopak, Inroads etc.

    VBA Error:
    Class not registered.
    Looking for object with CLSID:{AC9F2F90-E877-11CE-9F68-00AA00574A4F} (Find objects with the following CLSID)

    Solution

    Solution 1 :

    This problem is caused by the fm20.dll module being incorrectly registered by Windows.

    This problem occurred during the installation process when Microsoft allowed multiple programs to modify the registration information of VB\VBA dll.

    First, find the existence of the fm20.dll file. According to the OS version or the number of bits, it will be placed in a different path.

    For 32-bit systems: C:\Windows\System32\

     a. Click the Start button
     b. Right-click, use the administrator authority to call up the command prompt window
     c. Enter Regsvr32 fm20.dll, press Enter to confirm

    In the case of a 64-bit system: C:\Windows\SysWOW64\

     a. Click the Start button
     b. Right-click, use the administrator authority to call up the command prompt window
     c. Enter cd C:\Windows\SysWOW64\, execute
     d. Enter Regsvr32 fm20.dll, press Enter to confirm

    After confirming by pressing Enter, the following message will appear:

    DllRegisterServer in c:\windows\system\fm20.dll succeeded.

    This means that Fm20.dll has been correctly registered successfully.

    Solution 2 :

    For some Users, reinstalling the VBA components fixed the issue

    V8i - Install/Repair following components Or the full Prerequisites for Bentley Desktop Applications package
    VBAOF11.MSI
    VBAOF11I.MSI

    Connect - Install/Repair following components or perform a full installation through a Deployment Image
    Vba71.msi
    Vba71_1033.MSI
    VBA71-KB2803801-x64.msp
    VBA71-KB2803801-x64_1033.msp
    VBA71-KB3061498-x64.msp

    See Also

    MVBA Troubleshooting

    Other language sources

      Original Author: Andrew Bell
    • Fm20.dll
    • v8i
    • connect
    • MicroStation
    • Class Not Registered
    • VBA Error
    • regsvr32
    • Share
    • History
    • More
    • Cancel
    • Andrew Bell Created by Bentley Colleague Andrew Bell
    • When: Wed, Sep 15 2021 1:40 AM
    • Leonard Jones Last revision by Bentley Colleague Leonard Jones
    • When: Wed, Sep 15 2021 9:00 AM
    • Revisions: 3
    • 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

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