Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenRoads | OpenSite
  • Product Communities
OpenRoads | OpenSite
OpenRoads | OpenSite Wiki "Class not registered" VBA Error
    • Sign In
    • -Road and Site Design - Wikis
      • -OpenRoads Designer
        • +Training
        • +Basic Settings
        • +Terrain Modeling
        • +Geometry CONNECT
        • +Model Analysis & Reporting
        • +Corridor Modeling
        • +Model Detailing
        • +Drawing Production
        • +Drainage and Utilities
        • +Survey CONNECT
        • +Civil Cells CONNECT
        • +How To Wikis
        • +Installation CONNECT
        • +ProjectWise Integration
        • +Workspace
        • +Troubleshooting Various Issues
        • +MX to OpenRoads Designer Equivalence Videos
        • Downgrade Civil Model
        • Remove Civil Model
        • Civil File Manager
        • Bentley Civil Québec
        • "Error reading the Feature XML File" in the Features XML To/From Excel
        • Bentley Civil User Accreditation - Program Overview
        • How to turn off display of inactive topology?
        • Migrating Project Data to OpenRoads Designer
        • OpenRoads Designer Workflow - Voice Command
        • Workspace error when working with Subsurface Utilities in OpenRoads Designer
        • Textual manipulators missing for survey data
        • Unable to Open Utility Properties for catchment areas
        • When opening a file, it closes right away
        • Downgrade DGN - Replacement utility for 'Downgrade Civil Model'
        • Download for OpenRoads Designer 10.10.01.03
        • +DWG/DXF
        • Environment ERROR in OpenRoads/Rail/Site Designer
        • OpenRoads - OpenRail - OpenSite Ideas
        • +VBAs and DLLs for Custom Functions
      • +OpenRoads ConceptStation
      • +OpenRail Designer
      • +OpenSite Designer
      • +OpenRoads Navigator Mobile App
      • +SS10/SS4/SS3 OpenRoads
      • +GEOPAK Native
      • +InRoads Native
      • +MX Native
      • +OpenRoads SignCAD

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

    "Class not registered" VBA Error

    Product(s): InRoads
    Version(s): 08.11.07+, 08.11.09+
    Area:  General

      

    Problem:

     

    Received the following error when trying to open a file.

     

     

    Solution:

     

    If you recently updated or modified Microsoft Office, that was most likely the cause of the issue. This means that there is a missing or incorrect Microsoft Windows registry entry for the Dynamic Link Library FM20.dll. To fix this issue, do the following:

     

    For 32-bit OS:

    1. Make sure Bentley products are closed
    2. Open Command Prompt as Administrator
    3. Type "regsvr32 FM20.dll" and hit ENTER
    4. Verify if the issue persists.

    For 64-bit OS:

    1. Make sure Bentley products are closed
    2. Open Command Prompt as Administrator
    3. Type "cd C:\Windows\SysWOW64\"
    4. Type "regsvr32 FM20.dll" and hit ENTER
    5. Verify if the issue persists.

    You should get the following message if it completed successfully.

    If you want to check to see that FM20.dll registered correctly, do the following:

    1. Open the Registry Editor (Start > Run > regedit)
    2. Use CTRL + F to find the CLSID. Using the picture above as an example, you would search "C62A69F0".
    3. Select the different keys until you find the file path of FM20.dll. It should have worked if it says C:\WINDOWS\system32\FM20.dll

    If you received the following message, make sure you are running Command Prompt as Administrator, and try again.

     

     

    If you confirmed that the above didn't fix your problem, you may try to uninstall/reinstall InRoads to see if it helps. If not, then try reinstalling a 32-bit version of Microsoft Office.

    • Startup
    • Excel
    • InRoads
    • OpenRoads
    • Geopak
    • Microsoft office
    • Share
    • History
    • More
    • Cancel
    • Jacob Dean Created by Bentley Colleague Jacob Dean
    • When: Thu, Dec 17 2020 11:07 AM
    • Jacob Dean Last revision by Bentley Colleague Jacob Dean
    • When: Thu, Jan 7 2021 9:26 AM
    • Revisions: 21
    • 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