我想 GIS 专业的同学可能都会使用 ArcGIS Engine 进行开发吧。
错误解决:The 3D Analyst extension has not been enabled
1、在ArcGIS Engine开发过程中,被提示The 3D Analyst extension has not been enabled,如图所示,该错误显示“三维分析扩展模块未启动”(The 3D Analyst extension has not been enabled)。

5、后记:有时候写IAoInitialize pao = new AoInitializeClass()的时候会意外地提示错误,改写IAoInitialize pao = new AoInitialize()后错误消失,一切正常。
错误解决:The application is not licensed to create or modify schema for this type of data
1、在使用软件的“数据入库”对话框中的“创建数据集”功能时,有效应(这在前面已经解决),但在进行功能测试的时候,调试到下列两行代码时,均会出现错误。
2、出错行1:featureDataset =featureWorkspace.CreateFeatureDat锾攒揉敫aset(this.textBox6.Text, spatialReference);出错行2:rasterDataset = rasterWorkspace.CreateRasterDataset(this.textBox7.Text, 1, rstPixelType.PT_LONG,rasterStorageDef, "DEFAULTS", rasterDef, geometryDef);

4、勾选其中的ArcGIS Engine Enterprise Geodatabse选项(图)。

6、最终解决办法:将importdata.cs中load事件里对ArcGIS许可的激活语句移动到Program.cs中。删除了LicenseInitiallizer.cs文件。这样做的原因是:在使用ArcGIS Engine开发时,许可文件需要在软件运行之初全部激活,不能在软件子窗口运行时激活许可