Menu

3. Running the ChronoScan Main Services

 
After installation and setup is complete follow this guide to install the ChronoScan Enterprise Services.
 
All of the ChronoScan services can be executed as regular executables for installation/debug purposes or as a Windows Service for a production environment.
 
If you have the need to process multiple batches of documents at the same time to reduce the overall turnaround time you can use additional machines with ChronoScan Enterprise by configuring additional processing servers
 

1 - Creating the services from the command prompt:

 
 
 
 
NOTE: The Document Types Server is only needed on setups with multiple machines.
 
 
 
 

1.1 - Deleting the created services:

 
To remove the service from the system use the following code:
 
SC Delete "WCI_PROCESSING_SERVER"
 
SC Delete "WCI_IMPORT_SERVER"
 
SC Delete "WCI_EXPORT_SERVER"
 
SC Delete "WCI_WEB_SERVER"
 
SC Delete "WCI_TYPES_SERVER"
 
 

1.2 - Running the Servers as executables from the command prompt:

 

If you want to run the services as executables, for testing and troubleshooting purposes, use the following commands:

 
 
 
 
NOTE: The Document Types Server is only needed on setups with multiple machines.
 
 
 

2 - Changing the setting for the Services:

 
After the services are created open the Windows Services window by using Windows Key + R to launch the run dialogue and then type services.msc.
On the Services window look for the created WCI Server services, open the properties and change Startup type to Automatic and, on the Log On tab, select This account and set the appropriate user for the service:
Log On tab on the Service properties for the ChronoScan Web Server service.
 
For user access we recommend creating a ChronoScan service account on AD. That same user must also have access to the database created on step 2.
This user must have read and write access to the entire structure inside C:\ProgramData\ChronoScan and  C:\Program Files (x86)\ChronoScan.
 
 
NOTE: Please Make sure the Web Server Service is running so you have access to the Web Interface.
 
  

3 - Service creation example from powershell:

 

If you want to use PowerShell instead to create the services, follow these commands:

 
 
 
 
 
NOTE: The Document Types Server is only needed on setups with multiple machines.
 
PS> sc.exe Create "WCI_TYPES_SERVER" binPath= 'C:\Program Files (x86)\ChronoScan\Bin\chrono_types_server.exe' displayname= "ChronoScan DTS Server"
 

4 - Default settings for the servers:

 

Those are the default settings for all servers. To use different ports refer to

Running Services for Multiple Configurations

:

 
Service Name
Default port
Log directory
chrono_types_server.exe
9006
C:\ChronoScanLog\chrono_types_server.exe
chrono_input_server.exe
9007
C:\ChronoScanLog\chrono_input_server.exe
chrono_proc_server.exe
9008
C:\ChronoScanLog\chrono_proc_server.exe
chrono_out_server.exe
9009
C:\ChronoScanLog\chrono_out_server.exe
chrono_wci.exe
10000
C:\ChronoScanLog\chrono_wci.exe
 
 
Port 10000 is usually open to the network on the firewall, the rest of the ports are only for administration and intercommunication of the services.
 
Create the log directory if you want to get an extended activity log for problem reporting and system debug.
Do not use the log folders while on production.
 
NOTE: If you have trouble connecting to the server using the Web Interface please don't forget to add a firewall exception on the host machine.
 
ChronoScan Server running as executable:
 
 
 

Running Multiple Configurations

 
If you need to run multiple configurations you can follow through the Running Services for Multiple Configurations guide.
 
After the services are created and running correctly ChronoScan Enterprise is ready to start receiving and processing documents.