Customers who viewed this article also viewed

Citrix Broker Service fails to initialize XML services with the error: Input string was not in a correct format

On a Xendesktop Delivery controller the Citrix Broker service is shown as running but fails to initialize XML services. Registering XML to other Port (other than Port 80) does not fix the issue. Runningnetstat anoon a Controller Server does not list the Registered XML port.

In the Event Logs, the following events are displayed the Citrix Broker Service is started:

Log Name: Application Source: Citrix Broker Service Date: 5/8/2012 11:50:03 PM Event ID: 2001 Task Category: None Level: Warning Keywords: Classic User: N/A Computer: Description: The Citrix Broker Service failed to initialize XML services. The services will attempt to initialize again in approximately 1 minute(s). Exception Input string was not in a correct format. of type System.FormatException. Log Name: Application Source: Citrix Broker Service Date: 5/9/2012 6:23:50 PM Event ID: 2103 Task Category: None Level: Warning Keywords: Classic User: N/A Computer: DDC.DOMAIN.LOCAL Description: An unexpected exception occurred while the Citrix Broker Service processed an XML transaction.

An incompatible client might be trying to access the XML service. Verify the compatibility of clients accessing the service. If this problem persists, reinstall the Citrix XenDesktop Controller.

Exception Type: Citrix.Cds.Broker.DAL.DALUnknownLaunchTokenException

Exception Call Stack: at Citrix.Cds.Broker.DAL.BrokerCoreDAL.DeleteBrokeredSessionOnPrepareFailure_TXW(CdsTx _tx, String launchToken, Boolean markWorkerAsBad)

at Citrix.Cds.DAL.BaseTxProvider.RunBatch(CdsTx tx, CdsTxAction txAction, String txName, Int32 retryNumber, Exception& originalException)

at Citrix.Cds.DAL.BaseTxProvider.Execute(String txName, CdsTxOptions txOptions, CdsTxAction txAction)

at Citrix.Cds.Broker.DAL.GeneratedBrokerDAL.DeleteBrokeredSessionOnPrepareFailure(String launchToken, Boolean markWorkerAsBad)

at Citrix.Cds.Broker.SessionLauncher.PrepareSession(LaunchPrepareRequest request)

at Citrix.Cds.Broker.XmlHelper.PrepareForLaunch(LaunchPrepareRequest request)

at Citrix.Cds.Xms.Wpnbr.AddressTransaction.HandleRequest(IXmlMultiplexer multiplexer)

at Citrix.Xms.XmlSupport.XmlPerf.WrapTransaction(Type t, Action transaction)

at Citrix.Cds.Xms.Wpnbr.WpnbrServer.HandleRequest(HttpListenerRequest request, WindowsIdentity identity)

The Citrix XML Service object was not found: 404 Not Found. This message was reported from the XML Service at address [com.citrix.xml.NFuseProtocol.RequestAppData]. The specified Citrix XML Service could not be contacted and has been temporarily removed from the list of active services. [Unique Log ID: 3a114421]

Site path: C:\inetpub\wwwroot\Citrix\DesktopWeb.

The Citrix XML Service or the Citrix servers might be unavailable or temporarily overloaded: 503 Service Unavailable.

This message was reported from the XML Service at address. The specified Citrix XML Service could not be contacted and has been temporarily removed from the list of active services. [Unique Log ID: 76e8001e]

Log Name: Application Source: Citrix Web Interface Date: 5/8/2012 11:13:55 PM Event ID: 31003 Task Category: None Level: Error Keywords: Classic User: N/A Computer: DDC.DOMAIN.LOCAL Description: Site path: C:\inetpub\wwwroot\Citrix\DesktopWeb.

All the Citrix XML Services configured for farm Farm1 failed to respond to this XML Service transaction. [Unique Log ID: f2c795e4]

For specific information about this message, see theWeb Interface documentation.

To resolve the issue, complete the following steps on the Xendesktop Delivery Controller:

Note: When you restart Broker Service, all the events related to the XML must stop.

On the Controller server, perfmon fails to upload the basic System counters such as memory, I/O, and Process. In the CDF trace taken on Controller while restarting the Broker Service, the following error is seen:

CdsBroker:2:1:SessionLauncher: Failed to initialize performance counter (System.FormatException: Input string was not in a correct format.).

In XenDesktop environment post XenDesktop 5.0, the Citrix XML service runs in the context of Citrix Broker Service and not as an individual service.

CTX127945 -How to Change the XML Port in XenDesktop 5.x Releasesto unregister the XML port on XenDesktop 5.5.

CTX132461 -XenDesktop VDA Error: An error occurred while making the requested connection

Open a ticket online for technical assistance with troubleshooting, break-fix requests, and other product issues.

WithCustomer Success Services, you can chat with a Technical Support agent about simple issues, rather than open a case.

Get called back by an engineer for assistance with troubleshooting complex issues.

Search for an answer or post a question to members of the Citrix Discussions community.