Event ID 505 Error message in Event Viewer: The Citrix Config Sync Service failed an import. Description: Unknown error occurred.
book
Article ID: CTX238909
calendar_today
Updated On:
Description
The Citrix Config Sync Service failed an import. Event ID 505 seen on the Application Event Logs on Delivery Controllers for every 2 minutes.

Resolution
Work with Technical Support and check the CDF traces that is collected on the Delivery Controllers which is taken while restarting the Citrix Config Synchronization Service and Citrix High Availability service.
See if you can find some errors which says:
Error,"HA::DeleteDatabase caught: System.Data.SqlClient.SqlException (0x80131904): User does not have permission to alter database 'HaImportDatabaseName', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed
RemoveImportDb (UnknownError)",""
Solution
1) Give full permission for Network Service account on C:\Windows\System32\cmd.exe
2) Add the Network Service account to the Local Administrator group.
3) Stop the Citrix High Availability Service on the DDC.
4) Restart the Citrix Configuration Synchronization service on the DDC.
5) Recreate the Local Host Cache on the DDC by following the below article
6) Verify if the LHC files have got recreated fine.
Problem Cause
“Network Service” account unable to update the LocalDB in DDC’s due to not having proper privileges.
This can be because of Server OS Hardening which could have stripped the Network Service account permissions.
Issue/Introduction
The Citrix Config Sync Service failed an import. Event ID 505 - Description: Unknown Error Occurred
You see the above error in the event log for every 2 minutes consistently.
Was this article helpful?
thumb_up
Yes
thumb_down
No