Symptoms or Error
A pub??¨lished application is running from a network share as a mapped drive. In this example, the path to the executable is W:\windows\system32\notepad.exe. Launching the published application from a XenApp 6 2008 R2 servers generate the following error(s):
“Citrix online plug-in could not contact the server. Please check your network connection.”
“The remote server failed to execute the application launch request. Please contact your administrator for further details.”
The online plug-in refreshes the application. The server event viewer shows an error as following:
“Application XYZ is published to the server X, but the command line?? w:\windows\system32\notepad.exe?? is not valid on X. Verify the correct servers and/or work groups are assigned to XYZ and ensure that the application is installed on X.”
Where XYZ is the application name and X is the server name.
For the application to launch, the drive must be mapped first for the user launching the session. No error occurs while launching the application in a published desktop, however a published application fails.
Solution
For XenApp 6.0
-
Publish a batch file that maps the network drive and then calls the application. The path through UNC can also be published, however certain applications require a drive letter and are also run from a network share. A simple batch file for this example could be similar to the following code:
net use w: \\server-name\share-name??
w:\windows\system32\notepad.exe -
Name this batch file?? my-app.cmd?? and save it to a local drive such as?? C:\. In the published application location, map to the batch file rather than the network drive location.
Citrix has released a hotfix that can be used to disable the?? Application Installation Check.
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\IMA
Name: DisableAppInstallCheck
Type: REG_DWORD
Data: 1 (allow published applications to reside on mapped network drives); 0 (do not allow published applications to reside on mapped network drives)
Note: This issue does not occur in other versions of XenApp and Presentation Server.
[From XA600W2K8R2X64016][#242170]
For XenApp 6.5
In XenApp 6.5, configure the application check using PowerShell:
- Check the current state of the application. This example uses a published application named Notepad.
PS > Get-XAApplication -BrowserName Notepad … LoadBalancingApplicationCheckEnabled : True …
- Set the application to not check prior to load balancing:
PS > Set-XAApplication -LoadBalancingApplicationCheckEnabled $false
- For more details??& run get-help Get-XAApplication:
-LoadBalancingApplicationCheckEnabled <Boolean> Enable application installation check during load balancing.Required? false Position? named Default value N/A Accept pipeline input? true (ByPropertyName) Accept wildcard characters? false
Problem Cause
XenApp 6.0 adds a new check called the??& Application Installation Check??& during load balancing to ensure that the published application exists on the server. The Citrix Services Manager service now ensures that the file specified in the application command line exists on the server selected by load balancing. If this check fails, the error message listed above in the event log of the server is displayed.
Note: Because the Application Installation Check is performed before the user session is created, user environment variables can no longer be used in an application command line. Only system environment variables are supported in XenApp 6.0.The application installation check retries load balancing up to five times to return a valid server to the user. This check is intended to prevent a few misconfigured servers from creating a black hole condition in the XenApp farm. However, administrators must always make sure that applications are installed at the correct locations on the correct servers, and not rely on this check for day-to-day load balancing.
Additional Resources
CTX131514 -??& How to Disable Application Installation Check Option in XenApp 6.5
CTX966450 -??& How to Publish an Application Using a Shortcut (.lnk file)
Supporto Citrix
Traduzione automatica
Questo articolo ??& ¨ stato tradotto da un sistema di traduzione automatica e non ??& ¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ??& ¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.