XenApp 5_0 for Windows Server 2008
This article provides resolution to Error: An error occurred while attempting to start the IMA Service.

Symptoms or Error

The error “An error occurred while attempting to start the IMA service” occurs with some or all of the following Event Viewer Event IDs:

  • 3609: Failed to load plug-in IMAPsSs.dll/ImaRuntimeSs.dll with error IMA_RESULT_ACCESS_DENIED.

  • 3612: The Citrix MetaFrame server failed to connect to the data store. IMA_RESULT_ACCESS_DENIED. Invalid database user name or password.

  • 3601: Failed to load initial plug-ins with error IMA_RESULT_ACCESS_DENIED.

  • 7024: The Independent Management Architecture service terminated with server-specific error 2147483670.

The following error message appears when starting the IMA Service:
"Windows could not start the Independent Management Architecture on Local Computer…contact the service vendor, and refer to server-specific error code -2147483626."
See CTX103345 – Errors when Using dsmaint to Connect to the Data Store Database for more information.


Refer to CTX133983 – IMA Helper Tool to resolve the issue.

When running CHFARM, ensure that the screen after creating the Open Database Connection (ODBC), ODBC Driver Access, prompts for a username, password, and to re-enter password containing a user name with a syntax of DomainName\UserName.

When running DSMAINT CONFIG, ensure that the source and destination user name has syntax of DomainName\UserName.

Problem Cause

Running?? CHFARM?? using SQL database configured for Windows authentication causes the error. Running the same commands, in the same environment, using SQL account is successful.

Note: The user account that is used to access the data store on Microsoft SQL Server has public and db_owner roles on the server and database. System administrator account credentials are not needed for data store access; do not use a system administrator account because this poses an inherent security risk.

f the Microsoft SQL Server is configured for mixed mode security (you can use either Microsoft SQL Server authentication or Windows NT authentication), you might want to create a Microsoft SQL Server user account for the single purpose of accessing the data store. Because this Microsoft SQL Server user account would access only the data store, there is no risk of compromising a Windows domain if the user’s password is compromised.

For tighter security, the user account’s permission can be changed to db_reader and db_writer after the initial installation of the database with db_owner permission.

Important!?? Changing the user account’s permission from db_owner might cause problems installing future service packs or feature releases for Presentation Server. Ensure to change the account permission back to db_owner before installing a service pack or feature release for Presentation Server.


Join the conversation

Citrix Discussions

Open a case

Citrix Support