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

Error 
mceclip1.png

Symptoms

Accumulation of old Document Definitions.

Cause

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:
mceclip0.png

Resolution

1. Accumulated, old document definitions of the local project can be deleted using the CompactProject command that is identical to clicking ProjectCompact.
mceclip2.png
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.

mceclip3.png
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:

mceclip4.png
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: 
mceclip0.png

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:
mceclip1.png

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.

Recently viewed