mapx 在绑定ADO数据源的时候,每次layers.add或者datasets.add,就会出现以下错误信息:

---------------------------
站点控制主界面
---------------------------
Custom dataset error.  Could not find a CLSID for the type of custom dataset specified.  Check that the custom dataset is properly registered.
---------------------------
确定  
---------------------------

 

解决办法:

注册相关的数据源dll,ado的就注册MapXADODS.dll,即在mapx5.0的安装目录下运行

RegSvr32 MapXADODS.dll