Hello,
I used the arcpy.ListUsers() tool to list current schema locks. I then tried to use the arcpy.DisconnectUser() tool with the lock ID value and the SDE schema connection. When I run the command, there is no error but when I run the arcpyListUsers() again, the schema lock still exists. I am trying to find out why the command ran with no error but the schema lock remained.
I am connecting to an Oracle 11g database with an Esri 10.2 geodatabase (SDE schema). Any thoughts?
Thanks - Peter
Solved! Go to Solution.
Problem solved. My python script was reading in the id to use and because it was a string, it didn't work, even though there was not an error. Once I converted it to an int, the lock was removed.
Problem solved. My python script was reading in the id to use and because it was a string, it didn't work, even though there was not an error. Once I converted it to an int, the lock was removed.