Spatial Database Connection dialog

Discussion created by nitinbele18 on Nov 3, 2011
Latest reply on Dec 12, 2012 by icg.andres.osorio
While accessing mxd using arcobjects each time when a layer is accessed from the map document,the "Spatioal Database Connection" dialog comes up, stalling the application until cancel is pressed. I'd like to simply ignore such layers, and not ask for any authentication, but simply handle the layer in question as if its data source was missing.

Any pointers?