<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why could .mxd with no layers store SDE database connections?  in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412176#M15982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an .mxd with one dataframe that used to contained layers with data source being Oracle 11g, 10.3 Geodatabase. Database credentials were not stored in those layers/.sde connections. As expected the user was prompted to enter credentials upon opening the mxd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I remove all the layers, and the user is still prompted for credentials upon opening the .mxd file. &lt;SPAN style="text-decoration: underline;"&gt;This is unexpected behavior&lt;/SPAN&gt; and I need to understand why this is happening (have many such .mxd files and it's a huge problem when the .mxd's actually do store passwords.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stripped everything I can find from the .mxd (toolbars, layout elements, etc.). Also have run .mxd Doctor and Defrangementer. The only way to avoid the prompt for credentials is to remove the dataframe. The .mxd was created in ArcMap 10.1, using ArcMap 10.3 instead seems to make no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues are greatly appreciated. Thanks, Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2015 18:29:44 GMT</pubDate>
    <dc:creator>TobiasFimpel1</dc:creator>
    <dc:date>2015-09-30T18:29:44Z</dc:date>
    <item>
      <title>Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412176#M15982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an .mxd with one dataframe that used to contained layers with data source being Oracle 11g, 10.3 Geodatabase. Database credentials were not stored in those layers/.sde connections. As expected the user was prompted to enter credentials upon opening the mxd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I remove all the layers, and the user is still prompted for credentials upon opening the .mxd file. &lt;SPAN style="text-decoration: underline;"&gt;This is unexpected behavior&lt;/SPAN&gt; and I need to understand why this is happening (have many such .mxd files and it's a huge problem when the .mxd's actually do store passwords.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stripped everything I can find from the .mxd (toolbars, layout elements, etc.). Also have run .mxd Doctor and Defrangementer. The only way to avoid the prompt for credentials is to remove the dataframe. The .mxd was created in ArcMap 10.1, using ArcMap 10.3 instead seems to make no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues are greatly appreciated. Thanks, Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 18:29:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412176#M15982</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-09-30T18:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412177#M15983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you reproduce the same behavior if you use a new blank MXD from 10.3?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:00:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412177#M15983</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-10-02T20:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412178#M15984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try doing a SaveAs to a new filename to see if the SDE connection information is then removed from the newly saved mxd?&amp;nbsp; If this works you can write a python script to automate this process by walking through the directories that contain your problematic mxds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412178#M15984</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2015-10-02T20:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412179#M15985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could there be a SDE table remaining in the map?&amp;nbsp; Change your Table of Contents to List By Source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if that doesn't work check out the data sources in the MXD through ArcCatalog's "Set Data Sources" thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 20:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412179#M15985</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2015-10-02T20:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412180#M15986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Katie.&lt;/P&gt;&lt;P&gt;No, this does not occur with new, blank MXD's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 20:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412180#M15986</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-10-05T20:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412181#M15987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;The issue persists even after I do "File"--&amp;gt; "Save As..." .&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 20:48:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412181#M15987</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-10-05T20:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412182#M15988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Randy,&lt;/P&gt;&lt;P&gt;No, there is not layer or table in the Table of Contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With ArcCatalog --&amp;gt; Set Data Sources I get the same information: no layers or tables in the mxd.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/129735_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 20:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412182#M15988</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-10-05T20:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412183#M15989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tobias - &lt;/P&gt;&lt;P&gt;How were the layers removed from the map document? Manually in the TOC or did you at one time use a tool such as set data source(s). ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 16:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412183#M15989</guid>
      <dc:creator>MelissaJarman</dc:creator>
      <dc:date>2015-10-15T16:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412184#M15990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Melissa,&lt;/P&gt;&lt;P&gt;At one time I used &lt;A href="http://resources.arcgis.com/EN/HELP/MAIN/10.1/index.html#/Layer/00s300000008000000/"&gt;arcpy.mapping&lt;/A&gt; &lt;SPAN style="color: #4d4d4d; font-family: Arial, Helvetica, sans-serif; font-size: 12.16px;"&gt;replaceDataSource (workspace_path, workspace_type, {dataset_name}, {validate}) .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 17:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412184#M15990</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-10-15T17:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412185#M15991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is that sde connection information is stored within the map document. Even if you were to remove all of the layers the information is persisted so that data can be quickly added from that workspace in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I logged an enhancement for this issue in 2014. If you have a support account with Esri you can call technical support and we can get you attached to &lt;STRONG&gt;NIM092675 : Allow users to programmatically suppress or remove the sde login prompt from map documents that no longer reference data to a particular sde instance.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your original sde workspace still exists, do you still get the prompt after supplying the credentials on the original map, changing all of the datasources to your new workspace, and then saving the map? According to my notes, the MXD Doctor was able to remove the prompt for me when I leverage it to create a new map document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 17:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412185#M15991</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-10-15T17:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412186#M15992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like Freddie said there are some defects that are logged regarding this behavior. In order to be associated with one you will need a reproducible workflow to present to support starting with a new map document. Keep us posted if you submit a support case!&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/en/" title="http://support.esri.com/en/"&gt;Esri Support&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 11:26:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412186#M15992</guid>
      <dc:creator>MelissaJarman</dc:creator>
      <dc:date>2015-10-16T11:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412187#M15993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Freddie and Melissa, thank you very much for pointing me in the right direction. Esri support attached me to NIM092675.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will test, but I don't fully understand the question. By &lt;EM&gt;original&lt;/EM&gt;, do you mean the workspace as the .mxd accessed it prior to me running arcpy.mapping.replaceDataSource ? Or does it not matter whether I change layer data sources via Python, ArcCatalog, or ArcMap? The strange thing is that some of the .mxd's that I have processed with arcpy.mapping.replaceDataSource show that issue, and some don't - I haven't figured out differentiating factor(s) that matter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 17:56:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412187#M15993</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-10-16T17:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412188#M15994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Freddie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a similar case with the SDE Account becoming locked when an MXD is opened with a reference to the old connection details.&amp;nbsp; Has anyone logged a defect for allowing users to programmatically suppress the automatic connection to external data sources in ArcMap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;ESRI Customer #332947 - Esri Case #01702901&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;IMG alt="map-error.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/140819_map-error.png" style="width: 620px; height: 287px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 19:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412188#M15994</guid>
      <dc:creator>KDeVogelaere</dc:creator>
      <dc:date>2015-11-09T19:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412189#M15995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if the bug I logged would be applicable for this. I've also never seen this error. Do you have access to Esri Support so that you can have a case logged for this to determine if we can replicate this in-house?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 16:26:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412189#M15995</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-11-10T16:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412190#M15996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Freddie for the response, a little background, s&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;tricter security standards have been put in place for Oracle passwords (expiry after 365-days and account lockout after 3-failed login attempts). Security prevents us from reusing old passwords, so opening any maps that have Oracle details saved before the password change will immediately lock the account. H&lt;/SPAN&gt;ere is the ESRI support case #&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;01702901.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;A few solutions shared by an ESRI staff member can fix the issue outside of ArcMap, I'm wondering if an ArcMap solution would be possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="https://community.esri.com/migration-blogpost/55271"&gt;Fixing ArcMap Oracle DBMS Connections [ORD-28000: the account is locked No extended error.]&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 17:18:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412190#M15996</guid>
      <dc:creator>KDeVogelaere</dc:creator>
      <dc:date>2015-11-10T17:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412191#M15997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/44171"&gt;K DeVogelaere&lt;/A&gt;​, note that the method you are linking to describes how to change the datasources for existing map layers and tables. Like I state in the discussion title I am coming across many .mxd files that also store the datasource incl. the username and expired password "somewhere else". (I just don't have a better word for it, but wherever it is stored it seems impossible to remove it) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 17:50:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412191#M15997</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-11-10T17:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412192#M15998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/14792"&gt;Freddie Gibson&lt;/A&gt;​, MXD Doctor seems to not work in my cases. In the oracle audit table I can still see that immediately after my map layers successfully connect to the database using the new datasource there is one connection attempt sent to the database using the old datasource. The .mxd's layer datasources were changed using "ArcCatalog --&amp;gt; Set Data Source(s)...". The resulting map document was run through the MXD Doctor&amp;nbsp; . Do you have any other suggestions? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 17:58:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412192#M15998</guid>
      <dc:creator>TobiasFimpel1</dc:creator>
      <dc:date>2015-11-16T17:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412193#M15999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are experiencing the same problem with a map document holding on to a reference to an SDE database.&lt;/P&gt;&lt;P&gt;We found that the reference was hiding somewhere in the data frame (not visibly though). We found the only way to work around it was the following: Create a new data frame, copy all the data from the old data frame into the new data frame, delete the old data frame, rename the new data frame to the name of the old one. Then problem went away. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone had any official word from Esri on this front? Anyone has a NIM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Alison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 20:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412193#M15999</guid>
      <dc:creator>AlisonGaiser1</dc:creator>
      <dc:date>2016-05-04T20:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why could .mxd with no layers store SDE database connections?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412194#M16000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;noted the&amp;nbsp;described behaviors since ArcGIS 10.0&amp;nbsp;at least with SDE/Oracle.&amp;nbsp;A fine workaround to this most inconvenient feature I applied successfully over the years:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;enable local firewall rule&amp;nbsp;blocking tcp/1521@db-host for ArcMap.exe only&lt;/LI&gt;&lt;LI&gt;open MXD with enabled rule breaking up all layers pointing to that specific host&lt;/LI&gt;&lt;LI&gt;repair all layers using a connection file targeting the new database/host&lt;/LI&gt;&lt;LI&gt;save&amp;nbsp;MXD&amp;nbsp;File/Save as... with a new filename.&lt;/LI&gt;&lt;LI&gt;disable&amp;nbsp;firewall rule&lt;/LI&gt;&lt;LI&gt;observe the size of the file before/after. An MXD with one data frame only and no layers&amp;nbsp;is smaller than 1MB. There were some older MXD with all layers deleted showing the phenomena grown up to 15MB.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 13:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/why-could-mxd-with-no-layers-store-sde-database/m-p/412194#M16000</guid>
      <dc:creator>AndréVinko</dc:creator>
      <dc:date>2019-10-08T13:37:52Z</dc:date>
    </item>
  </channel>
</rss>

