<?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 ArcGIS Engine (Geoprocessor.dll) referencing ESRI.ArcGIS.Server.dll in 10.2? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-geoprocessor-dll-referencing-esri/m-p/166781#M4330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application originally built with ArcGIS Engine 9.3, and having been working fine with 9.3 all the way through 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In one of the process the code uses ESRI.ArcGIS.Geoprocessor to rebuild an address locator.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After I compiled it with ArcGIS Engine 10.2, I started to get this error on a client machine when the code tries to rebuild the address locator:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System.IO.FileNotFoundException: Could not load file or assembly 'ESRI.ArcGIS.Server, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;File name: 'ESRI.ArcGIS.Server, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Geoprocessor.Geoprocessor.Execute(IGPProcess process, ITrackCancel trackCancel)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at CC.CAD.GISBusinessLogic.ArcGISEngine.RefreshGeocodingIndexes(ILocator pLocator) in C:\Projects\ccGisValidation\v2.9\Source\ccGisValidation\GISBusinessLogic\ArcGISEngine.cs:line 3687&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assembly manager loaded from:&amp;nbsp; c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running under executable&amp;nbsp; C:\Program Files\Cross Current Corporation\ccGisValidation\v2.9\App\Bin\CC.CAD.GISServiceHost.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--- A detailed error log follows. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;=== Pre-bind state information ===&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: User = NT AUTHORITY\SYSTEM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: DisplayName = ESRI.ArcGIS.Server, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (Fully-specified)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Appbase = file:///C:/Program Files/...some folder.../...some other folder.../v2.9/App/Bin/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Initial PrivatePath = NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Calling assembly : ESRI.ArcGIS.Geoprocessor, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't get this error on my dev machine because I have ArcGIS Server installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course I could easily add that dll as a reference in my code but I don't want to. I want to know why would an ArcGIS Engine component look for an ArcGIS Server dll?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This application was designed to run on Windows (XP-7), with Microsoft .Net 3.5, and was built in Visual Studio 2008.&amp;nbsp;&amp;nbsp; It was originally built with ArcGIS Engine 9.3 and this part of the code has never been changed through ArcGIS 9.3, 9.3.1, 10.0, and 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Oct 2013 15:34:19 GMT</pubDate>
    <dc:creator>DingmouLi</dc:creator>
    <dc:date>2013-10-02T15:34:19Z</dc:date>
    <item>
      <title>ArcGIS Engine (Geoprocessor.dll) referencing ESRI.ArcGIS.Server.dll in 10.2?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-geoprocessor-dll-referencing-esri/m-p/166781#M4330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application originally built with ArcGIS Engine 9.3, and having been working fine with 9.3 all the way through 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In one of the process the code uses ESRI.ArcGIS.Geoprocessor to rebuild an address locator.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After I compiled it with ArcGIS Engine 10.2, I started to get this error on a client machine when the code tries to rebuild the address locator:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System.IO.FileNotFoundException: Could not load file or assembly 'ESRI.ArcGIS.Server, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;File name: 'ESRI.ArcGIS.Server, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Geoprocessor.Geoprocessor.Execute(IGPProcess process, ITrackCancel trackCancel)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at CC.CAD.GISBusinessLogic.ArcGISEngine.RefreshGeocodingIndexes(ILocator pLocator) in C:\Projects\ccGisValidation\v2.9\Source\ccGisValidation\GISBusinessLogic\ArcGISEngine.cs:line 3687&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assembly manager loaded from:&amp;nbsp; c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running under executable&amp;nbsp; C:\Program Files\Cross Current Corporation\ccGisValidation\v2.9\App\Bin\CC.CAD.GISServiceHost.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--- A detailed error log follows. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;=== Pre-bind state information ===&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: User = NT AUTHORITY\SYSTEM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: DisplayName = ESRI.ArcGIS.Server, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (Fully-specified)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Appbase = file:///C:/Program Files/...some folder.../...some other folder.../v2.9/App/Bin/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOG: Initial PrivatePath = NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Calling assembly : ESRI.ArcGIS.Geoprocessor, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't get this error on my dev machine because I have ArcGIS Server installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course I could easily add that dll as a reference in my code but I don't want to. I want to know why would an ArcGIS Engine component look for an ArcGIS Server dll?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This application was designed to run on Windows (XP-7), with Microsoft .Net 3.5, and was built in Visual Studio 2008.&amp;nbsp;&amp;nbsp; It was originally built with ArcGIS Engine 9.3 and this part of the code has never been changed through ArcGIS 9.3, 9.3.1, 10.0, and 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 15:34:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-geoprocessor-dll-referencing-esri/m-p/166781#M4330</guid>
      <dc:creator>DingmouLi</dc:creator>
      <dc:date>2013-10-02T15:34:19Z</dc:date>
    </item>
  </channel>
</rss>

