WFM Connector generating 0KB files for some intervals

Expand / Collapse
 

WFM Connector generating 0KB files for some intervals


Article ID: 52318 - Last Review: April 17, 2017

PROBLEM

When the WFM Connector exports data, some intervals return 0KB files. 



SYMPTOMS

In the prairieFyre.WFM.Services.log file you will see warnings like the following:

Error: 2015-Apr-14 19:15:42.237 SQL Exception encountered in GetDataForPeriod: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ()


CAUSE

There is a timeout value configured in the registry that determines how long a SQL operation can take to connect or complete.  WFM uses this for the completion time.



RESOLUTION

You will need to increase the timeout period used for the SQL connection. Prior to MiContact Center version 8.x, you must change the timeout value in the system registry SQL connection string. In version 8.x of MiCC, this string is encrypted and cannot be edited. There is an independent setting for SQL timeout that was introduced in MiCC 8.0.1.0. (Note, you must upgrade to a minimum of 8.0.1.0 to leverage the Global Application Setting timeout value).

Procedure for version 7.x

NOTE: This solution requires a registry edit.  Please use caution when making changes.

  1. On the MiContact Center server open the registry editor regedit.exe .
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\PrairieFyre Software Inc\CCM\Enterprise\ .
  3. Right click on ConnectionString and select Modify.
    • The contents will look like:  Persist Security Info=false;Integrated Security=SSPI;Data Source=.\SQLEXPRESS;Initial Catalog=CCMData;Connect Timeout=30;
    • Modify the Connect Timeout=##; value at the end.  We recommend incrementing the timeout value by 30 (measured in seconds) and testing until you are no longer seeing 0KB files.
  4. Go to services.msc .
  5. Click on the prairieFyre Workforce Management Service and Restart.
    • NOTE: If you are using the prairieFyre.WFM.Utilities.HistoricalDataRecollector.exe application instead, you will need to restart the program for the settings to take effect.
Procedure for version 8.0.1.0 and higher:

  1. Launch the GlobalAppSettingEditor.exe located in the server's [InstallDir]\Services\ConfigService folder.
  2. Enter the following:

    Application: prairieFyre.WFM.Service.exe
    SectionGroup: prairieFyre.WFM.Controller.Common.Properties.Settings
    Name: SQLConnectionTimeoutSeconds
    Value: (the timeout period in seconds. Default is 30) 
    Description: (you must enter a value here to save)
  3. Click the OK button. It can take up to 30 seconds for the save to complete.
  4. Go to services.msc .
  5. Click on the prairieFyre Workforce Management Service and Restart.
    • NOTE: If you are using the prairieFyre.WFM.Utilities.HistoricalDataRecollector.exe application instead, you will need to restart the program for the settings to take effect.
If you are using the prairieFyre.WFM.Utilities.HistoricalDataRecollector.exe application instead, you will need to restart the program for the settings to take effect.

APPLIES TO

MiCC Version 7.X and newer 

Keywords: WFM connector 0KB empty file no data interval intervals timeout



Rate this Article:
     

Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:Monday, April 17, 2017
Last Modified By: AndrewMontpetit
Type: FIX
Article not rated yet.
Article has been viewed 10,494 times.
Options