Deploying Aquaforest OCR SDK v1.41 - Aquaforest

Deploying Aquaforest OCR SDK v1.41

Pre-requisites and deploying method for applications built using the Aquaforest OCR SDK v1.41

Supported Operating Systems:

  • Server 2008/R2 32/64 bit
  • Server 2003/R2 32/64 bit
  • Server 2012
  • Windows 7 32/64 bit
  • Windows 8 32/64 bit

Supported .NET Framework:

  • .Net Framework v3.5
  • .Net  Framework v4.0

Our samples are configured with .Net 3.5, if you require .Net 4.0 support for your OCR SDK

application you will need to add an “app.config” file within the project. We have included

an example of “app.config” file for our “64bit, Zonal” and “64bit, Convert Folder of Files”

sample applications.

Below are steps which will enable you to use the mentioned sample apps with .Net Framework 4.0.

  • Uncomment the contents in “app.config”.
  • Configure “64bit Zonal” or “64bit Convert Folder Of Files” sample app to use .Net 4.0








  •   Save and Rebuild sample app.

Supported Visual C++ Runtime:

  • Visual C++ 2008 Re-distributable


Any deployment method should ensure the target system meets the above requirements.

For building and deploying C# and VB.NET applications, the recommended approach is to copy

the contents of the "\Aquaforest\OCRSDK\bin" to your solution bin folder and update the

OCR.resourceFolder to point to the new location.  Alternatively you can point the

OCR.resourceFolder to the default location "C:\Aquaforest\OCRSDK\bin" as illustrated below.

string resourceFolder = @"C:\Aquaforest\OCRSDK\bin";

string currentEnvironmentVariables = Environment.GetEnvironmentVariable("PATH");

if (!currentEnvironmentVariables.Contains(resourceFolder))


Environment.SetEnvironmentVariable("PATH", currentEnvironmentVariables + ";" + resourceFolder);


ocr.ResourceFolder = resourceFolder;

However this location must be available and accessible in the target machine where your solution is going to be installed.


The following two tabs change content below.
Neil Pitman founded Aquaforest Limited in 2001 and is the chief architect for the company’s PDF and OCR software products used by thousands of organizations ranging from NASA to the Dutch Ministerie van Justitie. Neil has 30 years’ experience in the software industry in the UK and USA in the areas of database systems, document management and software development tools and has served on the IDT committees of the British Standards Institute (BSI) and was a co-author of the BSI’s 2007 publication on the Long Term Preservation of Digital Documents.