Error: 服务器对象实例在所有的SOC机器创建失败

文章编号 : 34171
软件: ArcGIS Server 9.2, 9.3, 9.3.1
操作系统: Windows 2000, XP, 2003Server
已邀请:

EsriSupport

赞同来自:

错误信息: 当尝试发布ArcMap文档(.mxd)时,ArcCatalog提示下面出错信息:
"Server object instance creation failed on all SOC machines.
Server Object instance creation failed on machine <machine name>. Cannot open file <path> ame.mxd. The system cannot find the path specified. Probable Cause: The file is inaccessible to ArcGIS Server Object Container account."
这个错误会被写入日志,错误格式和其它日志信息类似,例如:
<Msg time='2007-12-12T08:17:56' level='Error' code='10001' target='streetsnosoc.MapServer' machine='etobicoke' process='192' thread='3148'>Can not open file <path> ame.mxd. The system cannot find the path specified. Probable cause: The file is inaccessible to ArcGIS Server Object Container account.</Msg>
<Msg time='2007-12-12T08:17:56' level='Error' code='1042' target='streetsnosoc.MapServer' thread='340'>Server object instance creation failed on all SOC machines.</Msg>
原因: 当ArcGIS Server Object Container(SOC)账户没有访问.mxd文件所在路径权限时,就会报上述错误信息。

解决方法: ArcGIS SOC账户必须对.mxd所在路径有访问权限,用户可以使用通用名称转换(UNC)路径发布.mxd。
确保数据可以被所有soc机器访问的最简单方式是使用操作系统工具共享数据存储目录。共享目录通常可以通过UNC路径引用,例如:\\myServer\data。当使用UNC路径引用数据时,所有的SOC机器将查找到数据所在的正确机器。
如果GIS资源存储在共享目录中,切记资源中引用的所有数据源路径都必须使用UNC路径或相对路径。例如,如果地图文档包含来自三个 feature classes的图层,那么这些feature classes 的路径必须是UNC路径或相对路径。
在ArcCatalog中为.mxd构建UNC路径的步骤:
1、 在ArcCatalog中,单击‘Connect to Folder’按钮。
2、 在”Connect to Folder”窗口中,输入.mxd所在文件夹的UNC路径(例如,\\myServer\data)。
3、 单击OK.
使用ArcCatalog中这个新连接,浏览到要发布的.mxd,右键点击文件,然后publish to ArcGIS Server 。
也可以在ArcCatalog 中add new service 时,直接输入UNC路径(例如,\\myserver\data\mymap.mxd)。



创建时间:2007-12-12
最近更新:2007-12-12


原文链接
http://support.esrichina.com.cn/2007/1212/582.html

要回复问题请先登录注册