Home  >  Article  >  Database  >  ArcMap编辑SQLServer的ArcSDE图层提示:The Create Feature task

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

WBOY
WBOYOriginal
2016-06-07 15:52:171502browse

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

------------------------------------------------------------------------------------------------------
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:mysql主从复制实战Next article:MySQl心得4