The Last Scheduled Run test on a testconfig page fails

The impact of this issue is that schedules defined in Administration > Sites & Settings > Schedule will not run. This includes: email, list refresh, role refresh, integration.  Potential fixes are outlined below. 

This issue is caused due to 401 errors received in response to the authentication challenges sent between the BBIS and BBCRM web servers responsible for running the schedule. 

Sometimes Load Balancers will not pass internal service requests because the Load Balancers are acting as a reverse proxy and internal NTLM requests will fail while external ones will succeed.  The Load Balancer will likely require special configuration to enable the successful response of internal requests.  

Following are some resources you can use to configure this option on a number of popular Load Balancers.  Please note that Blackbaud is unable to assist in the implementation of suggestions from any of these links.  For additional assistance in implementing any of these configuration changes, consult additional support resources for the Load Balancer vendor: 

https://www.commscentral.net/tech/?post=52
https://support.citrix.com/article/CTX215684
https://devcentral.f5.com/articles/configuring-apm-client-side-ntlm-authentication
https://www.barracuda.com/support/knowledgebase/50160000000H9Lt
https://pubs.vmware.com/NSX-62/index.jsp?topic=%2Fcom.vmware.nsx.admin.doc%2FGUID-A781BD86-A40E-4B71-8634-5677CDD52664.html

It is also possible to add Kerberos as a provider to IIS to negate issues with the Load Balancer's handling of NTLM authentication.  

Prior fixes workarounds are still included this solution, below.  

Each of the following items have addressed at least 1 reported occurrence of this issue.  As of 1-30-16, item number 7 has addressed the largest number of reports.

  1. In IIS on the BBAppFx server(s), verify that Windows authentication is enabled for the WebUI folder (http://host/bbAppFX/webui/)
  2. Ensure that 'NT Authority\anonymous logon' is added as an application user, and that it belong to the CRM database roles "Blackbaud Built-In AppFx System User Role" and "Email Services Administrator".
  3. Check bbec.productconfig.xml under the \\AppPath\vroot\browser\brand\current folder and confirm "NoScheduleHeartbeat=true" does not exist as an AppSetting key
  4. Add the following AppSetting to the BBAppFx web.config on all CRM nodes: <add key="HeartbeatEnabled" value="True" />
  5. Ensure that Regional date/time settings are consistent on all machines in the rig (webserver(s) and database server)
  6. In some load balancer configurations/environments, authentication will be lost if a process response lands on a different node than the one from which it originated. One way to prevent this scenario is to pair CRM & BBIS nodes together by adding entries to the Hosts file for each node pair.
  7. On each CRM and BBIS node, apply registry changes provided by Microsoft in Knowledgebase article https://support.microsoft.com/en-us/kb/896861 (note that method 2 has addressed multiple reports).
  8. Manually invoke the endpoint to start the scheduled service.  Contact support for more information on this method.  A script can be created to automate this at a regular interval
  9. In SQL server, right-click the database and select "Properties". Select "Extended Properties". Verify 'bb_DisableScheduledProcesses' is set to 'False'
  10. In the same registry key referenced in step 6, set the following order for the BackConnectionHostNames entires:
    • DSN name
    • Domain machine name
    • IP address
  11. Reboot the web server

Environment

 Blackbaud Internet Solutions

Was this article helpful?