Description
An incorrect workspace type is specified for this operation.
Solution
Some operations, such as creating a version or checking out data from a database, can only be executed on an enterprise geodatabase workspace. Chang the parameter requiring a workspace or dataset to reference an enterprise geodatabase connection instead of a file geodatabase.