I keep getting pop up message saying "Connect to database" even though there is no database connected to it.
I tried all the options like disconnect , detach database linkage etc. nothing works. Please help. Thanks
There's a Wiki for that:https://communities.bentley.com/products/geospatial/desktop/w/geospatial_desktop__wiki/47359/--disable-connect-to-database-dialog
Set this variable, exit, and reinitialize:MS_GEOXFM_DISALLOW_INFERRED_DBCONNECTION = 1
Let us know if that works.
Thank you Dan Weston. It worked. Nice.
My follow up question is, when there are no linkages or connection to database is established , why this message pops up?
In future if I have to connect to a database, looks like I need to set this value to none again? Thank you.
I'm not sure why the dialog is displayed when there are no linkages. It could be that the database server is turned on in a Seed file that each new file is created with? or it could be that the Development team left the database server on by default in the Map executable? I will ask and see if I can find the answer.
Some MicroStation database key-ins include: db=?, db=" " (space), "db=username/password@server". See the MicroStation Help file for complete details.
Interacting with spatial databases is best accomplished using the Geospatial Database Interoperability, or GDI key-ins. The Map Help file has the complete list.
You will have to disable or delete the variable if you connect to a database in the future.
Maybe the DGN file contains a (non-graphic) database element. In the past, in this DGN file a connection to a database has been made.You can check this element in the Verify Linkages dialog (Drawing > Attach > Database > Verify ..) with Check For Database Element tool, see screenshot.You can delete the database element by connecting to a database and then doing the key in (db= ). Make sure you include a space after the equals. Next do a Save Settings. The database element will be removed from the file.