ArcMap编辑SQLServer的ArcSDE图层提示:The Create Feature task could not be completed.

来源:互联网 发布:plc编程方法 编辑:程序博客网 时间:2024/05/22 01:59

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]"


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


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

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

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

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

C:\Documents and Settings\Administrator>sdesetup -o upgrade -d sqlserver  -D sde2 -u sde -p sdeESRI ArcSDE Server Setup Utility Mon Feb 20 11:57:46 2012----------------------------------------------------------------Upgrade ArcSDE, GDB table schema:  Are you sure? (Y/N): yUpgrading 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

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