I have a mxd that has a connection to a retired server that I would like to remove. Also, it is using database authentication which is no longer standard. But I am having a hard time locating it. I checked each layer's authentication mode with in the mxd with a script. Each layer reported OSA. Then I removed all layers from the mxd and I am still prompted for database credentials. Only when I remove all the data frames and create a new one does the prompt go away.