OCR Pre-Processor always fails with dll error


Pre-Processing log file shows the following error:


[22:06:59 WRN] Job execution failed in 00:00:00.4073521. Returning failure resultSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: Failed to find library "liblept1753.dll" for platform x64.


Please install the Visual C++ Redistributable for Visual Studio 2015

Multiple installs on same server have login issues


When you have two EWA sites configured with the same host name you may experience login issues.

Given the example:

Both URL's have the same host name of server.domain.com

The problem is that the cookies from both sites will have the exact same name and depending on the order they get sent to the server may not work correctly.


To solve the issue you must set the name of the cookie to something unique for each site.

Do this by adding the following CookieDefaults section to the appsettings.json file:


"CookieDefaults": {
	"Name": ".AspNetCore.Cookies"

Then for each site make them unique: