<?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 ESRIRegAsm Failure in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503947#M13529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing a plug-in for ArcMap and ArcCatalog that will allow me to import my own propriatary data format. I can get it to register via ESRIRegAsm in debug mode on my development machine. However... When I register the release mode, it says it registers successfully but when I launch ArcMap or ArcCatalog my plug-in dll is never loaded. Again the debug worked fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On my release machine I am trying to register the debug mode and it is failing with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRIRegAsm::Register&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Command line: /p:desktop C:\VFCompiler\ArcPlugin\Debug\AOPlugInHDF.dll /e&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ERROR: LoadLibrary failed with specified path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Operation Failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;002DF368&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Press Enter to continue...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try registering the release version and it acts like my development machine where it succeeds but fails to load the plug-in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone has any ideas that could help me that would be much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C. McCabe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2011 15:10:20 GMT</pubDate>
    <dc:creator>ChristopherMcCabe</dc:creator>
    <dc:date>2011-04-06T15:10:20Z</dc:date>
    <item>
      <title>ESRIRegAsm Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503947#M13529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing a plug-in for ArcMap and ArcCatalog that will allow me to import my own propriatary data format. I can get it to register via ESRIRegAsm in debug mode on my development machine. However... When I register the release mode, it says it registers successfully but when I launch ArcMap or ArcCatalog my plug-in dll is never loaded. Again the debug worked fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On my release machine I am trying to register the debug mode and it is failing with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRIRegAsm::Register&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Command line: /p:desktop C:\VFCompiler\ArcPlugin\Debug\AOPlugInHDF.dll /e&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ERROR: LoadLibrary failed with specified path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Operation Failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;002DF368&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Press Enter to continue...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try registering the release version and it acts like my development machine where it succeeds but fails to load the plug-in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone has any ideas that could help me that would be much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C. McCabe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 15:10:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503947#M13529</guid>
      <dc:creator>ChristopherMcCabe</dc:creator>
      <dc:date>2011-04-06T15:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: ESRIRegAsm Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503948#M13530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Suggest that you investigate whether or not your DLL has any dependencies which are not met.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is .NET then use fuslogvw or Reflector.&amp;nbsp; If it is pure COM then use the Depends utility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Release machines, i.e. machines which do not have Visual Studio installed, usually do not have debug versions of the various libraries installed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 17:23:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503948#M13530</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-04-06T17:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: ESRIRegAsm Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503949#M13531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am pretty sure I have all the dependencies there since in release mode it is registering. Usually it won't register if it is missing dependencies. It is also creating the .ecfg file in release mode on the release machine. But again it won't load the plugin's dll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To test I did run depends and I have all the dependant dll's present.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 18:11:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503949#M13531</guid>
      <dc:creator>ChristopherMcCabe</dc:creator>
      <dc:date>2011-04-06T18:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: ESRIRegAsm Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503950#M13532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the XML inside the ecfg that you generated?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rename the ecfg file to zip, unzip it, and then look at the XML.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 18:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503950#M13532</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-04-06T18:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: ESRIRegAsm Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503951#M13533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the XML: The CLSID matches the WorkspaceFactory uuid&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ESRI.Configuration ver="1"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Categories&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Category CATID="{07BC056E-DB8A-11D1-AA81-00C04FA33A15}"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Class CLSID="{8f8933fd-a684-4d2e-a30c-6dd2477d519a}"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/Category&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Category CATID="{6E208C99-DBD3-11D2-9F2F-00C04F6BC69E}"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Class CLSID="{8f8933fd-a684-4d2e-a30c-6dd2477d519a}"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/Category&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Category CATID="{7BF26B1F-C776-11D2-9F24-00C04F6BC69E}"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Class CLSID="{8f8933fd-a684-4d2e-a30c-6dd2477d519a}"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/Category&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Categories&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ESRI.Configuration&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 18:36:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503951#M13533</guid>
      <dc:creator>ChristopherMcCabe</dc:creator>
      <dc:date>2011-04-06T18:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: ESRIRegAsm Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503952#M13534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post the contents of HKCR\CLSID\{8f8933fd-a684-4d2e-a30c-6dd2477d519a} and all child keys?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What the software should do is to CoCreate this CLSID using the information in the registry.&amp;nbsp; If your assembly has no missing references then the only other thing that I can think of is that something about the registration is incorrect.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 13:49:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503952#M13534</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-04-07T13:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: ESRIRegAsm Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503953#M13535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the content of the HKCR:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;HKCR
{
 AOPlugInHDF.HDFWorkspaceFactory.1 = s 'HDFWorkspaceFactory Class'
 {
&amp;nbsp; CLSID = s '{8f8933fd-a684-4d2e-a30c-6dd2477d519a}'
 }
 AOPlugInHDF.HDFWorkspaceFactory = s 'HDFWorkspaceFactory Class'
 {
&amp;nbsp; CLSID = s '{8f8933fd-a684-4d2e-a30c-6dd2477d519a}'
&amp;nbsp; CurVer = s 'AOPlugInHDF.HDFWorkspaceFactory.1'
 }
 NoRemove CLSID
 {
&amp;nbsp; ForceRemove {8f8933fd-a684-4d2e-a30c-6dd2477d519a} = s 'HDFWorkspaceFactory Class'
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; ProgID = s 'AOPlugInHDF.HDFWorkspaceFactory.1'
&amp;nbsp;&amp;nbsp; VersionIndependentProgID = s 'AOPlugInHDF.HDFWorkspaceFactory'
&amp;nbsp;&amp;nbsp; InprocServer32 = s '%MODULE%'
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; val ThreadingModel = s 'Apartment'
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; val AppID = s '%APPID%'
&amp;nbsp;&amp;nbsp; 'TypeLib' = s '{d7dc61de-310a-458a-8cf2-675f4eb62cf9}'
&amp;nbsp; }
 }
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:06:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503953#M13535</guid>
      <dc:creator>ChristopherMcCabe</dc:creator>
      <dc:date>2021-12-11T22:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: ESRIRegAsm Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503954#M13536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the actual content in the registry?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, I am wondering if your %MODULE% has the full path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing that you might do is to see if you can write a simple program which creates an instance of your class using pure COM, e.g. CreateObject("AOPlugInHDF.HDFWorkspaceFactory").&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 15:36:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503954#M13536</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-04-07T15:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: ESRIRegAsm Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503955#M13537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Added screenshot attachment of registry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 16:16:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503955#M13537</guid>
      <dc:creator>ChristopherMcCabe</dc:creator>
      <dc:date>2011-04-07T16:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: ESRIRegAsm Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503956#M13538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever find a solution to this? I am having the same error. I want to register class extensions with ArcGIS Server. They are working fine with ArcMap on the same machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 21:30:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-failure/m-p/503956#M13538</guid>
      <dc:creator>DrewDowling</dc:creator>
      <dc:date>2016-07-07T21:30:12Z</dc:date>
    </item>
  </channel>
</rss>

