laptop and a wrench

Bug

In Visual Studio 2010, the Server Object Extension (SOE) templates, REST and SOAP, fail to be compiled if ArcGIS for Server 10.1 is not installed.

Last Published: July 27, 2015 ArcGIS Server (.NET)
Bug ID Number NIM078073
SubmittedFebruary 10, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS Server (.NET)
Version found10.1 Beta
Operating SystemWindows OS
Operating System Version7
StatusKnown Limit

Description

When compiling a REST or SOAP SOE template from Visual Studio 2010 on a machine where ArcObjects SDK 10.1 is installed but ArcGIS Server is not installed, the following error is returned:

"Could not load file or assembly 'ESRI.ArcGIS.SOESupport, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified."

Cause

This issue happens because the ESRI.ArcGIS.SOESupport assembly is not registered in the Global Assembly Cache (GAC).

Workaround

This issue can be resolved by manually registering the ESRI.ArcGIS.SOESupport assembly in the GAC using the Global Assembly Cache Tool (Gacutil.exe).

  1. Ensure the 'ESRI.ArcGIS.SOESupport.dll' file exists in the <ArcGIS DeveloperKit install location>\bin directory.

    [O-Image]
  2. Go to Start > All Programs > Microsoft Visual Studio 2010 > Visual Studio Tools.
  3. Right-click Visual Studio Command Prompt (2010) and select Run as administrator.

    [O-Image]
  4. In the Visual Studio Command Prompt, type the following command:

    gacutil /i "<ArcGIS DeveloperKit install location>\bin\ESRI.ArcGIS.SOESupport.dll"


    [O-Image]
  5. Reopen the SOE project in Visual Studio 2010.
  6. Go to Build > Clean Solution > Build Solution. The solution builds successfully.

Steps to Reproduce

Bug ID: NIM078073

Software:

  • ArcGIS Server (.NET)

Get notified when the status of a bug changes

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options