<?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: 10.1 server geoprocessing tools 64 bit fails if dependent on 32 bit dll? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233322#M6069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe the problem is that the system cannot find log4net?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Download the latest log4net, build against it, install it in the GAC and retry.&amp;nbsp; I suspect that that will work just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it works then you can remove it from the GAC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2012 13:21:01 GMT</pubDate>
    <dc:creator>RichardWatson</dc:creator>
    <dc:date>2012-08-31T13:21:01Z</dc:date>
    <item>
      <title>10.1 server geoprocessing tools 64 bit fails if dependent on 32 bit dll?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233319#M6066</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;as ArcGIS for Server 10.1 is now completely 64 bit, I think some older custom geoprocessing services developed with C# may not work by simply re-compiling them for 10.1. When a DLL is compiled to 64 bit, I can run the gp tool in ArcCatalog and publish it to the server (this is in a32 bit environment). But when the DLL is dependent on a 32 bit DLL like LOG4NET, the tool run will fail on AGS with "tool not valid" on the first time a statement of the dependent 32 bit DLL is being executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards, Stefan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 06:13:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233319#M6066</guid>
      <dc:creator>StefanOffermann</dc:creator>
      <dc:date>2012-08-31T06:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: 10.1 server geoprocessing tools 64 bit fails if dependent on 32 bit dll?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233320#M6067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is log4net 32 bit only?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the one I am using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Windows\assembly\GAC_MSIL\log4net\1.2.11.0__669e0ddf0bb1aa2a&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that it is in GAC_MSIL which I believe indicates that it can execute in either 32 bit or 64 bit host processes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 10:57:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233320#M6067</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2012-08-31T10:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: 10.1 server geoprocessing tools 64 bit fails if dependent on 32 bit dll?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233321#M6068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is log4net 32 bit only?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems so, because removing all references to log4net makes the tool work again under 10.1 server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is the one I am using:&lt;BR /&gt;&lt;BR /&gt;C:\Windows\assembly\GAC_MSIL\log4net\1.2.11.0__669e0ddf0bb1aa2a&lt;BR /&gt;&lt;BR /&gt;Note that it is in GAC_MSIL which I believe indicates that it can execute in either 32 bit or 64 bit host processes.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to not use global assembly cache for any dependencies, because registering them needs administrator rights (this may be an anti-pattern?). I always try to avoid GAC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another strange behaviour: The working gp tool works fine when called from a toolbox in ArcCatalog. But a published gp service does not honor the given parameter values. Instead, the result is always the default result from the time when the service was published... is it a bug in 10.1 without service pack?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards, Stefan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 11:34:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233321#M6068</guid>
      <dc:creator>StefanOffermann</dc:creator>
      <dc:date>2012-08-31T11:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: 10.1 server geoprocessing tools 64 bit fails if dependent on 32 bit dll?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233322#M6069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe the problem is that the system cannot find log4net?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Download the latest log4net, build against it, install it in the GAC and retry.&amp;nbsp; I suspect that that will work just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it works then you can remove it from the GAC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 13:21:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233322#M6069</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2012-08-31T13:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: 10.1 server geoprocessing tools 64 bit fails if dependent on 32 bit dll?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233323#M6070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, registering in GAC solved the problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 06:55:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-1-server-geoprocessing-tools-64-bit-fails-if/m-p/233323#M6070</guid>
      <dc:creator>StefanOffermann</dc:creator>
      <dc:date>2012-09-04T06:55:38Z</dc:date>
    </item>
  </channel>
</rss>

