Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenUtilities
  • Product Communities
OpenUtilities
OpenUtilities Wiki Error on Run Reports - DevExpress, UseNativeFormat
    • Sign In
    • +OpenUtilities
    • Access Service Request Manager
    • +Bentley sisHYD Multi Utility
    • Design Features - promis.e Functionality - Promis.e Standard
    • +OpenUtilities sisNET - English
    • +OpenUtilities Substation
    • Promis.e Paths
    • -Promis.e Wiki
      • +CONNECT Edition - Promis.e
      • About Promis.e
      • +Administration Features - Promis.e
      • +APIs_VBA - Promis.e
      • +Automation Features - Promis.e
      • +Component Features - Promis.e
      • +Component Management - Promis.e
      • +CONNECT Services - Promis.e
      • +Data Manager - Promis.e
      • +Database Platform Support - Promis.e
      • +Display - Promis.e
      • +Drawing Management - Promis.e
      • +Engineering Design Considerations - Promis.e
      • Error - Object reference...General
      • +Find_Replace - Promis.e
      • Finding the Tutorial
      • +Installation_Configuration - Promis.e
      • +Interoperability - Promis.e
      • +Licensing - Promis.e
      • +Maintenance Features - Promis.e
      • +Migration - Promis.e
      • +OS Support - Promis.e
      • +Panel Layout - Promis.e
      • +Performance - Promis.e
      • +PowerPlatform Support - Promis.e
      • +Print_Publish Features - Promis.e
      • +ProjectWise Integration - Promis.e
      • Promis.e Help file
      • -Reports_Output Features - Promis.e
        • +Graphical Plan - Reports_Output Features - Promis.e
        • Red insertion point arrows visible on exported DWG
        • -Reporting - Reports_Output Features - Promis.e
          • Error - No active project to generate report
          • Error on Run Reports - DevExpress, UseNativeFormat
          • Error on Run Reports - No template selected
          • Export PLC I/O Text
          • Filter a Cable Report
          • Open Run Reports Faster
          • Panduit Labels
          • Run Reports
        • +Wiring Diagram - Reports_Output Features - Promis.e
      • +Template Management - Promis.e
      • +Text Tools - Promis.e
      • Training FAQs
      • +Wire Numbering - Promis.e
      • +Wiring Features - Promis.e
      • +Project Management - Promis.e
      • Promis.e Title
      • Working from home with Promise.e
    • Replace Family - Find_Replace - Promis.e
    • SQL Server Login

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

    Error on Run Reports - DevExpress, UseNativeFormat

      Product(s): Promis.e
      Version(s): 08.11.12.xx
      Environment: N\A
      Area: Reports_Output Features
      Subarea: Reporting

    Error Message

    When trying to run or preview certain templates using Run Reports, the following error occurs and the report does not run:

    Internal Error
    Error Message: 1487: 'DevExpress.XtraPrinting.XlsExportOptions' does not
    contain a definition for 'UseNativeFormat'
    TargetSite: DevExpress.XtraReports.UI.XtraReport Compile(System.String,
    System.IServiceProvider)
    DeclaringType: DevExpress.XtraReports.Native.ReportCompiler
    Attributes: internal static
    MemberType: Method

    An similar error also occurs when trying to open the template in Report Template Designer.

    Explanation

    This error is caused by the presence of a deprecated ExportOptions.Xls.UseNativeFormat property in the template file.

    How To Avoid

    If the template was included in a previous version of the software, use the template supplied with your current version of the software. This may mean getting the .rpt file from the data folder installed by the new software or from the PromiseDataArchive.zip file.

    If the template is custom or current versions cannot be obtained, the problem can be fixed with the following method:

    1. Make a backup copy of the problem .rpt file.

    2. Open the .rpt file in Notepad.

    3. Select Edit > Replace.

    4. Find "this.ExportOptions.Xls.UseNativeFormat" and replace with "//this.ExportOptions.Xls.UseNativeFormat"

    5. Click the Replace button until it finds none.

    6. Save the .rpt file.

      Original Author: Matt_P

    P/S 92315, 500000102527

    • Template Management
    • promis.e
    • Migrated
    • Reports_Output Features
    • error message
    • Report Template Designer
    • en
    • Reporting
    • Share
    • History
    • More
    • Cancel
    • Matt_P Created by Communities MVP Matt_P
    • When: Tue, Feb 4 2014 10:13 AM
    • Matt_P Last revision by Communities MVP Matt_P
    • When: Thu, Mar 15 2018 3:42 PM
    • 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