<?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: Exception after stand alone application was closed in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453987#M12334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, there is no doubt, that we use standart wizard to add License checking to the VS project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition (as a support recommends) we added - RuntimeManager.Bind(product code); - as a first line in method Main(). In this case - we do our best. (?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 14:51:49 GMT</pubDate>
    <dc:creator>MarkMindlin</dc:creator>
    <dc:date>2012-03-20T14:51:49Z</dc:date>
    <item>
      <title>Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453981#M12328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We've created simple stand alone windows application, that have only one code string:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Geoprocessor pGeoP = new Geoprocessor();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After application was closed we get exception message (see the attachment)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All answer will be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2012 15:13:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453981#M12328</guid>
      <dc:creator>MarkMindlin</dc:creator>
      <dc:date>2012-03-18T15:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453982#M12329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried releasing the object explicitly either with ComReleaser or MarshalComRelease?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 15:39:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453982#M12329</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-03-19T15:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453983#M12330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ComReleaser did not help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean Marshal.ReleaseComObject(pGeoP)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, this gets exception "The object's type must be&amp;nbsp; __ComObject ..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should stress that we use ArcInfo 10 SP2. But in 9.3.1 it was working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 04:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453983#M12330</guid>
      <dc:creator>MarkMindlin</dc:creator>
      <dc:date>2012-03-20T04:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453984#M12331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One more thing - we use .Net Framework 3.5.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 06:48:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453984#M12331</guid>
      <dc:creator>MarkMindlin</dc:creator>
      <dc:date>2012-03-20T06:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453985#M12332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I got confused with GeoprocessorClass which is a com class, Geoprocessor is a .net class.&amp;nbsp; The first is part of ESRI.ArcGIS.Geoprocessing, the latter is part of ESRI.ArcGIS.Geoprocessor.&amp;nbsp; Running SP3 with framework 3.5,&amp;nbsp; I didn't get an error just creating an instance of the class and letting it go out of scope...&amp;nbsp; I haven't used the Geoprocessor class since 9.2.&amp;nbsp; Could be a bug at 10 SP2.&amp;nbsp; I always use the GeoprocessorClass, the example seem written for this class (I believe it was new to 9.3.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 11:58:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453985#M12332</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-03-20T11:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453986#M12333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;We've created simple stand alone windows application, that have only one code string:&lt;BR /&gt;&lt;BR /&gt;Geoprocessor pGeoP = new Geoprocessor();&lt;BR /&gt;&lt;BR /&gt;After application was closed we get exception message (see the attachment)&lt;BR /&gt;&lt;BR /&gt;All answer will be appreciated.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you doing license initialization? I have that line of code in an ArcEngine program running under version 10, service pack 3 without incident but I have an actual ArcEngine program that binds the license and ensures the runtime is available.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:40:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453986#M12333</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2012-03-20T14:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453987#M12334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, there is no doubt, that we use standart wizard to add License checking to the VS project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition (as a support recommends) we added - RuntimeManager.Bind(product code); - as a first line in method Main(). In this case - we do our best. (?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:51:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453987#M12334</guid>
      <dc:creator>MarkMindlin</dc:creator>
      <dc:date>2012-03-20T14:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453988#M12335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lack of binding or license checkout would give you a different error.&amp;nbsp; Do you have old versions of python hanging around?&amp;nbsp; I had some problems with that and using the geoprocessing tools in the desktop interface.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:55:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453988#M12335</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-03-20T14:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453989#M12336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, there is no doubt, that we use standart wizard to add License checking to the VS project. &lt;BR /&gt;In addition (as a support recommends) we added - RuntimeManager.Bind(product code); - as a first line in method Main(). In this case - we do our best. (?)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, that is clearly more than one code string. Have you tried the application on a machine with a clean install?&amp;nbsp; Have you tried moving to service pack 3?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453989#M12336</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2012-03-20T15:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453990#M12337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you mean "clean install"? How can I do "clean install" on the users' desktop? It is not about 1-2 users &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, SP3 will be for our office only by summer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 16:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453990#M12337</guid>
      <dc:creator>MarkMindlin</dc:creator>
      <dc:date>2012-03-20T16:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exception after stand alone application was closed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453991#M12338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just because you have many users doesn't mean you can't take one test workstation and do some tests such as clean install or install SP3.&amp;nbsp; Once you narrow down the problem or get a fix, you can think of deploying more widely.&amp;nbsp; I doubt you have deployed a solution which declares one variable and instantiates it and does nothing else on all your users' workstations.&amp;nbsp; If this sort of suggestion doesn't help, you should consider going to esri support for a definitive answer, this is just the forum, we are users too.&amp;nbsp; But if it works at SP3 or SP4 or even 10.1, chances are they will tell you to go to that version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 16:24:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/exception-after-stand-alone-application-was-closed/m-p/453991#M12338</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-03-20T16:24:00Z</dc:date>
    </item>
  </channel>
</rss>

