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.
上次发布: July 27, 2015ArcGIS Server (.NET)
漏洞 ID 编号
NIM078073
已提交
February 10, 2012
上次修改时间
June 5, 2024
适用范围
ArcGIS Server (.NET)
找到的版本
10.1 Beta
操作系统
Windows OS
操作系统版本
7
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
This is a known limit for ArcGIS 10.1 for Server
解决办法
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.