解决不能删除arcsde数据源的featureclass和table的方法

Question: # 15

Why do I receive the error: "Failed to delete selected object(s)" when trying to delete an ArcSDE table or feature class in ArcCatalog?

Software: ArcCatalog
Version: 8.3
Platform:


Cause:

The full error message received is:

Failed to delete selected objects(s)
Lock request conflicts with an established lock
[Locked by database user: 'username' on machine: 'MACHINENAME']

Even though there is no connection to ArcSDE by the username from MACHINENAME you could receive this error message if there is a hung connection to ArcSDE that was not terminated correctly.

 

Answer:

Use the sdemon -o info -I users command to determine the connection that is causing the error message:

C:\>sdemon -o info -I users

ArcSDE Instance esri_sde Registered Server Tasks on TSPGIS01 at Tue Nov 11 13:14:37 2003
-------------------------------------------------------------------------
PID User Host:OS Started
----- -------- -------------------------------- ------------------------
1220 mike TSPGIS02:Win32 Tue Nov 11 13:14:19 2003
1219 tech TSPGIS01:Win32 Tue Nov 11 12:38:18 2003

Find the PID that corresponds to the username and MACHINENAME that is causing the error message. Use the sdemon -o kill -t pid command to terminate the hung connection:

C:\>sdemon -o kill -t 1219
Please enter ArcSDE DBA password:

ArcSDE Instance esri_sde Process Management on TSPGIS01 at Tue Nov 11 13:19:22 2003
-------------------------------------------------------------------------
Kill Server Task 1219? ARE YOU SURE (Y/N)?: y

You should now be able to delete the table or feature class in ArcCatalog.

转载于:https://www.cnblogs.com/gentlewolf/archive/2008/08/14/1267830.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值