All Published App-V's do not start - Unknown Application
book
Article ID: CTX464026
calendar_today
Updated On:
Description
After upgrading our Citrix XenApp Environment users are unable to launch published APP-V applications.
Error: "Cannot start unknown application"
Environment
The above mentioned sample code is provided to you as is with no representations, warranties or conditions of any kind. You may use, modify 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 sample code 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 sample code 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 sample code. In no event should the code 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 SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright in the code belongs to Citrix, any distribution of the sample code should include only your own standard copyright attribution, and not that of Citrix. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the sample code.
Resolution
PS C:\WINDOWS\system32> Get-BrokerDesktopGroup | select Name, uid
Name Uid
---- ---
TEST 1
TEST2 4
PS C:\WINDOWS\system32> Get-BrokerMachineConfiguration
ApplicationUids : {}
ConfigurationSlotUid : 4
Description : ApplicationStartDetails: DG : 4
DesktopGroupUids : {}
LeafName : ApplicationStartDetailsDG4
MetadataMap : {}
Name : ApplicationStartDetails\ApplicationStartDetailsDG4
Policy : {176, 159, 0, 0...}
To add a delivery group UID to a ASD
Add-BrokerMachineConfiguration -Name <name from previous command> -DesktopGroup <DesktopgroupUID from first command>
To validate correct deliverygroup UID is assigned to ASD:
Get-BrokerMachineConfiguration -Name <name from previous command>
Problem Cause
Delivery group no longer associated with ASD after upgrade.
When you assign an App-v Application to a delivery group the DDC creates a policy Blob.This ASD (ApplicationStartDetails) Blob contains Appv Application assignments.To review these blobs run:
PS C:\WINDOWS\system32> Get-BrokerConfigurationSlot
Description : ApplicationStartDetails
MetadataMap : {}
Name : ApplicationStartDetails
SettingsGroup : G=ASD
Uid : 4
PS C:\WINDOWS\system32> Get-BrokerMachineConfiguration
ApplicationUids : {}
ConfigurationSlotUid : 4
Description : ApplicationStartDetails: DG : 4
DesktopGroupUids : {}
LeafName : ApplicationStartDetailsDG4
MetadataMap : {}
Name : ApplicationStartDetails\ApplicationStartDetailsDG4
Policy : {176, 159, 0, 0...}
Uid : 268
If assigned to a Delivery group you will see the the delivery group UID present under DesktopGroupUids in the above output. During registration the DDC will determine if an ASD should be sent to a VDA based on their DeliveryGroup MembershipIf there is no DesktopGroupUid present the ASD will not be sent.
Was this article helpful?
thumb_up
Yes
thumb_down
No