Extensible Transformation Engine (XTE) Service connection fails on cloned server and opening the Web Interface gives the “503 Service Unavailable” error.
The following event log entry is also observed in the cloned server:
Log Name: Application Source: Microsoft-Windows-IIS-W3SVC-WP Event ID: 2307 Task Category: None Level: Error Keywords: Classic User: N/A Description: The worker process for application pool 'CtxScriptsPool' encountered an error 'Failed to decrypt attribute 'password' trying to read configuration data from file '\\?\C:\inetpub\temp\apppools\CtxScriptsPool.config', line number '150'. The data field contains the error code. Log Name: System Source: Microsoft-Windows-WAS Date: Event ID: 5203 Task Category: None Level: Error Keywords: Classic User: N/A Computer: Description: A process serving application pool 'CitrixWebInterface5.3.0AppPool' reported a failure trying to read configuration during startup. The process id was xxx. Please check the Application Event Log for further event messages logged by the worker process on the specific error. The data field contains the error number.
To resolve this issue, complete the following steps before running the SysPrep tool:
After installing XenApp 6, do not configure XenApp 6.
Download DeleteNode (see attachment), and save it in any location, for example, C:\Program Files (x86)\Common Files\Citrix\.
Note: This Script creates a backup of the applicationHost.config file with the extension .citrix_bak in the same location.
Open the C:\Windows\System32\sysprep\unattend.xml file.
Under the node <component name="Microsoft-Windows-Shell-Setup"> in the .xml file, which is present under the node <settings pass="oobeSystem">, add the following snippet:
<FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>C:\PostSetup.bat</CommandLine> <Description>runs post setup commands that finalize the system</Description> <Order>1</Order> </SynchronousCommand> </FirstLogonCommands>
Create the C:\PostSetup.bat file. This file contains the commands that must run after the first logon.
Note: The PostSetup.bat file is mentioned in the node <CommandLine> in Step 4. You can use any valid file name for this batch file within any location.
Add the following lines to the PostSetup.bat file, to execute the VB Script and restart the Internet Information Services (IIS):
Note: This file can contain other commands apart from the following commands:
cscript "C:\Program Files (x86)\Common Files\Citrix\DeleteNode"
iisreset
Run the SysPrep tool.
To resolve this issue, complete the following steps after running the SysPrep tool:
Download DeleteNode (see attachment).
Extract the .vbs file and copy it to C:\Program Files (x86)\Common Files\Citrix.
Run the following command from the command prompt:
cscript "C:\Program Files (x86)\Common Files\Citrix\DeleteNode"
Restart IIS or run the iisreset command.
Copy the C:\Windows\System32\inetsrv\config\applicationHost.config file to another location before updating this file.
Open the C:\Windows\System32\inetsrv\config\applicationHost.config file.
Locate the <configProtectedData> node.
Delete the node from <configProtectedData> to </configProtectedData>.
Save the file.
Restart IIS or run the iisreset command.
This error might occur because the IIS 7 does not function correctly when the Microsoft SysPrep process is active.