Citrix client connection failure due to Access Gateway service failure

Posted on 2009-04-25
Last Modified: 2013-11-11
I have a problem with a Citrix Access Gateway that controls access to my two Citrix PS4.5 serves. Prior to yesterday afternoon all was fine and has been for at least a few months. Then the clients could not connect to the Citrix Servers via web browsers which would return an HTTP 500 internal server error. The clients connect to a Windows 2003 SP1 server with IIS 6 installed, running the Citrix Access Gateway Advanced Edition (version either internally or through a Citrix Access Gateway appliance if theyre external. The appliance has this server configured as an endpoint but the log shows that it cannot connect to it. The server has all Citrix services running except for the Citrix Deployment Server service which starts and then stops immediately. The following error appears in the event log after it has stopped.
Event Type:      Error
Event Source:      CtxMsamDeployment
Event Category:      None
Event ID:      0
Date:            25/04/2009
Time:            12:13:49
User:            N/A
Computer:      FILESERVER
An error occurred while starting the service. The required setting 'DeploymentSchedulerInterval' cannot be loaded.

Im unable to get into the Access Gateway Server Configuration Tool, presumably because the service is stopped. The domain account the service runs under has not been changed and the other Citrix services also run under this account without a problem. I have checked the ODBC connection to the Access Gateway database running on a separate SQL 2000 server and it connects fine. Needless to say I have rebooted both the Gateway server, CAG, both Citrix servers and the database server to try and clear the problem.

There are also a number of COM+ errors in the event viewer which occur when the gateway is accessed. Here is the error-

Event Type:      Error
Event Source:      COM+
Event Category:      (98)
Event ID:      4826
Date:            25/04/2009
Time:            12:59:01
User:            N/A
Computer:      FILESERVER
A COM+ service (such as Queued Components or Compensating Resource Manager) failed an ApplicationLaunch event.  If this problem continues, try disabling CRM and/or QC on your application. If you are using QC, make sure that Message Queuing is installed. The service GUID and HRESULT are: {666F1874-46B6-4149-BD55-8C317FB73CC0}

Server Application ID: {666F1874-46B6-4149-BD55-8C317FB73CC0}
Server Application Instance ID:
Server Application Name: Access Gateway Server
The serious nature of this error has caused the process to terminate.
Error Code = 0x80131534 :
COM+ Services Internals Information:
File: d:\nt\com\complus\src\comsvcs\srgtapi\csrgtserv.cpp, Line: 322
Comsvcs.dll file version: ENU 2001.12.4720.2517 shp

The same error occurs when trying to start the Access Gateway Server component in Admin Tools\ Component Services.

Im going to try restoring the Citrix system files and registry from the last backup to see if this will get things working but if anybody has any ideas how I can get this back to a working configuration quickly, Id be very grateful.

Thanks for your help
Question by:gremlin150
    LVL 11

    Accepted Solution

    If the restore doesn't do the trick, I'd suggest doing a repair of the install using the software. Sounds like the COM+ system has become corrupt. Any new patches been applied?

    Author Comment

    Hi pfclloker

    No new patches have been applied. The restore didn't work in the end. I had to do a complete re-installation of the software and IIS, pretty much rebuilt the entire server. This is my advice to anyone who comes accross this problem.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
    David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
    How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
    In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now