IBM Datacap, Version 8.1            

Editing the configuration file

The Taskmaster Web Client upload service configuration file is installed in the Taskmaster folder after you configure the system.

You configure the system by running the \support\webclientservice\setup.exe script. The configuration file is an XML file that contains default name-value pairs that must be changed to match your environment and your requirements.

Ensure that you have a backup copy of the original dc2run.exe.config file. Some of the required changes are global and affect all copies of the configuration file. Other changes are unique to each scan station. Make the global changes to a master copy of the configuration file before you copy it to the individual scan stations and make the station-specific changes.
  • Before copying the configuration file to each remote scan station, change the settings required for your environment and application. Set up the intervals at which you want the Taskmaster Web Client Service to run background uploads.
  • After copying the file to each individual remote scan station, edit the correct scan operator, user ID, password, and station ID. The password is saved by using the Taskmaster Application Manager.

To edit the configuration file:

  1. Open the dc2Run.exe.config file in Notepad or an XML editor.
  2. Before copying the configuration file to each remote scan station, change the settings required for your environment and application. Set up the intervals at which you want the Taskmaster Web Client Service to run background uploads.
  3. After copying the file to each individual remote scan station, edit the correct scan operator, user ID, password, and station ID. The password is saved by using the Taskmaster Application Manager.
    An example of the dc2run.exe configuration file. Some line breaks are used to fit the printed page.
    <?xml version="1.0"?>
    <configuration>
        <configSections>
            <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, 
    Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <section name="dc2Run.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, 
    Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
            </sectionGroup>
        </configSections>
        <applicationSettings>
            <dc2Run.Properties.Settings>
                <setting name="dc2Run_localhost_utility" serializeAs="String">
                    <value>http://127.0.0.1/Task/utility.asmx</value>
                </setting>
                <setting name="Application" serializeAs="String">
                    <value>FastApp</value>
                </setting>
                <setting name="User" serializeAs="String">
                    <value>admin</value>
                </setting>
                <setting name="Delay" serializeAs="String">
                    <value>3000</value>
                </setting>
                <setting name="RetryDelay" serializeAs="String">
                    <value>15000</value>
                </setting>
                <setting name="Station" serializeAs="String">
                    <value>1</value>
                </setting>
                <setting name="ShortcutIndex" serializeAs="String">
                    <value>13</value>
                </setting>
                <setting name="WorkTimes" serializeAs="String">
                    <value>15:00-15:00</value>
                </setting>
                <setting name="StrictUpload" serializeAs="String">
                    <value>False</value>
                </setting>
                <setting name="FDPathMask" serializeAs="String">
                    <value>C:\Datacap\FastDoc\batches\FastApp\*\finished.xml</value>
                </setting>
            </dc2Run.Properties.Settings>
        </applicationSettings>
    <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>


Feedback

Last updated: November 2013
dcain116.htm

© Copyright IBM Corporation 2013.