Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki What to do when you're missing your end of file marker?
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • +Dimensions
      • +DWG
      • -EDG
        • Maximize your productivity with EDG and Excel!
        • Verify and repair a V8 file with this macro
        • Verify and repair files with EDG
        • Verify and repair without EDG
        • Verify V7 dgn's with EDG before migrating to MicroStation V8
        • What to do when you're missing your end of file marker?
      • +Element Manipulation
      • +Element Properties
      • +Element Selection
      • +Freeware - Shareware
      • +Interface Look And Feel
      • +Internet - E-Links - Links
      • +Keyins
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • +Printing - Plotting
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • +Text - Fonts - Annotation
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

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

    What to do when you're missing your end of file marker?

    AskInga logo

    Original Article Date: Oct 12, 2000

    End of file missing when opening a file in MicroStation V7? No problem with this Edg script!

    When you get the message "EOF missing" do not answer "YES" since it may cause MicroStation to move the EOF to a location 'in front' of the problem possibly resulting in a loss of data. Always answer "NO", and immediatly exit the file.

    You can then attempt to repair the file yourself using Edg.

    Additionally, Phil Chouinard (Bentley) says:
    "What's more important is figuring out what is causing this to happen. Often, that message is a symptom indicating that something else much deeper is happening. Resolving what that deeper issue is (e.g. network issues, HDDs
    that need defragmenting, conflicts/issues with software, etc.) usually will clear up the real issue and design data will benefit accordingly."

    By using a utility called EdG, we can edit the design file without actually opening the file in MicroStation. This slick little utility will allow you to easily repair file problems such as missing EOF, phantom elements, lost design file headers and so forth.

    To repair a missing EOF, first make a back up copy of the design file and then copy it to the Edg directory. Open the (DOS)System prompt window, navigate to the Edg directory and proceed with the following keyins:

    Key in: Edg [filename]
    Set search/all
    Set verify/all
    Undemarcate
    Find end
    Demarcate
    Patch wtf/auto whole
    Patch wid/auto whole
    Repair whole
    Find end
    Show size
    Summary whole
    Verify whole/none
    Exit

    To prevent a user from accidentally clicking "YES" in the No EOF message box, you may wish to set the configuration variable MS_NOEOF_MSGFILE. When set, MicroStation will disply a NO EOF message and prevents the file from being opened.

    Additional information can be found at:
    MicroStation EdG

    AskInga Article #16

    • EDG
    • Askinga
    • Article
    • Share
    • History
    • More
    • Cancel
    • Danielle Schutz Created by Bentley Colleague Danielle Schutz
    • When: Wed, May 21 2008 10:05 AM
    • Jordan Stierly Last revision by Jordan Stierly
    • When: Thu, Jun 10 2010 10:56 AM
    • Revisions: 7
    • 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