<?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 Problem with AppROT in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-approt/m-p/24965#M638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I???ve a problem with the AppROT class under ArcGIS 9.4. When I create a new instance of AppROT I get a error like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;COMException: CLSID {FABC30FB-D273-11D2-9F36-00C04F6BC61A} can not call: 80010111 (-2147221231)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the AppROT-Object to connect to 9.4, but it doesn???t works. I didn???t use the AppROT inside an ArcMap-Extension. In my ArcMap-Extension I can create new instances of the AppROT but not outside off an ArcMap 9.4-Instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want use it outside of my ArcMap Instance to connect the instance. I didn???t need it inside because I known my ArcMap Instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All works fine with ArcGIS 9.2 and 9.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What???s the mind of AppROT when I can???t use it outside of an ArcMap-Instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code that throws the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pAppROT As New ESRI.ArcGIS.Framework.AppROT&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sascha Fricke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2009 09:45:53 GMT</pubDate>
    <dc:creator>SaschaFricke</dc:creator>
    <dc:date>2009-11-26T09:45:53Z</dc:date>
    <item>
      <title>Problem with AppROT</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-approt/m-p/24965#M638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I???ve a problem with the AppROT class under ArcGIS 9.4. When I create a new instance of AppROT I get a error like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;COMException: CLSID {FABC30FB-D273-11D2-9F36-00C04F6BC61A} can not call: 80010111 (-2147221231)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the AppROT-Object to connect to 9.4, but it doesn???t works. I didn???t use the AppROT inside an ArcMap-Extension. In my ArcMap-Extension I can create new instances of the AppROT but not outside off an ArcMap 9.4-Instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want use it outside of my ArcMap Instance to connect the instance. I didn???t need it inside because I known my ArcMap Instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All works fine with ArcGIS 9.2 and 9.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What???s the mind of AppROT when I can???t use it outside of an ArcMap-Instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code that throws the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pAppROT As New ESRI.ArcGIS.Framework.AppROT&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sascha Fricke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 09:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-approt/m-p/24965#M638</guid>
      <dc:creator>SaschaFricke</dc:creator>
      <dc:date>2009-11-26T09:45:53Z</dc:date>
    </item>
    <item>
      <title>Problem with AppROT</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-approt/m-p/24966#M639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sascha,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you might be running into the same problem that &lt;/SPAN&gt;&lt;A href="http://forumsbeta.esri.com/showthread.php?t=781"&gt;Griek was&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure that you make a call to ESRI.ArcGIS.VersionManager.LoadVersion method and setting the product code to "Desktop". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;ESRI.ArcGIS.VersionManager.LoadVersion(ESRI.ArcGIS.ProductCode.Desktop, "9.4")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to do this before you make any calls to ArcObjects in a standalone application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this fixes your problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2009 22:05:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-approt/m-p/24966#M639</guid>
      <dc:creator>RalfGottschalk</dc:creator>
      <dc:date>2009-12-18T22:05:52Z</dc:date>
    </item>
    <item>
      <title>Problem with AppROT</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-approt/m-p/24967#M640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi gottralf,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for reply. It works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sascha Fricke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 06:39:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-approt/m-p/24967#M640</guid>
      <dc:creator>SaschaFricke</dc:creator>
      <dc:date>2010-01-04T06:39:29Z</dc:date>
    </item>
  </channel>
</rss>

