000301: The workspace is of the wrong type.


An incorrect workspace type is specified for this operation.


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.