Modify Application Server connection with DB

Question

What is the retry mechanism in case of a failed request and how to control the timeout (is it via DB connection string?)

Answer

It is possible to use the next options to modify the application server connection with the database. In the IIS\FlexiCapture12\Server section add the Application Setting record.

UseDBRetriesOnErrors setting can be added with the value 1, then if DB connection will fail, the system will try to reconnect automatically.

You can add a string value for the application server via registry to change the timeout. The default timeout value for a database request is 30 seconds:

HKEY_LOCAL_MACHINE\SOFTWARE\ABBYY\FlexiCapture\12.0\WebServices\DatabaseManager
CommandTimeout = 30

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.