AnsweredAssumed Answered

arcpy.DisconnectUser non-administrator user

Question asked by tlwhippo on Nov 2, 2017
Latest reply on Dec 18, 2017 by

We are attempting to execute arcpy.DisconnectUser before running a nightly compression of a geodatabase. But when running arcpy.DisconnectUser, we are intermittently receiving an error stating that the connection information provided was for a non-administrative user. The geodatabase uses dbo-schema and we have confirmed that the geodatabase administrator is a member of the sysadmin and process admin server roles.


Our SDE maintenance scripts fail periodically due to this issue similar to this post: SDE is running v10.3.1 with a SQL Server 2012 back-end. The script runs from a batch file/scheduled task on a VM that has ArcGIS 10.4.1 installed.