Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenRoads | OpenSite
  • Product Communities
OpenRoads | OpenSite
OpenRoads | OpenSite Wiki Runtime Error 91 when running Cross Section Labeler
    • Sign In
    • -Road and Site Design - Wikis
      • +OpenRoads Designer
      • +OpenRoads ConceptStation
      • +OpenRail Designer
      • +OpenSite Designer
      • +OpenRoads Navigator Mobile App
      • +SS10/SS4/SS3 OpenRoads
      • -GEOPAK Native
        • +Bentley Civil Drainage
        • +Bentley Civil Landscape
        • +Bentley Civil Road
        • +Bentley Civil Site
        • +Bentley Civil Suite
        • +Bentley Civil Survey
        • +Bentley Civil Water Sewer
        • Configuration Variables For Bentley GEOPAK 2004 Edition thru V8i Selectseries 2 Products [CS]
        • +FAQs
        • GEOPAK Ancillary Features
        • GEOPAK Bridge
        • GEOPAK Configuration Variables
        • GEOPAK Cross Section Reports: Export to HECRAS not working
        • GEOPAK Road Tools Earthworks Error
        • GeoPak Road tools issues
        • GEOPAK SS3 Start up Configuration Variables
        • Getting Started With PowerCivil And GEOPAK Site
        • InRoads and GEOPAK crashes or freezes in ProjectWise
        • -Knowledge Base - GEOPAK
          • Annotation Scale not scaling cells
          • Attributes not being displayed in the dgn in Data Acquisiton
          • Bentley Map times out with Geopak Suite
          • Bring Survey Data from a GPK Back into Survey
          • Can't compute quantities in D&C manager
          • Can't Load a GEOPAK Labeler Style file (LSF)
          • Cells come in at the wrong size in Data Acquisition
          • Components do not display when running Draw Cross Sections from Surface command
          • Creating A LandXML File With GEOPAK [TN]
          • Cross Sections and Secondary Alignments
          • Deactivate GEOPAK Menu Item appears in SS3 and SS4 when opening files in ProjectWise
          • Design & Computation Manager: Active Scale Not in Control Point Scale List
          • Drainage Variables
          • Draw Profile - Project Profile
          • Error Opening Tin File in ProjectWise CONNECT edition
          • Error running Macros (VBA's) GEOPAK
          • Failed to Create Environment Variable
          • FDOT Criteria error in Existing Features
          • Geo Tech - Borehole Navigator Not plotting plan cell
          • geodtmcore dll error 127 when launching GEOPAK SS4
          • GEOPAK Drainage - Display 3D
          • GEOPAK Drainage - Unable to Build Network Topology
          • GEOPAK Drainage Warning Messages
          • GEOPAK Resource Files - How to remove them and why
          • +GEOPAK Startup Configuration Variable [TN]
          • GEOPAK Survey - Station Offset Elevation to Cross Sections
          • GPK Older Version Detected
          • How Many points can you store in the GPK file
          • How to attach SS3 Superelevation Lanes to my Corridor
          • How to Convert Esri Map files to GEOPAK Survey
          • How to do a Silent Install of GEOPAK
          • Missing Contour Labels
          • OpenRoads Templates "Pen Lines" Features
          • PowerGeopak set up with NCDOT Workspace
          • Priority Question on Point Controls
          • Run Time Error VBA programs that reference the Geopak 8.11 Object Library no longer work
          • Runtime Error 91 when running Cross Section Labeler
          • Set Point Elevation from TIN Surface resets Point Description
          • Station Equation Cannot Be Stored error when importing LandXML
          • Station Equation Command on a Curve
          • Super Elevation Diagram
          • Unable to Activate any Civil Products
          • Virtual Desktop Infrastructure
          • What does the R1 stand for after the station value?
          • Where does range start and end looking for the Feature Definition?
          • Where is Site?
        • MDL Loader: Could not load application AppCensus error when launching GEOPAK, Power GEOPAK, or MX SS10
        • Plan View Labeler not holding font
      • +InRoads Native
      • +MX Native
      • +OpenRoads SignCAD

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

    Runtime Error 91 when running Cross Section Labeler

       
      Applies To 
       
      Product(s): Bentley GEOPAK Civil Engineering Suite
      Version(s): 08.11.07.615
      Environment:  N/A
      Area:  Corridor Modeler Cross Section Labeler
      Subarea: 
      Original Author: Beebe Ray, Bentley Technical Support Group
       

     

     

     

     

     

     

     

    Problem Description

    When opening the Cross Section Labeler the user gets a Runtime Error 91 message.

     

    Solution

    This has been known to occur when a cross section in the dgn file exist but the chain that the cross section is from has been deleted or renamed in the GPK file.  You would want to rerun the Draw Cross Sections from Surfaces command and create new cross sections in a fresh DGN file.

    You can get an updated version of the xsLabeler.mvba from the link below:

    http://communities.bentley.com/products/road___site_design/m/road_and_site_design_gallery/269919.aspx

    This issue has also been know to occur if the gpk file has corrupt information in it.  The workaround is to make an input file of all the data in your gpk file

    (keyin:  Make input file new123.ioc all)  This will create an input file called New that if you create a blank gpk file called job123.gpk and open that up as user oc you will be able to read the input file New into that file essentially getting all the data from the old file into the new file minus the corrupt data.

    Then you can try running the labeler again.  The labeler is try to load all the gpk data from every gpk in the folder and it crashes on corrupt data.  If you have multiple gpk files in the same folder then check those as well.

    • xsLabeler
    • Cross Section Labeler
    • Runtime Error 91
    • corridor modeler
    • cm
    • xs
    • Share
    • History
    • More
    • Cancel
    • Beebe Ray Created by Bentley Colleague Beebe Ray
    • When: Tue, Jun 17 2014 8:37 AM
    • Beebe Ray Last revision by Bentley Colleague Beebe Ray
    • When: Wed, Jul 18 2018 8:43 AM
    • Revisions: 5
    • 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