<?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: Layer not found in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/layer-not-found/m-p/373903#M21247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thankyou very much for the quick reply. My problem is solved by passing the fully qualified Layer Name like "SDE.LayerName".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-U&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jul 2013 13:08:10 GMT</pubDate>
    <dc:creator>Udaya_BhaskerCheerala</dc:creator>
    <dc:date>2013-07-05T13:08:10Z</dc:date>
    <item>
      <title>Layer not found</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-not-found/m-p/373901#M21245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have developed a desktop application usin ArcSDE C API, which reads latitudes and longitudes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from SQLServer 2008 database and creates points in the SDE feature class. Previously it was in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE 9.1, now we migrated this application to ArcSDE 10.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works fine when ArcSDE 10.0 and SDE Geodatabase is in same machine, if I move&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDE Geodatabase to some other machine i.e. if I place ArcSDE in one machine and SDE database&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in another machine. Iam getting error "Layer not found (-20)". But connection to databse is successful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What could be the reason?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-U&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 11:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-not-found/m-p/373901#M21245</guid>
      <dc:creator>Udaya_BhaskerCheerala</dc:creator>
      <dc:date>2013-07-04T11:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Layer not found</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-not-found/m-p/373902#M21246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There's been a great deal of changes between releases 9.1 and 10.0 -- I doubt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;your application is necessary any more (you can just create a trigger to insert&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[or update] the GEOMETRY when the lat/lon values are created [or changed]).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you really want us to debug your code, you'll have to provide it (or preferably,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the smallest subset which exhibits the behavior).&amp;nbsp; You'll also need to provide&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'sdelayer -o describe_long' and 'sdetable -o describe' output for all of the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tables involved, as well as the user which is used to execute the app (if it's&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;not the owner [and it shouldn't be]).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should also experiment with Direct Connect connection syntax, to see if it &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;makes a difference (it will also save you on licensing and processing overhead &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;costs).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 13:44:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-not-found/m-p/373902#M21246</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-07-04T13:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Layer not found</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-not-found/m-p/373903#M21247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thankyou very much for the quick reply. My problem is solved by passing the fully qualified Layer Name like "SDE.LayerName".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-U&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 13:08:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-not-found/m-p/373903#M21247</guid>
      <dc:creator>Udaya_BhaskerCheerala</dc:creator>
      <dc:date>2013-07-05T13:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Layer not found</title>
      <link>https://community.esri.com/t5/data-management-questions/layer-not-found/m-p/373904#M21248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All applications should always use fully-qualified table names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The SDE user should not ever own spatial data.&amp;nbsp; That login should be reserved&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for ArcSDE instance management.&amp;nbsp; Best practice is to create one or more user &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;accounts to own the data, and at least one more for any applications which use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the data (web applications should never connect with the user that owns the data,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lest you open yourself to a denial-of-service attack which drops the tables).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 13:24:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/layer-not-found/m-p/373904#M21248</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-07-05T13:24:54Z</dc:date>
    </item>
  </channel>
</rss>

