今天使用SERVER 2008,做Citrix 5.0實驗,一路安裝完成後,打開用戶端登入,點選釋出的應用程式,沒任何反應。
檢視應用程式日志同時引出31003和30016兩個錯誤,查詢CITRIX網站指出是XML服務異常或farm配置不正确導緻。檢查farm配置正常,重新加載XML服務無效。
論壇中有人指出可以把XML與IIS內建可以嘗試解決問題,方法如下:
Document ID: CTX125107 / Created On: 2010-5-7 / Updated On: 2011-9-14
<a href="http://support.citrix.com/#prodrelated">View products this document applies to </a>
<b>Summary</b>
This article contains information about configuring XML Service to share a port with Internet Information Systems (IIS) on 32 and 64 bit versions of Windows Server 2008.
<b>Procedure</b>
To configure XML Service to share the port with IIS on Windows Server 2008 for 32 and 64 bit versions, complete the following procedures:
To stop and unregister the Citrix XML service, complete the following procedure:
Run the following command from the command prompt to stop the XML Service:<b> </b>
net stop ctxhttp
Run the following command from the command prompt to unregister the Citrix XML Service:<b> </b>
ctxxmlss /u
To configure the Citrix XML service to share the port with IIS 7.x, complete the following procedure:
Select <b>Run</b> from Start menu and type \Inetpub.
Create the <b>Scripts</b> folder in the \Inetpub folder.
Copy the following files to the IIS <b>Scripts</b> folder on the Web server:
ctxconfproxy.dll
ctxsta.config
ctxsta.dll
ctxxmlss.txt
radexml.dll
wpnbr.dll
<b>Notes:</b>
For a 64 bit server you must change the application pools advanced setting to enable 32 bit applications
The 64-bit script files are installed in the <b>\</b>Program Files\Citrix\System32 folder and 32-bit script files are installed in the \Program Files(x86)\Citrix\System32 folder during XenApp installation. In this procedure, only 64-bit installation is considered.
For 32-bit installation, replace the folder path appropriately.
The default Scripts folder is available in the \Inetpub folder.
When installing IIS 7.x, the virtual Scripts folder is not created by default.
In the IIS Scripts folder, create the CtxAdmin folder and copy the ctxadmin.dll file from the \Program Files\Citrix\System32 folder to the \Inetpub\Scripts\CtxAdmin folder.
In the IIS Scripts folder, create the <b>resource </b>folder.
Create the <b>en </b>sub-folder of the resource folder.
Copy the <b>ctxstaui.dll</b> file from the \Program Files\Citrix\System32\resource\en folder to the\Inetpub\Scripts\resource\en<b> </b>folder.
Open the IIS Manager console.
In the left pane, double-click the <b>Server</b> node.
On the server node home page, double-click<b> ISAPI and CGI Restrictions</b>,<b> </b>as displayed in the following screen shot:
From the Actions section, select <b>Add</b>.
In the Add ISAPI or CGI Restrictions dialog box, browse and select the <b>\inetpub\scripts\CtxConfProxy.dll </b>file for the ISAPI or GGI path field.
Optionally, type the description of the ISAPI or CGI path in the Description field.
Select the <b>Allow extension path to execute</b> option, as displayed in the following screen shot:
Click <b>OK</b>.
Repeat Step 11 through Step 15 to add and allow the following ISAPI extensions:
\inetpub\scripts\CtxConfProxy.dll
\inetpub\scripts\ctxsta.dll
\inetpub\scripts\radexml.dll
\inetpub\scripts\wpnbr.dll
\inetpub\scripts\CtxAdmin\ctxadmin.dll
The following screen shot displays the required ISAPI extensions added and allowed:
To add and allow ISAPI extensions for CtxScriptsPool, complete the following procedure:
On the left pane of the IIS Manager console, right-click <b>Application Pools</b>.
From the shortcut menu, select <b>Add Application Pool</b>,<b> </b>as displayed in the following screen shot:
In the Add Application Pool dialog box, type <b>CtxScriptsPool</b> in the Name field as, displayed in the following screen shot:
From the.NET Framework version list, select <b>NET Framework v2.0.50727</b>.
From the Managed pipeline mode list, select <b>Classic</b>.
Select the <b>Start application pool immediately </b>option.
Click <b>OK</b>.<b></b>
<b>Note</b>: To add and allow ISAPI extensions for CtxAdminPool, complete all the steps in<b> </b>the preceding<b> </b>procedure<b>.</b>
<b>Managing and Displaying a List of Application Pools</b>
To manage and display a list of Application Pool, complete the following procedures:
Right-click <b>CtxScriptsPool</b> in the Application Pools dialog box and select Advanced Settings from the shortcut menu.
In the Advanced Settings dialog box, select <b>Identity </b>from the Process Model section.
From the Built-in-account list, select <b>NetworkService</b>, as displayed in the following screen shot:
Click<b> OK</b>.
Repeat Step 1 through Step 5 to manage CtxAdminPool in the Application Pool.
Right-click CtxAdminPool in the Application Pools dialog box and select <b>Advanced Settings</b>.
To enable the application to run on 64-bit mode,<b> </b>select <b>True</b> for the Enable 32-bit Applications option, as displayed in the following screen shot:<b> </b>
Note: By default, the applications are created as False<b> </b>so they run in 64-bit mode.
<b>Adding Application and Virtual Directory</b>
To add an Application and Virtual Directory in IISC Manager, complete the following procedures:
In the left pane of the IIS Manager console, select and right-click <b>Default Web Site.</b>
Select <b>Add Application</b>, as displayed in the following screen shot:
In the Add Application dialog box, type <b>Scripts</b> in the Alias field, as displayed in the following screen shot:
Select <b>CtxScriptsPool</b> for Application Pool.
Browse and select the <b>\inetpub\Scripts</b> file for the Physical path field.
In the left-pane of the IIS Manager console, right-click on <b>Scripts</b> and select <b>Add Application</b>.
Type <b>CtxAdmin</b> in the Alias field, as displayed in the following screen shot:
Select <b>CtxAdminPool</b> for Application Pool.
Browse and select the <b>\inetpub\Scripts\ctxadmin</b> file for the Physical path field.
In the left pane of the IIS Manager, right-click on <b>Scripts</b> and select <b>Add Virtual Directory</b>.
Type <b>CtxIntegrated</b> in the Alias field, as displayed in the following screen shot:
Browse and select the <b>\inetpub\Scripts </b>file for the Physical path<b> </b>field.
In the left pane of the IIS Manager, double-click to select <b>Scripts.</b>
In the center pane, double-click <b>Handler Mappings</b>,<b> </b>as displayed in the following screen shot:
From the right pane, select <b>Edit Feature Permissions</b>.
Select <b>Execute</b> in the <b>Edit Feature Permissions</b> dialog box, as displayed in the following screen shot:
<b>Note</b>: As a result of the setting inheritance from the Scripts application, the <b>ISAPI-Dll</b> mapping is <b>Enabled</b>.
From command prompt, stop and restart the Web server by running the <b>iisreset </b>command. This setting takes effect after the Web server restarts.
<b>Minimum Role Services Required for Web Server (IIS) role</b>
The following table contains information about the Applications and minimum Role Services required for the Web Server (IIS) role:
<b>Application</b>
<b>Role Services</b>
Application Development
ISAPI Extensions and ISAPI Filters
Security
Windows Authentication
IIS 6 Management Compatibility
All
<b>More Information</b>
Refer to the following Knowledge Center articles for more information about operating systems:
<b>Caution</b>! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.<b> </b>
Note: If end-users complete the procedures in this article they must change the registry key manually and then copy the IIS files to the IIS\Scripts directory manually.
<a href="http://support.citrix.com/product/xa/v5.0_2008/">XenApp 5.0 for Windows Server 2008 x64</a>
<a href="http://support.citrix.com/product/xa/v5.0_2008/">XenApp 5.0 for Windows Server 2008 x86</a>
<a href="http://support.citrix.com/product/xa/v6.0_2008r2/">XenApp 6.0 for Windows Server 2008 R2</a>
依葫蘆畫瓢配置完,重新開機IIS,再登入,卻引出報錯:無法連接配接伺服器。又引出新的報錯,相當郁悶,趕忙查系統日志,已經沒有報錯。不得其解下,想起防火牆沒關,馬上關閉,再登入,問題解決,哈哈。。。
本文文檔引用:
配置XML服務,共享32位和64位版本的Windows Server 2008IIS端口
<a href="http://support.citrix.com/article/CTX125107">http://support.citrix.com/article/CTX125107</a>
對于SERVER 2003:
配置XML服務共享IIS端口
<a href="http://support.citrix.com/article/CTX107683">http://support.citrix.com/article/CTX107683</a>
本文轉自 sfih 51CTO部落格,原文連結:http://blog.51cto.com/dayday/712009