ArcGIS Server中,发布移动地图服务时(Map Service勾选Mobile Data Access),许多朋友最常碰到的一个问题就是在启动服务时遇到错误:
Configuration servicename.MapServer cannot be started.
Server Object instance creation failed on machine yourserver.
有点不知所措。其实只需要查看server的日志即可找到原因。日志中写到:
MobileServer requires a custom extent tobe set. The default extent is not acceptable (union of all layers).
解决办法:在mxd文档的dataframe属性,选择Extent Used By Full ExtentCommand–>Specify Extent,指定一个自定义的范围即可。