C#ArcGIS開發時未裝ArcEngine提示錯誤
使用ArcGIS開發控件開發應用程序,放置ESRI MapControl、ESRI LicenseControl控件在窗體上時,提示“This control requires an ArcGIS Engine Developer Kit license.Please contact ESRI to acquire the correct license.”錯誤。
http://b38.photo.store.qq.com/http_imgload.cgi?/rurl4_b=4c39b89900982d8eaf9c3f64
導致原因:
出現這個信息是因為ArcGIS Engine Developer Kit 這個產品未在機器上安裝并授權。
ArcGIS Desktop 安裝了以下控件:
-MapControl
-PageLayoutControl
-GlobeControl
-ReaderControl
-SceneControl
-TOCControl
-ToolbarControl
ArcGIS Desktop 許可僅允許使用MapControl 和 PageLayoutControl 進行開發或設計應用程序。
剩下的其它控件許可給ArcGIS Engine,并僅能在ArcGIS Engine Developer Kit 已安裝并授權時用于開發。
解決辦法:
安裝ArcEngine Runtime 和 SDK,并且用ecp注冊
開始 -> 程序 -> ArcGIS -> Software Authorization DevKit
也可在此下解壓鑰匙:ArcGIS 9.3全套無限期許可文件http://iask.sina.com.cn/u/1616536925/ish?folderid=249316