Application Launch Fails with App-V Server Sync Failed Error

Application Launch Fails with App-V Server Sync Failed Error

book

Article ID: CTX138056

calendar_today

Updated On:

Description

XenDesktop 7.0 Application launch fails with the following error:

"Error: App-V Server Sync Failed."

Background

The packages published to the user, initiating this Sync operation are downloaded on the App-V client machine. This operation can be manual or at every user logon or executed periodically.

Citrix XenDesktop 7.0, as part of App-V integration, uses PowerShell cmdlet of App-V client to download the App-V packages and then start App-V 5.0 virtual applications in these packages using Citrix infrastructure.

Citrix component (CtxAppVLauncher.exe) checks for the availability of the package (containing application being launched) on the Virtual Delivery Agent (VDA) machine. If the package is not synced, the CtxAppVLauncher.exe calls PowerShell cmdlet provided of App-V client to sync/download the given package.

  1. The App-V Publishing Server settings on App-V client control the package sync to occur either during User Logon (LogonRefresh) or periodically (IntervalRefresh). See App-V 5.0 documentation for more details on these settings.

  2. If the package is not available on the machine, the CtxAppVLauncher.exe issues a Sync command on behalf of the launching user on the end-client machine.

Note: The Sync operation issued by CtxAppVLauncher.exe might fail if LogonRefresh or IntervalRefresh occurs simultaneously on the background. During such a failure, the CtxAppVLauncher.exe shows the following error:

Error: "Cannot start Mozilla Firefox: App-V server sync failed"

User-added image

This error is observed when the user attempts to start an application (App-V) on a VDA machine, where App-V packages are not synced earlier. Application launch might fail with the preceding error.

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

  1. Restart the application from Citrix Receiver after a while.

  2. Sync operations issued by App-V client typically complete in couple of minutes. Hence, application launch is successful after a while of the error message.

  3. If the problem persists, see App-V 5.0 Troubleshooting Guide or contact your App-V Administrator.

Issue/Introduction

This article addresses the 'App-V Server Sync Failed’ error. The Sync operation issued by CtxAppVLauncher.exe may fail if LogonRefresh or IntervalRefresh occurs simultaneously on the background.