laptop and a wrench

Bogue

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.

Dernière publication: July 27, 2015 ArcGIS Server (.NET)
Numéro d’ID de bogue NIM078073
EnvoiFebruary 10, 2012
Dernière modificationJune 5, 2024
S’applique àArcGIS Server (.NET)
Version trouvée10.1 Beta
Système d’exploitationWindows OS
Version du système d’exploitation7
StatutKnown Limit

Informations supplémentaires

This is a known limit for ArcGIS 10.1 for Server

Solution de contournement

Server Object Extension (SOE) templates (both REST and SOAP) in Visual Studio 2010 fail to be compiled, if ArcGIS Server 10.1 is not installed.Both, Representational State Transfer (REST) and Simple Object Access Protocol (SOAP), Server Object Extension (SOE) templates in Visual Studio 2010 fail to be compiled if ArcGIS 10.1 for Server is not installed.Workaround 1: Use the gacutil.exe to register the Dynamic Link Library (dll) into the Global Assembly Cache (GAC) Here are the steps for the first option:1. Go to the 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 "<a href="file:C:/Program" target="_blank">C:\Program</a> Files (x86)\ArcGIS\DeveloperKit10.1\bin\ESRI.ArcGIS.SOESupport.dll"3. Reopen the SOE project in Visual Studio> Clean Solution> Build Solution again. The build should be successful this time.Workaround 2: Use Windows Explorer to directly transfer the dll into ‘<a href="file:C:/Windows/assembly’." target="_blank">C:\Windows\assembly’.</a>For the second option, ensure that the user is logged into the machine as an administrator, to avoid getting the “Access Denied” error.A Synopsis of Incident #243659 states that the User ran into the same issue and that the ‘gacutil’ did not work. Removing the dll from the project and replacing it with the dll from ‘<a href="file:C:/Program" target="_blank">C:\Program</a> Files (x86)\ArcGIS\DeveloperKit10.2\bin’ worked for the user.

Étapes pour reproduire

ID de bogue: NIM078073

Logiciel:

  • ArcGIS Server (.NET)

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement