博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Arcgis Engine 64位系统兼容性问题
阅读量:4678 次
发布时间:2019-06-09

本文共 1960 字,大约阅读时间需要 6 分钟。

近日将系统升级成了Win7 64位,并顺利安装了arcgis desktop,engine,server和visual studio 2008等软件。但是当调试Arcgis Engine项目时,却提示“创建窗体时出错”。

原来是Arcgis Engine不支持64位系统造成的,解决的方法为在配置管理器中选择或者新建“x86”作为“活动解决方案平台”。

 

附上esri官方提到的具体问题解释和处理方法

 

 

Error: Class not registered(Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)

Article ID: 33000
Software  : ArcGIS Engine Runtime 9.2, 9.3, 9.3.1
Platforms : Windows 2000, XP, Vista

Error Message

Running an application from Visual Studio 2005 or 2008 on 64-bit computers, displays the following error message:
"Error : Class not registered(Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)"

Cause

When running a Visual Studio application, the default Common Language Runtime (CLR) platform in the Visual Studio is set to Any CPU. This default must be changed on 64-bit computers to compile the assemblies with the 32-bit, x86 compatible CLR.

Solution or Workaround

Change the default Platform Target CPU to allow applications to run on 64-bit machines.
If working in Microsoft Visual Studio:
1. Right-click on the solution in the Visual Studio Solution Explorer and open the Properties window.
2. Click the compile tab: Visual Basic, or the build tab: Visual C#.
3. For Visual Basic, click the Advanced tab.
4. Select x86 as the Target CPU (Visual Basic) or Platform Target (Visual C#).
5. Rebuild the solution.
If working in Microsoft Visual Basic or Visual C# Express Editions:
1. Open the solution in the Express Edition.
2. File > Save All, and save the project to a different location.
3. Using Windows Explorer, browse to the newly saved project, and open the project file (.csproj or .vbproj) with a text editor.
4. Insert the text <PlatformTarget>x86</PlatformTarget> into the 'Debug|AnyCPU' and 'Release|AnyCPU' sections.
5. Save the project file.
6. Open the solution in the Express Edition, and build and run the application.

Created: 5/4/2007

Last Modified: 6/17/2010

转载于:https://www.cnblogs.com/curtful/archive/2012/03/13/2393478.html

你可能感兴趣的文章
八LWIP学习笔记之用户编程接口(NETCONN)
查看>>
Git Day02,工作区,暂存区,回退,删除文件
查看>>
Windows Phone 7 Coding4Fun控件简介
查看>>
Nginx 常用命令总结
查看>>
hall wrong behavior
查看>>
Collection集合
查看>>
【C++】const在不同位置修饰指针变量
查看>>
github新项目挂历模式
查看>>
编写jquery插件
查看>>
敏捷开发笔记
查看>>
学前班
查看>>
关于自关联1
查看>>
hdu-1814(2-sat)
查看>>
谷歌浏览器,添加默认搜索引擎的搜索地址
查看>>
数据结构化与保存
查看>>
为什么需要Docker?
查看>>
国内5家云服务厂商 HTTPS 安全性测试横向对比
查看>>
how to control project
查看>>
转 python新手容易犯的6个错误
查看>>
第四节 -- 列表
查看>>