Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki Runtime Error… File name or class name not found during OLE Automation operation Line: 231
    • Sign In
    • -OpenPlant | AutoPLANT Wiki
      • +OpenPlant
      • -Bentley AutoPLANT
        • AutoPLANT Product Group Compatibility
        • +AutoPLANT Modeler CONNECT Edition
        • -AutoPLANT Modeler V8i
          • +AutoPLANT Modeler [FAQ]
          • +Component - AutoPLANT Modeler
          • +Customization - AutoPLANT Modeler
          • +Database - AutoPLANT Modeler
          • -Errors, Logs, Messages, Crashes - AutoPLANT Modeler
            • +"Olemanager was not found" Error while loading Support Topwork Browser and Componet Preference
            • ADTB307: Error executing the SQL statement Alter Table PIPING Alter Column INTEGER
            • ATDB0107:Error executing the SQL statement
            • ATDB0312: Database error the source and target databases have inconsistent structures
            • ATDB0702: Unable to create an instance of the project Database
            • ATDB0726: Relationship Manger error code reported -2147467261 BPObjRel19: Object reference not set to an instance of an object
            • AutoCAD Message “loadpiping.scr” Can’t find the file While Opening AutoPLANT
            • AutoPLANT Install Fails with Error 1723
            • AutoPlant Modeler SS5 installation issue "Failed to create an instance of the Bentley Security object"
            • Blank Line Number Error message in AutoPLANT modeler
            • CONNECTION Client (Error -2760)
            • Error on uninstalling, repairing, updating or installing AutoPLANT Modeler Prerequisites or AutoPLANT Modeler: Failed to create an IPC Port: Access is denied.
            • Error XCHG0000: User Cancelled
            • Error: Publish i-model is not available. Please install AutoPLANT i-model Composer
            • Failed to Enable AutoPLANT Project for OpenPlant
            • Failed to initialize Project for OpenPlant
            • FATAL ERROR: Unhandled e0434352h Exception at fd38a06dh while loading Component Preferences
            • How to Enable Missing .NET Framework v3.5 required for Bentley's Class Editor installation
            • Invalid Pointer Error While Generating Report in AutoPLANT Modeler
            • Old format or invalid type library. (Exception from HRESULT: 0x80028019)
            • Project is Locked for Exclusive Mode Error Appears when opening Project in Project Administrator
            • Project packager error 'DynaZip Unzip Error: No files to test, extract, etc. (No items match filespec)'
            • Run time error ‘5’ Invalid Procedure call or Argument
            • Runtime Error After Removing Newer AutoPLANT Version
            • Runtime Error… File name or class name not found during OLE Automation operation Line: 231
            • Startup Dialog: File Loading - Security Concern
            • To Populate the Missing Line Number of the Piping Model in the AutoPLANT Modeler
            • “Enter name of the customization file to load:” Error When Loading Piping or Equipment Menu in AutoPLANT Modeler
          • +General - AutoPLANT Modeler
          • +Installation - AutoPLANT Modeler
          • Processing - AutoPLANT Modeler
          • +Settings/Attributes - AutoPLANT Modeler
          • +Tools - AutoPLANT Modeler
        • +AutoPLANT Piping
        • +AutoPLANT Equipment
        • +AutoPLANT I&W
        • +AutoPLANT P&ID
        • +AutoPLANT Isometrics
        • +AutoPLANT AutoISOGEN
        • +Bentley Data Manager
        • +Vision/Document Manager
        • +Drawing Flattener
        • +DataSheets
        • +Specification Generator
        • +ProjectWise Integration
      • +Bentley Navigator
      • +Bentley PlantSpace
      • +Plant Project Tools
      • +Bentley Raceway and Cable Management
      • i-model Composition Service for S3D
      • Working from home with OpenPlant
      • Working from home with Bentley Raceway and Cable Management
      • Working from home with AutoPLANT Modeler
      • Your Feedback is important to us!

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

    Runtime Error… File name or class name not found during OLE Automation operation Line: 231

    Applies To 
    Product(s): AutoPLANT Modeler 
    Version(s): 08.11.12.114
    Environment:  Windows 7 64 bit
    Area:  Errors, Logs, Messages, Crashes
    Subarea: 
    Original Author: Abhijit Bute, Bentley Technical Support Group

    Overview

    While setting New Annotation Style user may face following errors.

    Problem Description

    While trying to build an annotation string, the following series of errors occur

    AutoPLANT Message
    Runtime Error… File name or class name not found during OLE Automation operation Line: 231

    Script execution error:
    X PSYS0502: Error executing the Dialog
    Error in script file C:\\Program Files (x86)\\Bentley\\Plant V8i\\Modules\\Base\\dialogs\\annot_NewStyle.ebs


    Below are the illustrative steps to resolve this issue.

    Steps to Resolve

    1. Close all AutoPLANT applications
    2. In Windows explorer, open the following file in Script Editor.

      C:\Program Files (x86)\Bentley\Plant V8i\Modules\Base\dialogs\annot_NewStyle.ebs

    3. Go to line number 231 and notice the following line:

      Set Builder=createObject("APAnnotationBuilderXM18.AnnBuilder")

    4. Above variable should point to APAnnotationBuilderAN20 depending on the user`s AutoCAD version. As an example, change the line as follows,

      Set Builder=createObject "APAnnotationBuilderAN20.AnnBuilder")

      Refer following screen shot:



    5. Save the file and restart AutoPLANT

    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!

    • class name
    • AutoPLANT Modeler
    • file name
    • not found
    • Runtime error
    • OLE Automation operation
    • Line: 231
    • Share
    • History
    • More
    • Cancel
    • Abhijit Bute Created by Abhijit Bute
    • When: Thu, Sep 10 2015 9:16 AM
    • Kestutis Mitkus Last revision by Bentley Colleague Kestutis Mitkus
    • When: Mon, Jun 26 2017 6:30 AM
    • Revisions: 11
    • 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