AudienceView Connect
AudienceView Documentation

Editing the AVSchedulerSVC.exe.config File

The configure the AVSchedulerSvc.exe.config file:

  1. Navigate to Libs folder (e.g. C:\AudienceView\Builds\audienceview_6_8_0\Libs).
  2. Open the AVSchedulerSvc.exe.config file in a text editor, such as Notepad.
    Example AVSchedulerSvc.exe.config file
    <configuration>
      <appSettings>
        <add key="user" value="Sched"/>
        <!-- The password and the connectionString keys are encrypted -->
        <add key="password" value="F@k33nCrYPt3dp@$$w0rd"/>
        <add key="role" value="Box Office"/>
        <add key="saveLocation" value="C:\"/>
        <add key="jobsLocation" value="C:\Jobs\"/>
        <add key="mailHost" value="localhost"/>
        <add key="marketingMailHost" value="localhost"/>
        <add key="connectionString" value="F@k33nCrYPt3dC0N3cT10n$tr1NGetclalala3tc"/>
        <add key="interval" value="15m"/>
        <add key="minThreads" value="1"/>
        <add key="maxThreads" value="16"/>
        <add key="highWaterMark" value="16"/>
        <add key="logLevel" value="3"/>
        <add key="logDirectory" value="c:\windows\temp"/>
        <add key="CatchUpDuration" value="48"/>  <!-- HOURS -->
        <add key="contentPath" value="C:\"/>
      </appSettings>
    </configuration>
    
  3. Insert Sched in the user value field.
  4. Insert the Sched user's encrypted password into the password value field. If you do not know the Sched user's password, refer to Assigning a New Password.
    Hint
    To verify that you have the correct password, log into the AudienceView Desktop as the Sched user.

    To encrypt the Sched user's password:

    1. Open the EncryptGui tool from the Libs folder.
    2. On the MasterKey tab, insert the unencrypted password.
    3. If the database has already been encrypted, complete the following:
      1. Click 'Master Keys: Blank'.
        The Enter Master Keys dialog box appears.
      2. Enter Master Key 1 in both the 'Enter Master Key 1' and 'Verify Master Key 1' fields.
      3. Click 'OK'.
      4. Enter Master Key 1 in both the 'Enter Master Key 2' and 'Verify Master Key 2' fields.
      5. Click 'OK'.
        The Enter Master Keys dialog box closes. The 'Master Keys: Blank' button changes to 'Master Keys: Entered'.
    4. Click 'Encrypt'.
    5. Highlight and copy the encrypted password.
      Information
      When/if the database gets encrypted, the Sched user password and the connection string using the master keys is provided by Hosting (for hosted clients).
  5. Insert the role that is assigned to the Sched user in the role value field.
  6. Specify the mailhost in the mailhost value field.
    Information
    Hosted clients will use localhost.
    For continuity it is recomended to use the same mailhost that you have configured in the global.asa and the registry
  7. Insert the connectionString in the connectionString value field.
    To locate the connectionString:
    1. Navigate to the UI folder.
    2. Open the global.asa file.
    3. Highlight and copy the connnection string that appears next to tsApp.setConnectString.
  8. Change the interval value to 15m.
    Information
    The interval value is 15 seconds, by default. To change the interval you must include the time unit indicator after the number (i.e. s for seconds, m for minutes, h for hours).
  9. If you will be scheduling Data Management jobs, Insert the location of the data source files in the contentPath value field.
  10. Save and close the file.