Citrix Director: "Check Network Your Connection or View Server Event Logs for Future Information"

Citrix Director: "Check Network Your Connection or View Server Event Logs for Future Information"

book

Article ID: CTX214741

calendar_today

Updated On:

Description

When attempting to navigate to the Filter page in Citrix Director user is presented with the following error: "Unexpected error. Check your network connection or view server event logs for future information".
 

Resolution

Enure that you first create a backup of the Database and take snapshots of all Delivery Controller servers.

To resolve the issue please perform following steps:
1. Stop the Monitoring Service on all of the Delivery Controller servers;
2. In Citrix Studio, on one of the Delivery Controller servers, select Configuration and then click on Monitoring under the Databases section. On the right-hand side under Monitoring click on Change Database. Remove the space between the comma after the Server name and the port number > save the change.
3. Start the Monitoring service. 



The issue can also be resolved using PowerShell, following the steps below:

  1. Stop Monitor Data Collection,
    • Delivery Controller server > powershell
    • Set-MonitorConfiguration -DataCollectionEnabled $false
  2. Rename the database without a whitespace. You can do this by using SQL Management Studio.
  3. In Delivery Controller Powershell, run following commands
    • Set-MonitorDBConnection -DataStore Monitor -DBConnection $null
    • Set-MonitorDBConnection -DataStore Monitor -DBConnection "Server=Yoursqlserver;Initial Catalog=YourNewMonitoringDBName;Integrated Security=True"
  4. Start data collection 
    • Set-MonitorConfiguration -DataCollectionEnabled $True

Problem Cause

Issue is caused by extra space in a Monitor DB connection string, which is represented between the comma after the SQL server name and the SQL port.

Example with the space:
  • Server=SQL.domain.com, 1499;Initial Catalog=MonitorDB;Integrated Security=true
  • Server=SQL.domain.com, 1499;Initial Catalog=Monitor DB;Integrated Security=true

Example without the space:
  • Server=SQL.domain.com,1499;Initial Catalog=MonitorDB;Integrated Security=true

 

Issue/Introduction

When attempting to filter results in Citrix Director, following error is returned "Unexpected error. Check your network connection or view server event logs for future information"

Additional Information

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/2203-ltsr/technical-overview/databases#set-up-the-databases-from-the-site-creation-wizard

Specify the database names and addresses (location) on the Databases page in the site creation wizard. (See Database address formats.) To avoid potential errors when Director queries the Monitor Service, do not use whitespace in the name of the monitoring database.