<?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 IFeatureSelection::SelectFeatures needs admin or special privileges? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureselection-selectfeatures-needs-admin-or/m-p/435003#M11777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;dear Readers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for taking the time to read this post. we have ported an ArcGIS 9.2 sp5 Arcobjects app to ArcGIS 10.0 sp. the app compiled successfully and as a developer of this app (to do com overwrite), i had admin priv on my machine. to do a clean install on other users machines, i had done the new esriRegASM changes to installer app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after ESRIRegASM changes, the toolbar showed up fine and is working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when the app was deployed on a non-admin user machine, tests were conducted for the same dataset used for testing as the developer machine (as admin). When the non-admin user tries the app, the following statements return a empty record set, where as on my dev machine, it returns 19 records.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
pSourceFeatureSel.SelectFeatures(pSpatialFilterParam, esriSelectionResultEnum.esriSelectionResultNew, False)

If pSourceFeatureSel.SelectionSet.Count &amp;gt; 0 Then
.... do my code processing.
End if

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;another thing to be pointed out is that the non-admin user (business user) had downloaded the data from a national database and all records probably the non-admin business users' id or credentials - which shud say that the non-admin business user should have NO problem on the dataset downloaded and being tested on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Admin dev machine = arcmap 10.0 sp4 = vb.net vs 2010, Win 7 64 bit machine OS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;non-admin business user machien = arcmap 10.0 sp5, win 7 64 bit &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ravi.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Mar 2013 15:44:35 GMT</pubDate>
    <dc:creator>Ravichandran_M_Kaushika</dc:creator>
    <dc:date>2013-03-07T15:44:35Z</dc:date>
    <item>
      <title>IFeatureSelection::SelectFeatures needs admin or special privileges?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureselection-selectfeatures-needs-admin-or/m-p/435003#M11777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;dear Readers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for taking the time to read this post. we have ported an ArcGIS 9.2 sp5 Arcobjects app to ArcGIS 10.0 sp. the app compiled successfully and as a developer of this app (to do com overwrite), i had admin priv on my machine. to do a clean install on other users machines, i had done the new esriRegASM changes to installer app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after ESRIRegASM changes, the toolbar showed up fine and is working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when the app was deployed on a non-admin user machine, tests were conducted for the same dataset used for testing as the developer machine (as admin). When the non-admin user tries the app, the following statements return a empty record set, where as on my dev machine, it returns 19 records.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
pSourceFeatureSel.SelectFeatures(pSpatialFilterParam, esriSelectionResultEnum.esriSelectionResultNew, False)

If pSourceFeatureSel.SelectionSet.Count &amp;gt; 0 Then
.... do my code processing.
End if

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;another thing to be pointed out is that the non-admin user (business user) had downloaded the data from a national database and all records probably the non-admin business users' id or credentials - which shud say that the non-admin business user should have NO problem on the dataset downloaded and being tested on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Admin dev machine = arcmap 10.0 sp4 = vb.net vs 2010, Win 7 64 bit machine OS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;non-admin business user machien = arcmap 10.0 sp5, win 7 64 bit &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ravi.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureselection-selectfeatures-needs-admin-or/m-p/435003#M11777</guid>
      <dc:creator>Ravichandran_M_Kaushika</dc:creator>
      <dc:date>2013-03-07T15:44:35Z</dc:date>
    </item>
  </channel>
</rss>

