Select to view content in your preferred language

10.2.2 Server Object Extension

6489
4
Jump to solution
10-27-2014 02:14 PM
JustinShepard
Deactivated User

ESRI.ArcGIS.SOESupport reference doesn't exist.

I have not written an SOE before and am looking to create one, I've been told that performance on an SOE for tasks that will be run frequently or have high resource demands is better than using a geoprocessing service. I have Visual Studio 2013 and 2012 Pro installed on a Windows 7 machine. I have installed the ArcObjects SDK for .NET from the ArcGIS 10.2.2 Desktop and Server disks (hoping one would work). There isn't a template for VS 2013, but when I use VS 2012 I can go to New > Project > ArcGIS > Server Object Extension and there is a template for REST and SOAP projects using .NET 3.5 or 4.0. I have tried creating projects using .NET 3.5 and 4 and selecting the REST SOE project template. It doesn't matter what I do (I have also repaired and modified the SDK), every project that I create shows that ESRI.ArcGIS.SOESupport does not exist.

Error message: "The type or namespace name 'SOESupport' does not exist in the namespace 'ESRI.ArcGIS' (are you missing an assembly reference?)"

What am I missing?

I was going to start going through the walkthrough at ArcObjects Help for .NET developers , if there is a better or more current walkthrough please let me know.

1 Solution

Accepted Solutions
ErwinSoekianto
Esri Alum

Do you have ArcGIS Server installed in your development machine? If you don't, the missing 'ESRI.ArcGIS.SOESupport' dll file is located at C:\Program Files\ArcGIS\DeveloperKit10.2\bin folder, you can either use the gacutil.exe to register the dll into GAC or directly drop the dll into the C:\Windows\assembly using Windows Explorer.

View solution in original post

0 Kudos
4 Replies
ErwinSoekianto
Esri Alum

Do you have ArcGIS Server installed in your development machine? If you don't, the missing 'ESRI.ArcGIS.SOESupport' dll file is located at C:\Program Files\ArcGIS\DeveloperKit10.2\bin folder, you can either use the gacutil.exe to register the dll into GAC or directly drop the dll into the C:\Windows\assembly using Windows Explorer.

0 Kudos
JustinShepard
Deactivated User

For anyone else reading this, Erwin was also nice enough to send me some instructions for using the gacutility since I had never used it before.

Here are the steps below:

  1. Go to Start menu ->All Programs ->Microsoft Visual Studio 2010-> Visual Studio Tools->Right click Visual Studio Command Prompt (2010) ->Run as administrator.
  2. Type the following command to regsiter the dll:
    gacutil /i "C:\Program Files (x86)\ArcGIS\DeveloperKit10.2\bin\ESRI.ArcGIS.SOESupport.dll"

   3. Reopen the SOE project in Visual Studio->Clean Solution->Build Solution again. The build should be succeded this time.

You can also use command prompt or VS2012 x86 Native Tools Command Prompt for Visual Studio 2012.

GeorgeBrown3
Deactivated User

I have ArcGIS Desktop 10.4 installed and don't see the SOESupport.dll in either the ArcGIS or ArcGIS SDKs\DotNet10.2.7 folders. Where do I get the SOESupport.dll from?

0 Kudos
AlejandraEpiscopo1
Esri Contributor

George,

You must install the SDK available to download under ArcGIS Desktop 10.4 at My Esri site.

The dll is in: C:\Program Files (x86)\ArcGIS\DeveloperKit10.4\bin\ESRI.ArcGIS.SOESupport.dll

0 Kudos