首頁  >  文章  >  資料庫  >  ArcMap编辑SQLServer的ArcSDE图层提示:The Create Feature task

ArcMap编辑SQLServer的ArcSDE图层提示:The Create Feature task

WBOY
WBOY原創
2016-06-07 15:52:171502瀏覽

ArcMap编辑SQLServer的ArcSDE图层提示: The Create Feature task could not be completed.DBMS table not found[sde.SDE.layer] 或者 Delete feature: An unexpected failure occurred.DBMS table not found[territory.SDE_USER.Alumbra][state_id=4622] 这

ArcMap编辑SQLServer的ArcSDE图层提示:

The Create Feature task could not be completed.DBMS table not found[sde.SDE.layer]

ArcMap编辑SQLServer的ArcSDE图层提示:The Create Feature task或者
"Delete feature: An unexpected failure occurred.DBMS table not found[territory.SDE_USER.Alumbra][state_id=4622]"


这种错误是因为当用户在SQL Server库中的ArcSDE进行注册时,比如我们的要素类名称为XZQQ,那么注册版本大家会知道增加相关的A表和D表,但是在SQL Server数据库中还会增加i表,后面的数字仍然是registration_id,至于这个i表是做什么用的,我也不太清楚,但是一旦有用户看到不认识的表进行删除的话,就会出现这个问题。

ArcMap编辑SQLServer的ArcSDE图层提示:The Create Feature task

这个问题造成的原因就是:用户删除了相关的i表。

所以说ArcSDE里面的表还是需要强调一下,千万不要擅自的使用数据库客户端工具任意的修改,删除表就更不可以了。

但是有没有可以挽救的办法,当然有。

使用sdesetup -o upgrade更新一下Geodatabase即可。更新之后,相应的i表就回来了。

C:\Documents and Settings\Administrator>sdesetup -o upgrade -d sqlserver  -D sde2 -u sde -p sde

ESRI ArcSDE Server Setup Utility Mon Feb 20 11:57:46 2012
----------------------------------------------------------------
Upgrade ArcSDE, GDB table schema:
  Are you sure? (Y/N): y
Upgrading ArcSde schema.....
Successfully upgraded ArcSde schema.

Upgrading locators.....
Successfully upgraded locators.

Upgrading geodatabase schema:
Successfully upgraded geodatabase schema.



Successfully upgraded ArcSDE instance.

Refer SDEHOME\etc\sde_setup.log for more details.

最后说一下,这个问题出现在ArcSDE9.3.1之前的,而且支持的数据库为SQL Server,如果你的ArcSDE是10版本没有这个问题。



-------------------------------------------------------------------------------------------------------

QQ一群:              78773981(已满)
QQ二群:            225989940
Blog:               http://blog.csdn.net/linghe301
Weibo:            http://www.weibo.com/linghe301

------------------------------------------------------------------------------------------------------
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
上一篇:mysql主从复制实战下一篇:MySQl心得4