Database Connectivity Warnings in XenDesktop 5.x
book
Article ID: CTX139417
calendar_today
Updated On:
Description
XenDesktop 5.x Broker service logs database connectivity warnings in the Event viewer in a Clustered or Mirrored SQL environment. There might not be any problems experienced by the users apart from the repeated events found in the event logs:
Warning Citrix Broker Service 1201 None The connection between the Citrix Broker Service and the database has been lost.
Information Citrix Broker Service 1200 None The connection between the Citrix Broker Service and the database has been restored.
These events could be logged at the same time indicating that the disruption if any, was very small.
Environment
This software application is provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that: (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the software application be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the software application.
Resolution
Microsoft has released a fix for the issue and is documented in FIX: Time-out error when a mirrored database connection is created by the .NET Framework data provider for SQLClient.
Note: The above documentation is not accessible as the problem was seen in Windows Server 2008 R2 SP1 and XenDesktop 5.x may not be applicable to newer versions.
Problem Cause
These warnings are recorded when there is a disruption to the database connectivity. However, because of a certain error in the connection-retry algorithm used by SQL Provider, these events can also be recorded even when there is no apparent disruption to database connectivity.
Issue/Introduction
Database Connectivity Warnings in XenDesktop 5.x
Additional Information
Installing the hotfix is the recommended option.
As a workaround, modify the XenDesktop Database Connection strings as shown:
Server=<SQLServerName>;Database=<DBName>;Trusted_Connection=true;Failover Partner=<SQLSrvName>;Connection Timeout=150;Min Pool Size=20
Was this article helpful?
thumb_up
Yes
thumb_down
No