Remko Weijnen's Blog (Remko's Blog)

About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like

License Check fails on Citrix XenApp

imageToday I was asked to assist in getting an Excel Add-In to work on Citrix XenApp.

The application was packaged into a Thinapp by one of our package engineers.

However when testing the Add-In on Citrix XenApp the following message appeared:

image

Apparently this application does a license check that fails when run from another server (how bad).

Disclaimer
Before we go on: I would like to make clear that my goal is not to be able to use an application without license. I am just trying to make it work within the customer’s environment.

(more…)

  • 0 Comments
  • Filed under: Citrix
  • Another interesting issue today with an application that runs on Citrix XenApp.

    Environment
    Customer has a Citrix XenApp 5 environment running on Windows Server 2003. Clients are all Windows XP and run the Citrix Online Plugin 12.3 full screen.

    RES Workspace Extender is used to integrate locally installed application into the XenApp Session. Users have no access to the local desktop.

    Symptoms
    This particular application scans invoices using a USB scanner attached to the client and runs them trough a workflow.
    Whenever the Start scan button was pressed the application froze.

    SNAGHTML48ec098

     

    (more…)

  • 1 Comment
  • Filed under: Citrix
  • Twain LogoScanners attached to client machines can be used from within a Citrix XenApp session via a mechanism called Twain Redirection.

    For this mechanism to work correctly the file twain_32.dll must be present in the Windows directory.

    On Windows 2008 this dll should be copied from winsxs (side by side) to the windows directory as described in CTX123981.

    On Windows 2003 the dll is already in the correct directory, however applications that are not Terminal Server Aware cannot find this dll because the Windows directory is redirected to the user profile. Citrix recommends copying twain_32.dll to each user’s profile directory but this will take up unnecessary space.

    So what alternatives do we have?

    (more…)

    Within half an hour of writing the article "Application causes Screen Flickering in Citrix XenApp Session" I got a message that the hotfix in that article also fixes a similar problem in PowerPoint 2010.

    Office 2010 uses hardware acceleration for displaying images and when this is enabled (which is the default) you will see constant screen flicker when you try to display a presentation with Images on Citrix XenApp (Server 2003):

    Screen Flickering when running WPF Applications on Citrix XenApp

     

    (more…)

    Yesterday I was asked to troubleshoot an interesting issue with an application running on Citrix XenApp.

    Environment
    This customer is running Citrix XenApp 5 on Windows Server 2003 (x86). On the Client Side the Online Plugin version 12.3 is used.

    The Problem
    When this particular application was active the screen was flickering and black blocks appeared at seemingly random places. Further more it was not possible to resize the window:

    image

    My experience is that display issues are often related to either HDX Flash Redirection (offloading flash to the client) or the Multi Monitor hook.

     

    (more…)

    Citrix License Server Crash

    After updating a Citrix License server from 11.6.1 to 11.10 the Citrix Licensing Service crashed immediately after startup.

    In the Event Log the following error was shown:

    Application Error | Faulting application lmadmin.exe, version 11.10.0.9, faulting module msvcp80.dll, version 8.0.50727.6195, fault address 0x000038db

    I suspected that there was a corrupt licensing file in the MyFiles folder (Default C:\Program Files\Citrix\Licensing\MyFiles).

    (more…)

  • 1 Comment
  • Filed under: Citrix
  • imageI had to troubleshoot an application that was published with Citrix XenApp. The problem with this application was that it didn’t have an button/icon in the taskbar and the window would sometimes disappear.

    I noticed that this (cr)application was written in Visual Basic, so I decided to run it through a decompilation tool.

    The decompiler was able to list the forms used in the Application:

    image

    (more…)

  • 0 Comments
  • Filed under: Citrix, General
  • Excel 2010 multi-threaded calculation

    Excel 2007 IconI was just browsing through the Options tab in Excel 2010 when I noticed the following setting:

    image

     

    This feature was introduced in Excel 2007.
    In the default settings, multi-threaded calculation is Enabled with "Use all processors on this computer".

    On a physical desktop this would be the preferred setting since it will make formula calculation as fast as possible.

    (more…)

  • 10 Comments
  • Filed under: General
  • Decoding Citrix IMA Datastore Password

    This morning Arjan Beijer sent me an interesting link to a youtube video about obtaining the Citrix IMA Datastore password using Windbg.

    The video shows a method, discovered by Denis Gundarev to obtain the IMA Datastore password. Basically he uses DSMaint.exe and set’s a breakpoint on the call to CryptUnprotectData and then reads the password from memory.

    I tried to call the CryptUnprotectData API with the data read from the registry directly but this failed with error NTE_BAD_KEY_STATE, this is defined in winerror.h and it means “Key not valid for use in specified state”.

    (more…)

    Citrix Launcher Progress Update 1

    After figuring out how to encode and decode the Citrix passwords my next step for the upcoming Citrix Launcher is experiment with config.xml and authenticating to the Citrix Web Interface.

    imageI imported the NFuse.dtd from the Citrix Web Interface into Delphi with the XML Data Binding Wizard. The results in an NFuse Unit so I can easily create the XML data.

    To create an authentication packet I use the following code:

    (more…)

  • 0 Comments
  • Filed under: Citrix, Delphi
  • Blogroll


    Categories


    Archives