CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

今天使用SERVER 2008,做Citrix 5.0实验,一路安装完成后,打开客户端登录,点击发布的应用程序,没任何反应。

查看应用程序日志同时引出31003和30016两个错误,查询CITRIX网站指出是XML服务异常或farm配置不正确导致。检查farm配置正常,重新加载XML服务无效。

论坛中有人指出可以把XML与IIS集成可以尝试解决问题,方法如下:

Configuring XML Service to Share a Port with IIS on 32 and 64 Bit Versions of Windows Server 2008

Document ID: CTX125107 / Created On: 2010-5-7 / Updated On: 2011-9-14

View products this document applies to CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

Summary

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.

Procedure

To configure XML Service to share the port with IIS on Windows Server 2008 for 32 and 64 bit versions, complete the following procedures:

Stopping and Unregistering the Citrix XML Service

To stop and unregister the Citrix XML service, complete the following procedure:

  1. Run the following command from the command prompt to stop the XML Service: 
    net stop ctxhttp
  2. Run the following command from the command prompt to unregister the Citrix XML Service: 
    ctxxmlss /u

Configuring the Citrix XML Service to Share a Port with IIS 7.x

To configure the Citrix XML service to share the port with IIS 7.x, complete the following procedure:

  1. Select Run from Start menu and type \Inetpub.
  2. Create the Scripts folder in the \Inetpub folder.
  3. Copy the following files to the IIS Scripts folder on the Web server: 
    ctxconfproxy.dll 
    ctxsta.config 
    ctxsta.dll 
    ctxxmlss.txt 
    radexml.dll 
    wpnbr.dll

Notes:

  • 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 \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.
  1. 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.
  2. In the IIS Scripts folder, create the resource folder.
  3. Create the en sub-folder of the resource folder.
  4. Copy the ctxstaui.dll file from the \Program Files\Citrix\System32\resource\en folder to the\Inetpub\Scripts\resource\en folder.
  5. Open the IIS Manager console.
  6. In the left pane, double-click the Server node.
  7. On the server node home page, double-click ISAPI and CGI Restrictions, as displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. From the Actions section, select Add.
  2. In the Add ISAPI or CGI Restrictions dialog box, browse and select the \inetpub\scripts\CtxConfProxy.dll file for the ISAPI or GGI path field.
  3. Optionally, type the description of the ISAPI or CGI path in the Description field.
  4. Select the Allow extension path to execute option, as displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. Click OK.
  2. 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:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

Adding and Allowing ISAPI Extensions for CtxScriptsPool

To add and allow ISAPI extensions for CtxScriptsPool, complete the following procedure:

  1. On the left pane of the IIS Manager console, right-click Application Pools.
  2. From the shortcut menu, select Add Application Pool, as displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. In the Add Application Pool dialog box, type CtxScriptsPool in the Name field as, displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. From the.NET Framework version list, select NET Framework v2.0.50727.
  2. From the Managed pipeline mode list, select Classic.
  3. Select the Start application pool immediately option.
  4. Click OK.

Note: To add and allow ISAPI extensions for CtxAdminPool, complete all the steps in the preceding procedure.

Managing and Displaying a List of Application Pools

To manage and display a list of Application Pool, complete the following procedures:

  1. Right-click CtxScriptsPool in the Application Pools dialog box and select Advanced Settings from the shortcut menu.
  2. In the Advanced Settings dialog box, select Identity from the Process Model section.
  3. From the Built-in-account list, select NetworkService, as displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. Click OK.
  2. Click OK.
  3. Repeat Step 1 through Step 5 to manage CtxAdminPool in the Application Pool.
  4. Right-click CtxAdminPool in the Application Pools dialog box and select Advanced Settings.
  5. To enable the application to run on 64-bit mode, select True for the Enable 32-bit Applications option, as displayed in the following screen shot: 
    Note
    : By default, the applications are created as False so they run in 64-bit mode.

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

Adding Application and Virtual Directory

To add an Application and Virtual Directory in IISC Manager, complete the following procedures:

  1. In the left pane of the IIS Manager console, select and right-click Default Web Site.
  2. Select Add Application, as displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. In the Add Application dialog box, type Scripts in the Alias field, as displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. Select CtxScriptsPool for Application Pool.
  2. Browse and select the \inetpub\Scripts file for the Physical path field.
  3. Click OK.
  4. In the left-pane of the IIS Manager console, right-click on Scripts and select Add Application.

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. Type CtxAdmin in the Alias field, as displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. Select CtxAdminPool for Application Pool.
  2. Browse and select the \inetpub\Scripts\ctxadmin file for the Physical path field.
  3. Click OK.
  4. In the left pane of the IIS Manager, right-click on Scripts and select Add Virtual Directory.

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. Type CtxIntegrated in the Alias field, as displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. Browse and select the \inetpub\Scripts file for the Physical path field.
  2. Click OK.
  3. In the left pane of the IIS Manager, double-click to select Scripts.
  4. In the center pane, double-click Handler Mappings, as displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. From the right pane, select Edit Feature Permissions.
  2. Select Execute in the Edit Feature Permissions dialog box, as displayed in the following screen shot:

CITRIX 5.0,XML服务异常引出事件ID 31003和30016错误

  1. Click OK.

Note: As a result of the setting inheritance from the Scripts application, the ISAPI-Dll mapping is Enabled.

  1. From command prompt, stop and restart the Web server by running the iisreset command. This setting takes effect after the Web server restarts.

Minimum Role Services Required for Web Server (IIS) role

The following table contains information about the Applications and minimum Role Services required for the Web Server (IIS) role:

Application

Role Services

Application Development

ISAPI Extensions and ISAPI Filters

Security

Windows Authentication

IIS 6 Management Compatibility

All

More Information

Refer to the following Knowledge Center articles for more information about operating systems:

It is possible that once the manual steps explained in the Knowledge Center article CTX125107 - Configuring XML Service to Share a Port with IIS on 32 and 64 Bit Versions of Windows Server 2008 are complete, IIS files are not updated if a patch that contains updates to the files in the IIS\Scripts directory is applied to the system

Caution! 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. 
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.

This document applies to:

 依葫芦画瓢配置完,重启IIS,再登录,却引出报错:无法连接服务器。又引出新的报错,相当郁闷,赶忙查系统日志,已经没有报错。不得其解下,想起防火墙没关,马上关闭,再登录,问题解决,哈哈。。。

  本文文档引用:

配置XML服务,共享32位和64位版本的Windows Server 2008IIS端口

http://support.citrix.com/article/CTX125107

  对于SERVER 2003:

配置XML服务共享IIS端口

http://support.citrix.com/article/CTX107683


本文转自 sfih 51CTO博客,原文链接:http://blog.51cto.com/dayday/712009


上一篇:国外厂商虎视眈眈 混合云成国内企业稻草


下一篇:云使用幸运券购买ECS可参加抽奖活动