<?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 Re: Prompted for Database Connection even when all layers are correctly sourced in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577536#M5009</link>
    <description>&lt;P&gt;Hi Chris -&lt;/P&gt;&lt;P&gt;Just wanted to let you know that I tried the python script you suggested.&amp;nbsp; &amp;nbsp;It didn't find anything broken, but we still get prompted for a database connection when opening the MXD.&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 18:53:18 GMT</pubDate>
    <dc:creator>EdwardBlair</dc:creator>
    <dc:date>2025-01-21T18:53:18Z</dc:date>
    <item>
      <title>Prompted for Database Connection even when all layers are correctly sourced</title>
      <link>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577311#M5005</link>
      <description>&lt;P&gt;We've got numerous detailed maps with feature layers that we want to "swizzle" to point to a new Geodatabase.&amp;nbsp; &amp;nbsp;This works is most cases, however there are a few cases where, even after all feature layer data sources have been changed, when opening the map we are prompted to enter a database connection.&lt;/P&gt;&lt;P&gt;In some cases, simply saving and closing the map document resolves the issue.&amp;nbsp; &amp;nbsp;But in some cases not.&lt;/P&gt;&lt;P&gt;Its as if the MXD has a broken database reference that is *not* among the map's feature layers.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be much appreciated.&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 00:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577311#M5005</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2025-01-21T00:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Prompted for Database Connection even when all layers are correctly sourced</title>
      <link>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577377#M5006</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/110901"&gt;@EdwardBlair&lt;/a&gt;&amp;nbsp;, you could try listing any broken data sources in your MXD. The code sample in the Help is relatively simple.&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/listbrokendatasources.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/listbrokendatasources.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 12:18:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577377#M5006</guid>
      <dc:creator>ChrisUnderwood</dc:creator>
      <dc:date>2025-01-21T12:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Prompted for Database Connection even when all layers are correctly sourced</title>
      <link>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577435#M5007</link>
      <description>&lt;P&gt;Hi Chris -&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;The thing is, there are no broken data sources in the MXD.&amp;nbsp; All layers are hooked up correctly to sources.&amp;nbsp; &amp;nbsp;But we still get prompted for a database connection.&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 16:11:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577435#M5007</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2025-01-21T16:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Prompted for Database Connection even when all layers are correctly sourced</title>
      <link>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577442#M5008</link>
      <description>&lt;P&gt;I have seen in the past where ArcMap (especially earlier versions) will NOT let go of previous data connections.&amp;nbsp; Even Defrag and Mxd Doctor will not 'fix' the issue.&lt;/P&gt;&lt;P&gt;The only 'fix' for this I've seen in the past is to copy ALL the layers in the Data Frame and paste into a new Dataframe in a new ArcMap document.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 16:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577442#M5008</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2025-01-21T16:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Prompted for Database Connection even when all layers are correctly sourced</title>
      <link>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577536#M5009</link>
      <description>&lt;P&gt;Hi Chris -&lt;/P&gt;&lt;P&gt;Just wanted to let you know that I tried the python script you suggested.&amp;nbsp; &amp;nbsp;It didn't find anything broken, but we still get prompted for a database connection when opening the MXD.&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 18:53:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577536#M5009</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2025-01-21T18:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Prompted for Database Connection even when all layers are correctly sourced</title>
      <link>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577538#M5010</link>
      <description>&lt;P&gt;Rhett -&lt;/P&gt;&lt;P&gt;Thanks for the insights.&amp;nbsp; &amp;nbsp; Out of curiosity I tried both MXD Doctor and the Defragmenter and, as you suspected, neither of these identified or fixed the problem.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 18:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577538#M5010</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2025-01-21T18:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Prompted for Database Connection even when all layers are correctly sourced</title>
      <link>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577638#M5011</link>
      <description>&lt;P&gt;Can you try a Save A Copy on the file before updating the database connections?&amp;nbsp; If you compare the file sizes of the mxds, it usually is much less in the copy as this operation appears to clean out items from the mxd that are not being used.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 22:39:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577638#M5011</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2025-01-21T22:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Prompted for Database Connection even when all layers are correctly sourced</title>
      <link>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577662#M5012</link>
      <description>&lt;P&gt;Michael -&lt;/P&gt;&lt;P&gt;Thanks for your suggestion to use "Save A Copy".&amp;nbsp; &amp;nbsp;I tried this and it worked for one of my MXDs (though not all).&lt;/P&gt;&lt;P&gt;So... many thanks!&lt;/P&gt;&lt;P&gt;But (and I don't mean to look a gift horse in the mouth) is there a way know what "wasn't being used"?&amp;nbsp; &amp;nbsp; These MXDs are complex animals.&amp;nbsp; &amp;nbsp;With joins, relates, definition queries, excluded features, etc. etc.&amp;nbsp; Is there a way for me to know what got left behind?&lt;/P&gt;&lt;P&gt;BTW - I found that an MXD *not* resolved by your suggestion was one that had a definition query based on a join - and the join was not updated.&amp;nbsp; &amp;nbsp;And now I at least know to account for that case.&lt;/P&gt;&lt;P&gt;Thanks again for you suggestion.&amp;nbsp; &amp;nbsp;Much appreciated.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 00:12:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/prompted-for-database-connection-even-when-all/m-p/1577662#M5012</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2025-01-22T00:12:39Z</dc:date>
    </item>
  </channel>
</rss>

