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.
Note: After creating the CtxIntegrated virtual folder, the anonymous authentication must be disabled and Windows Integrated authentication must be enabled in the virtual directory.
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:
net stop ctxhttp
Run the following command from the command prompt to unregister the Citrix XML Service:
ctxxmlss /u
To configure the Citrix XML service to share a port with IIS 7.x, complete the following procedure:
Select Run from Start menu and type \Inetpub.
Create the Scripts folder in the \Inetpub folder.
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:
In the IIS Scripts folder, create the CtxAdmin folder and copy the ctxadmin.dll file to the \Inetpub\Scripts\CtxAdmin folder.
In the IIS Scripts folder, create the resource folder.
Create the en sub-folder in the resource folder.
Copy the ctxstaui.dll file from \Program Files (x86)\Citrix\System32\resource\en folder to the\Inetpub\Scripts\resource\en folder.
Note:For XenApp 6.x for Windows Server 2008 R2, create de, es, fr, and ja sub-folders in the resource folder. Copy each matched ctxstaui.dll file to each language sub-folder.
Open the IIS Manager console.
In the left-pane, double-click the Server node.
On the server node home page, double-click ISAPI and CGI Restrictions, as displayed in the following screen shot:
From the Actions section, select Add.
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.
(Optional) Type the description of the ISAPI or CGI path in the Description field.
Select the Allow extension path to execute option, as displayed in the following screen shot:
Click OK.
Repeat Steps 11 through 15 to add and allow the following ISAPI extensions:
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 Application Pools.
From the shortcut menu, select Add Application Pool, as displayed in the following screen shot:
In the Add Application Pool dialog box, type CtxScriptsPool in the Name field as displayed in the following screen shot:
From the .NET Framework version list, select NET Framework v2.0.50727.
From the Managed pipeline mode list, select Classic.
Select the Start application pool immediately option.
Click OK.
Repeat Steps 1 through 7 to add and allow ISAPI Extensions for the CtxAdminPool.
To manage and display a list of Application Pools, complete the following procedure:
Right-click CtxScriptsPool in the Application Pools dialog box and select Advanced Settings from the shortcut menu.
In the Advanced Settings dialog box, select Identity from the Process Model section.
From the Built-in account list, select NetworkService, as displayed in the following screen shot:
Note: The NetworkService account needs READ/WRITE access to the scripts directory so it can write logs.
Click OK.
Repeat Steps 1 through 5 to manage CtxAdminPool in the Application Pool.
In the left-pane of the IIS Manager console, select and right-click Default Web Site.
Select Add Application.
In the Add Application dialog box, type Scripts in the Alias field.
Select CtxScriptsPool for Application Pool.
Browse and select the \inetpub\Scripts file for the Physical path field.
Click OK.
In the left-pane of the IIS Manager console, right-click on Scripts application and select Add Application.
Type CtxAdmin in the Alias field.
Select CtxAdminPool for Application Pool.
Browse and select the \inetpub\Scripts\ctxadmin file for the Physical path field.
Click OK.
In the left-pane of the IIS Manager, right-click Scripts application and select Add Virtual Directory.
Type CtxIntegrated in the Alias field.
Browse and select the \inetpub\Scripts file for the Physical path field.
Click OK.
In the left-pane of the IIS Manager, double-click to select Scripts.
In the center-pane, double-click Handler Mappings.
From the right-pane, select Edit Feature Permissions.
Select Execute in the Edit Feature Permissions dialog box. Click OK.
Note: As a result of the setting inheritance from the Scripts application, the ISAPI-Dll mapping is Enabled.
Change the value of XMLChoice to Share from Separate.
KeyName:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\Install\{C05CE041-63DB-4467-B777-9FCB30013CA2}
Name: XMLChoice
Type: REG_SZ
Data: Share
From command prompt, stop and restart the Web server by running the iisreset command. This setting takes effect after the Web server restarts.
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 Management Compatibility | All |