FlexiCapture12 - "Could not find specified Document Definition or version" error when uploading project to Application Server.



Accumulation of old Document Definitions.


The error "Could not find specified Document Definition or version" is usually related to the scenario where the document definition version of documents that matches the document definition version of the project is different. This applies to all documents inside working, test and/or training batches:


1. Accumulated, old document definitions of the local project can be deleted using the CompactProject command that is identical to clicking ProjectCompact.
Confirm your selection. 

2. Another option is to manually clean old document definitions of a local project/project on the server by clicking on "Update to Latest Version" for all documents inside all batches of a project.

3. The last option is to use FCAdminTools.exe that is provided together with ABBYY FlexiCapture Distributed Edition and can be found in the folder where you chose to install the Project Setup Station (the default location is <C:\Program Files\ABBYY FlexiCapture 12 Stations>).

Use CompactProject command to clean accumulated document definitions and files of local project or project on server. Command will look like the following: 
fcadmintools /CompactProject /Project=location on server or full local path* /U=user or user on server /P=password
Location of the project on the server or local path can be found in Project properties as on my screenshot below:

Note for projects on server: If no project is specified, the command will compact all the projects on the server deleting all the unused versions of the Document Definition and any related files.
The command will look for unused files both in working and in training batches. 

If all correctly specified it should look like this in the console: 

FCAdminTools command to upload your local project on the server would look like this:
fcadmintools /UploadProject /Source=the path to the local project /Target=location on a server /U=local user /P=password 

This should look like this in the console:

Have more questions? Submit a request



Please sign in to leave a comment.