AnsweredAssumed Answered

Error 000301: Wrong Workspace Type

Question asked by jborgion Champion on Sep 27, 2018
Latest reply on Sep 27, 2018 by Dan_Patterson

In ERROR 000301: The workspace is of the wrong type , and  the same error I'm experiencing is discussed. As in both the earlier posts I'm trying to run arcpy.ReconcileVersions_management().


My 'input_database' is set to a SDE-user connection to an egdb:


SDE_Connection = r'I:\GIS\ArcSDE\SdeUser\sde@RvecPBTEST.sde'

#followed by

versionList = arcpy.ListVersions(SDE_Connection)

arcpy.ReconcileVersions_management(SDE_Connection, "ALL_VERSIONS", "PreWork", versionList,'blah','blah','blah'


I'm trying to reconcile all the versions that are spawned from an intermediate version called 'PreWork'. When I examine the contents of versionList[] all the versions are there, so I'm connected to the workspace.


Joshua Bixby and Dan Patterson; you guys commented on the earlier threads; any guidance as to where I should be looking?