Error: Unable to load DLL 'ArcGISVersion.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
【相关信息】
Article ID: 42705
Software:
ArcGIS - ArcEditor 10
ArcGIS - ArcInfo 10
ArcGIS - ArcView 10
ArcGIS Engine Runtime 10
ArcGIS for Desktop Advanced 10.1
ArcGIS for Desktop Standard 10.1
ArcGIS for Desktop Basic 10.1
ArcGIS Engine for Windows 10.1
Platforms: N/A
【错误信息】
Running an ArcGIS Engine application on a 64-bit platform causes the following runtime error message:
"Unable to load DLL 'ArcGISVersion.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
【错误原因】
This runtime error occurs when the platform target for the ArcGIS Developer Kit version 10 or 10.1 application is set to 'Any CPU' or 'x64' mode when compiled. This creates a header file in the application, instructing the Common Language Runtime (CLR) to load and run the executable in the same process space in which the application is run. Therefore, when the application runs on an x64 (64-bit) machine, the 64-bit process cannot load the ArcGIS Engine DLLs marked as x86 (32-bit).
Article ID: 42705
Software:
ArcGIS - ArcEditor 10
ArcGIS - ArcInfo 10
ArcGIS - ArcView 10
ArcGIS Engine Runtime 10
ArcGIS for Desktop Advanced 10.1
ArcGIS for Desktop Standard 10.1
ArcGIS for Desktop Basic 10.1
ArcGIS Engine for Windows 10.1
Platforms: N/A
【错误信息】
Running an ArcGIS Engine application on a 64-bit platform causes the following runtime error message:
"Unable to load DLL 'ArcGISVersion.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
【错误原因】
This runtime error occurs when the platform target for the ArcGIS Developer Kit version 10 or 10.1 application is set to 'Any CPU' or 'x64' mode when compiled. This creates a header file in the application, instructing the Common Language Runtime (CLR) to load and run the executable in the same process space in which the application is run. Therefore, when the application runs on an x64 (64-bit) machine, the 64-bit process cannot load the ArcGIS Engine DLLs marked as x86 (32-bit).
1 个回复
易智瑞技术支持
赞同来自:
Set the central processing unit (CPU) platform target to 'x86' when compiling the ArcGIS Engine application, as this allows the target machine to run and load the 32-bit DLL assemblies required to run the application, regardless of platform.
For more information on how to set the platform target CPU in C# and VB.Net, refer to the 'Platform CPU target changes' section in the following ArcGIS Web Help link:
How to migrate ArcGIS 9.3 Desktop and Engine stand-alone applications to ArcGIS 10.
Related Information
Created: 6/11/2014 Last Modified: 10/17/2014
【原文链接】
http://support.esri.com/en/kno ... 42705
要回复问题请先登录或注册