Microsoft KB Archive/922732

= Error message when an ASP program tries to connect to a Citrix MetaFrame installation: &quot;An error occurred while attempting to connect to the MetaFrame servers&quot; =

Article ID: 922732

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Server

-





SYMPTOMS
When an Active Server Pages (ASP) program tries to connect to a Citrix MetaFrame installation or a Citrix MetaFrame 1.8 installation, Internet Information Services (IIS) 5.0 stops responding. This problem occurs when the following conditions are true:
 * The server that hosts the Citrix MetaFrame installation or the Citrix MetaFrame 1.8 installation is running Microsoft Windows 2000 with Service Pack 4 (SP4).
 * The server that hosts the ASP programs and IIS is also running Windows 2000 with SP4.

If you remove the &quot;On Error Resume Next” statements from the code of the ASP program, and then you run the ASP program, you receive the following error message:

ERROR: The Citrix MetaFrame servers cannot process your request at this time. An error occurred while attempting to connect to the MetaFrame servers. Please make sure that the Citrix XML Service is running on the MetaFrame servers and listening on a valid port. If the Citrix XML Service is configured to share ports with the Internet Information Service (IIS), please make sure that the IIS WWW service is running.

The segment of code that generated the error message is provided as follows: Set gateway = Server.CreateObject(&quot;com.citrix.nfuse.CitrixWireGateway&quot;) Set appEnumerator = gateway.getAppEnumerator&quot;



CAUSE
This issue may occur if the ASP programs use the NFuse add-in component to connect to the Citrix MetaFrame installation.



RESOLUTION
To resolve this issue, install the hotfix that Microsoft Knowledge Base article 824309 describes. For more information about the hotfix, click the following article number to view the article in the Microsoft Knowledge Base:

824309 Very long logon and logoff times when you try to connect to Citrix MetaFrame or Citrix 1.8



MORE INFORMATION
The following code generates the error message: Set gateway = Server.CreateObject(&quot;com.citrix.nfuse.CitrixWireGateway&quot;) Set appEnumerator = gateway.getAppEnumerator&quot;

Keywords: kbexpertiseadvanced kbtshoot KB922732

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.