操作方法
有时,编辑分支版本化要素服务将返回以下错误:
"Objects in this class cannot be updated outside an edit session"
下图显示了“应用事件行为”工具中的此错误。

Note: This does not solely occur on the Apply Event Behaviors tool, but in general when editing.
只能在编辑会话中更新某些数据集类型,如 160250:无法在编辑会话之外更新此类中的对象中所述,但是,当用户将要素类添加至已注册数据集时,也可能会导致此错误。
若因将要素类添加至已注册的数据集而引发此问题,则可以执行以下步骤:
It may be preferable to registered the datasets manually, instead of running the Register as Versioned geoprocessing tool.
Caution: The one consideration before unregistering a feature dataset/feature class as versioned, is to reconcile and post any edits to Default. Not doing this step can result in lost edits, see: Unregister As Versioned (Data Management)
文章 ID: 000032404
获取来自 ArcGIS 专家的帮助
立即开始聊天