Error 26013. Function InitializeTree2 returned failure in CTX_MF_IMA_InitializeTree2 the database username or password may be wrong

October 31, 2008 by John Tran · Leave a Comment 

If you’re getting the following error message ‘Error 26013. Function InitializeTree2 returned failure in CTX_MF_IMA_InitializeTree2 the database username or password may be wrong’ while installing Citrix Presentation Server try the following.  This is assuming you have tried http://support.citrix.com/article/CTX107977 from Citrix Support.

  1. Create a SQL Database called Citrix.
  2. Please make sure that your SQL Server is configured for SQL Authentication AND NT-Authentication.
  3. Create a SQL Login account and give the user DB Owner rights to the Citrix Database.  If you’re having issues when seeting the DSN using this account use a simple password for example ‘citrix’.
  4. Now start the installation of Citrix Presentation Server
  5. Type in the Citrix Farm and choose SQL Server for your datastore
  6. It will then ask you to create a DSN, type in the description and select the SQL Server using the drop down list.
  7. Now for the important bit – At the question how the SQL Server verify the authenticity of the Login ID: Select “With SQL Server Authentication using a login ID and Password entered by the User.” Use the login details that you created earlierin step 3.
  8. Now select the Citrix database as the default database.
  9. Click Next until you get to test connections.  Make sure the connection is successful and then click finish.

You should now be able to install Citrix Presentation Server without getting the error 26013.

MetaFrame Presentation Server cannot contact the license server Empty error message

October 28, 2008 by John Tran · 4 Comments 

If you receive the following error message “MetaFrame Presentation Server cannot contact the license server Empty” when logging on your Citrix Server, do the following.

  1. Check the Event Log on the Citrix Server
    You should see the following error under the System Log – This computer running MetaFrame Presentation Server will now stop accepting connections. This server is no longer in or could not enter a licensing grace period.
  2. Now check the Event Log on your licensing Server
    You should see the following error under the Application Log Error: 9002, Severity: 17, State: 6
    The log file for database ‘CITRIX’ is full. Back up the transaction log for the database to free up some log space.
  3. If you do not see the following errors then please visit http://support.citrix.com/article/CTX112408
  4. If you do see the errors in your Event Log then you must truncate the inactive transactions in your transaction log and shrink the Citrix transaction log file. The easiest way to do this is to firstly backup your Citrix database log file and then run the following query.

    DBCC SHRINKFILE(CITRIX_log, 10)

Installing NetApp SnapManager for Exchange

October 26, 2008 by John Tran · Leave a Comment 


Before installing NetApp SnapManager for Exchange you will need to have the following software packages.

  • Microsoft Powershell – You can download here
  • Storevault Manager
  • SnapDrive 5.0
  • SnapManager for Exchange

All packages need to be installed on the Exchange Server that you would like to back up. You will also need to make sure that the service account has the correct permissions to access the Exchange Server.

  1. Install Microsoft Powershell
  2. Install StoreVault Manager
  3. Install SnapDrive 5.0  You will need to download the Server hotfix KB931300 which can be found on a previous post called Quick Guide to Creating SQL Luns and Installing SnapManager for SQL
  4. Install SnapManager for Exchange

Next Page »