Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki File Associations
    • Sign In

    • +MicroStation Wiki
    • -Administration Wiki
      • Adding "Display Style List" to custom Toolbox
      • +Administration - Legacy Content
      • Answers for the Levelly Challenged
      • Batch Convert Utility
      • Bentley Tablet Driver And CalComp DrawingBoard
      • Bypassing Port Problems In Windows 2000 And Windows XP
      • Cannot find survey ft option in Design File Settings > Units
      • Configuration Variable Processing
      • Configuration Variables In MicroStation V8
      • Creating Tool Icons
      • Customize item missing from Workspace menu
      • Customize Toolbox - Tool opens new Toolbox
      • DGN file association in Windows 10 (MicroStation Does not appear in list)
      • DGN Index Service - How to set up
      • DGN Index Service Setup ended prematurely – error 1603
      • Enabling Lock Pages In Memory Under Windows 7 and Vista
      • Error - Cannot locate a default SHX font. Please install msdefault.shx
      • Error - Unable to load/create dialog item of type 'IconCmd', id
      • Error 1402. Could not open key
      • Error 1603 during install
      • Error 1610 during install
      • Error 1625 during install
      • Error message when starting MicroStation, "ucf not found"
      • File Associations
      • File Correction and Audit Tools
      • Getting Started With The Standards Checker
      • Haven't Upgraded To The MicroStation V8 Format Yet
      • How to Back Up and Restore User Preferences
      • How to Copy User Preferences and User Configuration Files to a new or different PC
      • How to quickly add a number of folders to Microstation's reference files search paths
      • How To Reset User Preferences and Delete MicroStation's Temporary Files
      • Installing MicroStation V8 XM Edition silently
      • Installing MicroStation V8i (SELECTseries 3) Without an Internet Connection
      • Installing MicroStation V8i silently
      • Is there any easy way to determine key-ins or variable names?
      • Key-in command to define different pattern setting options
      • Keyin to encrypt dgn files
      • MicroStation - Creating a Custom Colour Book
      • MicroStation Command Line Options And Switches
      • MicroStation Failed to Start
      • MicroStation file access issues with shared network drives
      • MicroStation Memory Management
      • +MicroStation V8i Variables
      • MicroStation Virtualization FAQ
      • Migrating Customizations to MS V8i
      • Migrating Customizations to MS XM
      • MSDebug File
      • MSXML Issue
      • Networking Workspaces
      • Networking Workspaces the easy way
      • New Variables
      • Overriding And Resynchronizing Level Attributes
      • Restore MicroStation to Factory defaults
      • Script error during MicroStation Installation
      • Serving Up Efficiency
      • Sharing Your Workspace
      • System Fault 5 MDL abort in DITEMS
      • The Power Of The Workspace
      • To also see hidden Config-Variables
      • Unable to connect to an Oracle Database
      • Understanding File Locations And Reference Attachments In MicroStation
      • Updating To MicroStation V8 Format
      • Upgrading From 08.09.02.52 To 08.09.02.77
      • Windows Explorer ProgramData folder
      • Workmodes DGN/DWG
      • Workspaces on the Network
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

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

    File Associations

      Product: MicroStation
      Version: V8i, CONNECT
      Environment: N\A
      Area: Administration
      Subarea: N\A

    Overview

    Typically, when double-clicking on any file from Windows Explorer the application associated with this type of file should start up and open the selected file automatically.  When this does not happen there may be an issue relating to the file association. The following error messages may appear depending on the operating system being used.

    Windows 7 / Vista

    Windows 8

    The following solutions provided by Microsoft for changing the Windows file association may be of assistance.

    Changing File association in Windows XP.

    Changing File association in Windows 7/Windows Vista.

    Changing File association in Windows 8.

    Changing File association in Windows 10

    Outside of manually changing the file association, as explained above, you have a few options to correct the situation:

    Method #1 - Change the installation of MicroStation.

    Select "Change" from "Add and Remove Programs" for MicroStation, then go through the prompts.  This should re-establish file association if it was originally enabled with the install.

    1. Browse to the MicroStation.msi and double-click it.
    2. Follow the wizard and when you get to Change, Repair, Remove Installation, select "Change". 
    3. Click on File association and select "Will be installed on local hard drive" (
    4. This will open the Product Features section).
    5. Select "Change".
    6. Go back to a DGN through Windows Explorer. Right click and select "Open With…" 

    This should update the file association to open the DGN in MicroStation when double-clicked.

    In Windows 7/Vista, you may need to right click and select "Open With > Choose Default Program" , then select "MicroStation..." from "Recommended" applications.  Be sure to enable "Always Use the select program to open this kind of file".If you do not have the MicroStation.msi on your machine, or do not know where it's located you can go to "Add/Remove Programs" and select "uninstall > change", then start at step 2 above.If "File associations" is already installed, you should select "Entire feature will be unavailable" and then repeat the steps to add it again.

    Method #2 - Restore the File Association (Windows XP)

    This should work if the file association was altered after MicroStation was installed.  This should return the association back to what it was when it was created.

    1. Go to Windows Explorer > Tools > Folder Options > File Types Tab.
    2. Scroll down and select the DGN file extension.
    3. Click on "Restore".  This will return the file association to the original state when it was created (which is normally the same as when MicroStation was installed).

    If it is still not opening MicroStation as it should...

    1. Click "Advanced" (which used to be "Restore").
    2. Under the "Actions" section, Highlight "Open"
    3. Click "Edit".
    4. Confirm the following:
    • "Application used to perform action" field contains the appropriate path to ustation.exe.
    • If there is spaces in the path, the path is enclosed in quotes (").
    • There is "%1" (with quotes) after the path.

      If "%1" is not in the path, MicroStation will start but not open the selected file.

      Example: "C:\Program Files\Bentley\MicroStation\ustation.exe" "%1"

      Method #3 - Restore the File Association by modifying the registry (Windows 7)

      The following answer provided from the Microsoft Answers pages relates to an issue with the associations for default programs in Windows 7 (possibly just 64 bit). Try the suggested procedure of modifying the Registry using "regedit". If you are unsure about editing the Registry you should get your IT support person to investigate this. Also, please ensure you make a copy of your registry before you make any changes.

      http://social.answers.microsoft.com/Forums/en-US/w7files/thread/8a84fcec-22df-4942-8e35-d98dbe96e327

      1. Navigate to \Computer\HKEY_CLASSES_ROOT\Applications and find your .exe name, ie. MicrostationDesignFile

      2. Expand this a couple of levels to show "shell" and under that "open" and "print".

      3. Expand another level to show "command" where you will see the location of the "ustation.exe" being used as the default program.

      4. Right click on this and select Modify. Change this to the correct location for your "ustation.exe".

      ie. C:\Program Files\Bentley\Microstation (Select Series 2)\Microstation\ustation.exe "%1"

      Important note:

      The Windows operating system manages all file associations.  The only time that MicroStation can affect this is during installation.  If the two methods above did not help, it is likely that the problem is caused by either:

      A Windows policy stopping you from changing file associations in your registry.

      OR

      A potentially more serious problem with your windows profile.

      For this, you should seek help from Windows support (or your IT team if you have one), to address this issue.  Bentley Technical Support will not be able to correct this. 

      See also

      https://support.microsoft.com/en-us/help/4028161/windows-10-change-default-programs

      Other language sources

        Original Author: Dan Abney
      • MicroStation
      • file associations
      • Share
      • History
      • More
      • Cancel
      • Dan Abney Created by Bentley Colleague Dan Abney
      • When: Fri, Mar 30 2012 2:18 PM
      • Melissa Hook Last revision by Bentley Colleague Melissa Hook
      • When: Mon, Apr 25 2022 4:31 PM
      • Revisions: 26
      • 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