EventID:505 is Logged Repeatedly Even After LHC is Created Again

EventID:505 is Logged Repeatedly Even After LHC is Created Again

book

Article ID: CTX235808

calendar_today

Updated On:

Description

EventID:505 is reported repeatedly on the one of the DDCs.

 

Resolution

Re-create LHC again with correct steps described in CTX228758 - How to recreate Local Host Cache on XenApp/XenDesktop 7.12 or later .

Problem Cause

This happens when users still have HaDatabaseName_log.ldf and HaImportDatabaseName_log.ldf in C:\Windows\ServiceProfiles\NetworkService\ folder even after LHC recreation.

On the other hand, HaDatabaseName.mdf, HaImportDatabaseName.mdf was not there.

If all 4 files (HaDatabaseName.mdf, HaImportDatabaseName.mdf ,HaDatabaseName_log.ldf and HaImportDatabaseName_log.ldf) are not deleted in LHC recreation step described in CTX228758, it doesn't complete and cause EventID:505.