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_3_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="900"/>
        <add key="minThreads" value="1"/>
        <add key="maxThreads" value="16"/>
        <add key="logLevel" value="3"/>
        <add key="logDirectory" value="c:\windows\temp"/>
      </appSettings>
    </configuration>
    
    1. Insert Sched in the user value field.
    2. 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).
    3. Insert the role that is assigned to the Sched user in the role value field.
    4. 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
    5. 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.
    6. Change the interval value to 900.
      Information
      The default interval value is 15 seconds. Changing the value to 900 sets the interval to 15 minutes (15 minutes multiplied by 60 seconds).
    7. Save and close the file.