<?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: code hangs during changing a DataSource update for map layer from MXD file in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/code-hangs-during-changing-a-datasource-update-for/m-p/582551#M15750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After successful ArcGIS Engine Runtime re-installation (including the Java components option), I could start the MxdEditor. The tool reported that the layers in the mxd file were broken.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Holger&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Feb 2011 08:34:30 GMT</pubDate>
    <dc:creator>HolgerWilken</dc:creator>
    <dc:date>2011-02-03T08:34:30Z</dc:date>
    <item>
      <title>code hangs during changing a DataSource update for map layer from MXD file</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/code-hangs-during-changing-a-datasource-update-for/m-p/582549#M15748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some map layers stored in SDE / Oracle database, accessed via DirectConnect. The user saves the layers in an MXD file. To update the DataSource (e.g. when the SDE_USER password has changed), I use some code as described the forum thread "Change a layers data source in a mxd" (&lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=189210#943440"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=189210#943440&lt;/A&gt;&lt;SPAN&gt;), which worked for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now a user has problems with an MXD file, where the code hangs in the while-loop after the if (pFeatureLayer.DataSourceType == "SDE Feature Class") line. I have been waiting for about 10 minutes: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- no exception, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- nothing unusual in the sdedc_Oracle.log file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the mxd file size is just 26 kB,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the MXDDoctor (from c:\Programme\ArcGIS\DeveloperKit\Tools\MXDDoctor.exe) reports as diagnosis "No corrupt objects found."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the MXDEditor (&lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/ArcGISEngine/java/doc/5a6ae887-c141-4616-bab3-167ccc5c0ed3.htm"&gt;http://resources.esri.com/help/9.3/ArcGISEngine/java/doc/5a6ae887-c141-4616-bab3-167ccc5c0ed3.htm&lt;/A&gt;&lt;SPAN&gt;) did not help yet, because I could not start it, despite new Java and ArcGIS java installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We use ArcGIS Engine 9.3 and Windows XP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any ideas how to analyse (or even repair) the mxd file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Holger&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 07:55:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/code-hangs-during-changing-a-datasource-update-for/m-p/582549#M15748</guid>
      <dc:creator>HolgerWilken</dc:creator>
      <dc:date>2011-01-20T07:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: code hangs during changing a DataSource update for map layer from MXD file</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/code-hangs-during-changing-a-datasource-update-for/m-p/582550#M15749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi all,&lt;BR /&gt;I have some map layers stored in SDE / Oracle database, accessed via DirectConnect. The user saves the layers in an MXD file. To update the DataSource (e.g. when the SDE_USER password has changed), I use some code as described the forum thread "Change a layers data source in a mxd" (&lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=189210#943440"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=189210#943440&lt;/A&gt;), which worked for me.&lt;BR /&gt;&lt;BR /&gt;Now a user has problems with an MXD file, where the code hangs in the while-loop after the if (pFeatureLayer.DataSourceType == "SDE Feature Class") line. I have been waiting for about 10 minutes: &lt;BR /&gt;- no exception, &lt;BR /&gt;- nothing unusual in the sdedc_Oracle.log file&lt;BR /&gt;- the mxd file size is just 26 kB,&lt;BR /&gt;- the MXDDoctor (from c:\Programme\ArcGIS\DeveloperKit\Tools\MXDDoctor.exe) reports as diagnosis "No corrupt objects found."&lt;BR /&gt;- the MXDEditor (&lt;A href="http://resources.esri.com/help/9.3/ArcGISEngine/java/doc/5a6ae887-c141-4616-bab3-167ccc5c0ed3.htm"&gt;http://resources.esri.com/help/9.3/ArcGISEngine/java/doc/5a6ae887-c141-4616-bab3-167ccc5c0ed3.htm&lt;/A&gt;) did not help yet, because I could not start it, despite new Java and ArcGIS java installation.&lt;BR /&gt;&lt;BR /&gt;We use ArcGIS Engine 9.3 and Windows XP.&lt;BR /&gt;&lt;BR /&gt;Do you have any ideas how to analyse (or even repair) the mxd file?&lt;BR /&gt;&lt;BR /&gt;Holger&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please check somewhere mdx might stored the old password ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 09:40:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/code-hangs-during-changing-a-datasource-update-for/m-p/582550#M15749</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2011-01-20T09:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: code hangs during changing a DataSource update for map layer from MXD file</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/code-hangs-during-changing-a-datasource-update-for/m-p/582551#M15750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After successful ArcGIS Engine Runtime re-installation (including the Java components option), I could start the MxdEditor. The tool reported that the layers in the mxd file were broken.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Holger&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 08:34:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/code-hangs-during-changing-a-datasource-update-for/m-p/582551#M15750</guid>
      <dc:creator>HolgerWilken</dc:creator>
      <dc:date>2011-02-03T08:34:30Z</dc:date>
    </item>
  </channel>
</rss>

