I was unable to delete an Application from my Xenapp 6.5 Farm recently. The next thing i know was, Application Enumeration Failed !!
Error When Deleting the Application from Appcenter Console : Object Not Found
Below were the Errors logged in WebInterface Servers:
Log Name: Application
Source: XenApp Services
Event ID: 30024
Level: Error
Computer:
Description:
Site path: C:\inetpub\wwwroot\Citrix\PNAgent.
The XML document sent by the Citrix servers could not be processed because it contains invalid XML. This message was reported from the XML Service at address . The specified Citrix XML Service could not be contacted and has been temporarily removed from the list of active services. [Unique Log ID: 63bae6c6]
Log Name: Application
Source: XenApp Services
Event ID: 31003
Level: Error
Computer:
Description:
Site path: C:\inetpub\wwwroot\Citrix\PNAgent.
All the Citrix XML Services configured for farm failed to respond to this XML Service transaction. [Unique Log ID: ef2889c6]
Since i know which Application was causing the issue, I executed below commands to forcefully remove from DataStore.
Dscheck /Full Apps “AppName” /DeleteMF
and
Dscheck /Full Apps “AppName” /DeleteComapp
/DelteMF : When used with Apps Option, This will delete Metaframe Application Entry from DataStore.
/DeleteCom: Deletes Common Application Entry From DataStore. Sometimes you will need to run “DeleteMF and /DeleteComApp” Switches right after each other to remove a tomb stone data.
*** This Issue Might Occur if the Application name exceeds 38 Characters or if there is a Space in front of the Application name. As per http://support.citrix.com/article/CTX122085
If you don’t know which application is causing the issue, Run CDF Trace on XML Modules and Search for IMA Errors. Refer http://support.citrix.com/article/CTX122085