Friday, 9 September 2011

Citrix XenApp6 Discovery Fails “Errors occurred when using CTXS-XA1 in the discovery process” An Unexpected Error Occurred


This error may appear when you try to run the discovery process using the Xenapp6 evaluation VHD. I was using the VHD on Hyper-V and decided to change over to VMWare VSphere. I managed to convert the virtual machine to be used on VMWare (using the Standalone Converter That worked fine but the problems started when trying to use XenApp 6 on a VM hosted on Vsphere. I tried using the local Administrator account (the one used to create the original image) but could not run the discovery process using Citrix Delivery Services Console. I then tried this:

  1. Logon as the local Administrator
  2. Try to run the discovery process
  3. If it fails (as it did for me) open a command console
  4. Change directory to the following path: C:\Program Files (x86)\Citrix\Independent Management Architecture
  5. Type the following command: dsmaint config /user:administrator /pwd:Evaluation1 /dsn:"c:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn"
  6. For the password use your local administrator account password
  7. You will see the following output:

    Attempting to connect to the data store with new configuration settings.
    Successfully connected to the data store.
    Configuration successfully changed.
    Please restart the IMA Service for changes to take effect.

  8. Open Services in Admin Tools and stop the Citrix Independent Management Architecture
  9. Using the same command console type the following command: dsmaint recreatelhc
  10. Now restart the Citrix Independent Management Architecture service
  11. Try the discovery process again and it should work!

Thursday, 8 September 2011

Reset Licence Administration Console Password Citrix XenApp 6

If you need to change the administration account (Admin) for Citrix XenApp 6, try the following steps:

  1. Locate the Server.xml file (C:\Program Files (x86)\Citrix\Licensing\LS\conf)
  2. Edit with WordPad
  3. Locate the following entry <user firstName="System" id="admin" lastName="Administrator" password
  4. Delete the encrypted password between quotation marks
  5. Replace with a clear text password of your choice
  6. Set passwordExpired to True
  7. Save the xml file
  8. Restart the Citrix Licensing service
  9. Open the Licence Administration console once more and select Administration
  10. Logon using using the new password. You will be requested to change the password.
  11. Hey Presto!

Sunday, 4 September 2011

Citrix XenApp 6 Fundamentals Installation Has Failed

I had a problem installing XenApp Fundamentals. During the installation process I received an installation error that indicated that the installation had failed and that I should check the ‘Citrix Access Essentials Install Log.txt’

I presumed that installing the program on Server 2008 R2 would be enough. However the setup that finally worked for me was as follows:

  1. Install a fresh 2008 R2 member server
  2. Do not install any roles, features or Windows updates
  3. Configure the correct network settings
  4. Disable the firewall (I prefer this but you may not be able to!)
  5. Join the server to your existing AD domain
  6. Install the .NET 3.5.1 Feature using the Server Manager
  7. Install the Remote Desktop Host services role using Server Manager
  8. Run the Citrix XenApp 6 Fundamentals Installation

If you follow the above procedure, you should be OK. Also when applying a licence, make sure that the name you use is matches the NetBIOS name of the server (case-sensitive).