Could not load file or assembly 'ESRI.ArcGIS.SOESupport, Version=10.1.0.0, Culture=neutral, PublicKe
2013-10-22 17:30
951 查看
Bug: ArcGIS 10.1 SOE templates (both REST and SOAP) cannot be compiled in
Visual Studio 2010
Article ID: | 40401 |
---|---|
Bug Id: | [NIM078073 SOE templates (both REST and SOAP) in Visual Studio 2010 fail to be compiled, if ArcGIS Server 10.1 is not installed.] |
Software: | ArcGIS for Server 10.1 |
Platforms: | Windows Server 2003, Vista, Server 2008, Windows 7 |
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).Ensure the 'ESRI.ArcGIS.SOESupport.dll' file exists in the <ArcGIS DeveloperKit install location>\bin directory.
-show me-
Right-click Visual Studio Command Prompt (2010) and select Run as administrator.
-show me-
gacutil /i "<ArcGIS DeveloperKit install location>\bin\ESRI.ArcGIS.SOESupport.dll"
-show me-
Go to Build > Clean Solution > Build Solution. The solution builds successfully.
相关文章推荐
- Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94
- Could not load file or assembly 'AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e'
- Could not load file or assembly 'System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, Public
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutra...
- Could not load file or assembly "Microsoft.DataTransformationServices.Design,Version=12.0.0.0,Culture=neutral,PublicKeyToken=89845dcd8080cc91" or one of its dependencies.
- Asp.Net 关于Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.问题的解决方法。
- .NET Web 执行错误Could not load type '...' from assembly '..., Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because the me
- SAP3.0相关问题,Could not load file or assembly 'sapnco, Version=3.0.0.42
- Could not load file or assembly 'vjscor, Version=2.0.0.0, Culture=neutral, 问题解决方法
- "Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- Asp.Net 关于Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94
- System.TypeLoadException: Could not load type 'System.DateTimeOffset' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral,
- Could not load file or assembly'System.Data.SQLite.dll' or one of its depedencies
- SQLite 解决:Could not load file or assembly 'System.Data.SQLite ... 试图加载格式不正确的程序
- Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies.解决方法
- Could not load file or assembly'System.Data.SQLite.dll' or one of its depedencies
- Could not load file or assembly 'XXX' or one of its dependencies.
- Could not load file or assembly 'System.Web.Helpers...错误