The Connect to Database dialog appears when DGN file opened or a DGN file is referenced that contains a (non-graphic) MicroStation startup database element.
To disable the Connect to Database dialog, set the following variable: MS_GEOXFM_DISALLOW_INFERRED_DBCONNECTION…