Daniele Tosatto

Application delivery and virtualization news

During the sequencing process of Microsoft Office 2010 on Windows Vista Service Pack 1 (SP1) or Service Pack 2 (SP2) using the Microsoft App-V 4.6 sequencer you may get the following error:

The application has failed to start because its side-by-side configuration is incorrect

image

You may also receive an error similar to the following when launching PowerPoint:

The application failed to initialize properly (0xc0150002). Click OK to terminate the application.

clip_image002

This can occur because of an issue between the VC++ Redistributables used in Windows Vista and the way the App-V 4.6 Sequencer handles them.  Also note that this issue only occurs with Windows Vista.  If you’re using Windows 7 then you shouldn’t run into this issue.

Unfortunately deleting files and replacing them really doesn’t work but the resolution is actually very simple. To avoid this issue, during sequencing only launch Word and Excel, then configure the Windows Update settings and toolbars as wanted. Don’t launch PowerPoint and Access at this point.  Once the sequence is complete you can stream down the package to Windows Vista machines and they should launch with no problems.

Here are some links for Office 2010 Guides and Deployment kits:

Prescriptive guidance for sequencing Office 2010 in Microsoft App-V

Microsoft Office 2010 Deployment Kit for App-V

This article describes how to install Citrix Receiver 11.1 on Ubuntu.

Requirements

Ubuntu, Citrix Receiver 11.1, OpenMotif 2.3.1

Background

Citrix Receiver 11.1 for Ubuntu (Debian) requires OpenMotif 2.3.1 or greater if you plan to use the GUI for connections. The procedure below installs OpenMotif and Citrix Receiver 11.1.

If you do not require the GUI and only plan to use Web Interface, you do not have to install OpenMotif.

Procedure

The steps to complete the task are as follows:

Installing Citrix Receiver 11.1 on Ubuntu

Prerequisites

Citrix Receiver for Linux v11.1 requires OpenMotif v2.3.1 or greater to use the Graphical User Interface (Custom ICA Connections and PNAgent).

OpenMotiv 2.3.1 is not available as a Ubuntu (Debian) Package at the time of this writing. The current version available using the APT package manager is 2.2.3-4.

The first step in this configuration is to install OpenMotif 2.3.1.

Download OpenMotif 2.3.1. You can find this in the download section of motifzone.net. http://www.motifzone.net/filebrowser/openmotif/2.3/2.3.1

You can install OpenMotif 2.3.x by converting the RPM pack to DEB using Alien. Alien is a program that converts between Red Hat RPM, Debian DEB, Stampede SLP, Slackware TGZ, and Solaris PKG formats. The first method described in this article will convert the RPM package to a DEB package.

  1. Install OpenMotif 2.3.1.
  2. Convert RPM to DEB:
    a. Download the RPM package from the website.

    http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.3/openmotif-2.3.3-1.el5.3.i386.rpm

    b. Install Alien if not already installed:
    sudo apt-get install alien

    c. Convert RPM to DEB:
    sudo alien –d openmotif-2.3.3-1.el5.3.i386.rpm

    d. Install the DEB Package:
    sudo dpkg –i openmotif-2.3.3-2_i386.db

  3. Install using Ubuntu/Debian package:
    You can still technically install libmotif3 using the Ubuntu/Debian package manager and create a symbolic link to the required libraries.
    sudo apt-get install libmotif3
    sudo ln –s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so.4
  4. Install the ICA Client.
    Download the Receiver from the Citrix website at:

    http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186&c1=sot2755

    There are two ways to install: from the DEB package or from source.

    Install from DEB package:
    dpkg –i ica_client_11.100_i386.patched.deb

    Accept the EULA. Citrix Receiver is now available from the Application Menu under Internet or can be launched from the terminal window: /usr/lib/ICAClient/wfcmgr

    Install from source:
    a. Download the tar.gz file from the Downloads section of the Citrix website.

    http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186&c1=sot2755#top

    b. Extract the files:
    tar –xzvf linuxx86-11.100-158406.tar.gz

    c. Run the setup script as Super User to install for all users and follow the prompts:
    sudo ./setupwfc

Select a setup option:

1. Install Citrix Receiver for Linux 11.100
2. Remove Citrix Receiver for Linux 11.100
3. Quit Citrix Receiver for Linux 11.100 setup

Enter option number 1-3 [1]: 1

Please enter the directory in which Citrix Receiver for Linux is to be installed.
[default /usr/lib/ICAClient]
or type “quit” to abandon the installation:

You have chosen to install Citrix Receiver for Linux 11.100 in /usr/lib/ICAClient.

Proceed with installation? [default n]: y

CITRIX(R) LICENSE AGREEMENT

Use of this component is subject to the Citrix license covering the
Citrix product(s) with which you will be using this component. This
component is only licensed for use with such Citrix product(s).

CTX_code EP_T_A34320

Select an option:

1. I accept
2. I do not accept

Enter option number 1-2 [2]: 1
Installation proceeding…

Checking available disk space …
Disk space available 16311224 K
Disk space required 6923 K

Continuing …
Creating directory /usr/lib/ICAClient
Core package…
Setting file permissions…
Integrating with browsers…
Browsers found.

Integration complete.
Do you want to integrate Citrix Receiver with KDE and GNOME? [default y]: y
Do you want GStreamer to use the plugin from this client? [default y]: y
Do you want to install USB support? [default n]: y
* Starting Citrix USB daemon [ OK ]

Select a setup option:

1. Install Citrix Receiver for Linux 11.100
2. Remove Citrix Receiver for Linux 11.100
3. Quit Citrix Receiver for Linux 11.100 setup

Enter option number 1-3 [2]: 3
Quitting Citrix Receiver for Linux 11.100 setup.

Running Citrix Receiver

If you chose to integrate Citrix Receiver with either Gnome or KDE, it is now in the Applications Menu under Internet. You can also run the Receiver GUI using the following command:

usr/lib/ICAClient/wfcmgr

More Information

Gstreamer codecs are already up-to-date in the version of Ubuntu.

Citrix Support published Top 10 Technical articles for May 2010.

Find below the Citrix Knowledge Center Top 10.

Top 10 Technical Articles

Article Number Article Title
CTX368624 Troubleshooting Citrix Pass-through Authentication (Single Sign-On)
CTX711855 Common SSL Error Messages, and Respective Cause and Resolution
CTX238200 Troubleshooting Client Drive Mapping
CTX101644 Seamless Configuration Settings
CTX106192 Access Gateway Software Updates
CTX677542 Advanced Concepts – Farm Maintenance
CTX107572 Troubleshooting Tools for Citrix Environments
CTX106531 Troubleshooting the Citrix XTE Service and Errors: There is no route to the specified address … Protocol Driver Error
CTX089874 Troubleshooting and Explaining the Citrix Universal Print Driver
CTX746354 Best Practices for Uninstalling Presentation Server

Top 10 Whitepapers

Article Number Article Title
CTX110351 User Profile Best Practices for MetaFrame Presentation Server
CTX117913 Technical Guide for Upgrading / Migrating to XenApp 5.0
CTX101739 Microsoft SQL Server 2000 Data Store Replication
CTX122303 Technical Guide to Upgrading/Migrating to XenApp 5 Feature Pack 2
CTX101997 Citrix Secure Gateway Secure Ticket Authority Frequently Asked Questions
CTX124565 Best Practices: Customizing Microsoft Office 2010 for Streaming Environments
CTX124087 XenDesktop Modular Reference Architecture
CTX123684 Delivering 5000 Desktops with Citrix XenDesktop 4
CTX118735 XenServer Demo and Evaluation Setup Guide
CTX124799 User Profiles for XenApp and XenDesktop

Top 10 Hotfixes

Article Number Article Title
CTX122756 Hotfix Rollup Pack 6 for Citrix XenApp 5.0 and Citrix Presentation Server 4.5 for Microsoft Windows Server 2003 32-bit Edition
CTX116550 Citrix Presentation Server Client 10.200 for Windows
CTX120923 Hotfix Rollup Pack 5 for Citrix XenApp 5.0 and Citrix Presentation Server 4.5 for Microsoft Windows Server 2003 32-bit Edition
CTX124027 XS55EU2 – XenServer 5.5 Update 2
CTX118445 Citrix XenApp Plug-in for Hosted Apps 11.0 and Streamed Apps 1.2 for Windows
CTX125057 Citrix Online Plug-in 11.2.38 for Windows with HDX Flash Redirection Enhancements
CTX122761 Hotfix Rollup Pack 6 for Citrix XenApp 5.0 and Citrix Presentation Server 4.5 for Microsoft Windows Server 2003 64-bit Edition
CTX124293 MegaRAID SAS Version 4.17.1 Driver Disk – For XenServer 5.5 Update 2
CTX109307 Hotfix Rollup Pack PSE400W2K3R02 – For Citrix Presentation Server 4.0, Citrix Access Essentials 1.0 and 1.5 for Windows Server 2003
CTX124280 Hotfix XDE400VDAWX86002 (Version 4.0.4534) – For Citrix XenDesktop 4.0 Virtual Desktop Agent x86

Top 10 Presentations

Article Number Article Title
CTX125175 TechEdge 2010 – Debugging a Citrix XenApp and XenDesktop Environment
CTX105908 Get the Most Out of Your Resource Manager Summary Database
CTX125180 Troubleshooting XenDesktop, Provisioning Services & XenServer Integration
CTX111920 Selected Citrix Troubleshooting Tools
CTX123530 XenDesktop 4.0 Core Infrastructure and Features – GoToWebinar
CTX111560 Health Checks for Citrix Services Using Advanced Monitors
CTX125177 TechEdge 2010 – Troubleshooting XenDesktop Deployments
CTX125182 TechEdge 2010 – Provisioning Services Stream Process Architecture and Advanced Troubleshooting
CTX125181 TechEdge 2010 – Troubleshooting Performance Issues in a Virtualized Environment
CTX125178 TechEdge 2010 – XenServer Storage Management and Troubleshooting

Top 10 Tools

Article Number Article Title
CTX122536 Citrix Quick Launch
CTX116063 XenAppPrep Integration Utility for XenApp and Provisioning Services
CTX111961 CDFControl
CTX106226 Repair Clipboard Chain 2.0.1
CTX113472 Citrix ICA File Creator
CTX109374 StressPrinters 1.3.2 for 32-bit and 64-bit Platforms
CTX122962 Citrix Printing Tool
CTX107935 MedEvac 2.5
CTX113554 CTX_CpsvcUser Re-creation Tool for 32-Bit and 64-Bit Versions of Presentation Server 4.5
CTX107136 Citrix Connection Test Tool

The HDX Monitor is a tool to validate the operation of XenDesktop’s HDX stack including the latest HDX MediaStream for Flash and HDX RealTime features. Install this tool on your virtual desktop to obtain helpful technical details about your HDX experience. The tool is organized into sections that cover the various HDX technologies. Use it to view bandwidth usage, session settings and performance metrics.

Download the HDX Monitor tool from the Link below
http://hdx.citrix.com/hdx-monitor/downloads

Install the Tool on your Virtual Machine which is Launched from the XenDesktop.

Once the Installation is complete Run the HDX Monitor Tool on the Virtual Machine Lauched from the XenDesktop.

This tool can also help you diagnose HDX issues. It detects when multimedia redirection is in use and if your endpoint device supports it. And it can tell you what audio codec you are using and its bitrate.

If you are Verifying your Device as HDX Ready, Please click on the Generate Report and Save the Report and send the .HTML file to CitrixReady@Citrix.com for our Review.

Citrix releases an interesting white paper discussing Best Practices for HDX Technologies for XenDesktop.

You can find it here .

If you are running Microsoft App-V in what is now referred to as a traditional App-V Server-based infrastructure, desktop configuration is controlled by an App-V Management Server. Depending on local client configuration and provider policy, the client will periodically refresh its configuration against the server. This was once called DC Refresh and is now referred to as Publishing Refresh. During Publishing Refresh, the App-V client receives the list of applications to be published (APPLIST.XML) and from this will cache the icons and the OSD files by retrieving them from the locations specified in the APPLIST.XML that is received from the server. The locations of the OSD and Icons can come directly from the locations specified in the APPLIST.XML data or they can come from the use of OSDSourceRoot and IconSourceRoot registry values which allow a client computer to receive its ICO and OSD files from an alternate location. The App-V client then creates the appropriate shortcuts and registers file type associations based on the information generated by the App-V Server. This is a rather simplified description of the process so for a more detailed explanation I would recommend reading the following document:

http://download.microsoft.com/download/f/7/8/f784a197-73be-48ff-83da-4102c05a6d44/AppPubandClientInteraction.docx

In addition, the following blog post from last year is also an excellent reference:

http://blogs.technet.com/softgrid/archive/2009/02/17/a-story-of-a-publishing-refresh-request.aspx

When there is an error during the “refresh” portion of the process (communicating with the server to retrieve the APPLIST.XML) causing the refresh not to complete successfully, you will see an error in the user interface. Often these errors relate to authentication, networking issues, XML malformation, or general misconfiguration.  But sometimes problems will occur during the “publishing” portion of the publishing refresh. When you refresh, you may not get any errors but you still may not have the entire application configuration you would expect. This is an issue we see every now and then from customers where they ask “refresh is succeeding but where are all my icons?” Or they say “some applications may appear where they are supposed to be but others do not.” If you find yourself in this situation then here are some tips on how to troubleshoot these kinds of issues:

Troubleshooting Publishing Problems

Often, a standard SFTLOG.TXT log will give you exactly what you need to troubleshoot these problems. Switching to a verbose log will dump the AppList.XML and other information that will make the log file quite large and more cumbersome to parse. While publishing problems do not generate errors in the user interface, there are always positive and negative result codes (rc codes) in the SFTLOG.TXT file even under its default log level.

When you encounter these issues, navigate to the SFTLOG.TXT file and look for lines containing the following string “The app manager could not create an application from” to determine where the publishing errors are in the SFTLOG.TXT. The majority of these errors come from issues accessing and/or parsing OSD files and icons.

Common Issue #1: The app manager could not create an application from “APPLICATIONNAME.osd’ (rc 0C405564-00000002).

These issues are caused by the client application manager being unable to access either the icons or the OSD file based upon the locations sent by the server or what may be specified as an overriding value in the OSDSourceRoot or the IconSourceRoot.

Common Issue #2: The app manager could not create an application from ‘APPLICATIONNAME.osd’ (rc 07708144-0000000E).

When this happens, you can get the specific error string above this message. The most common one is:

The Application Virtualization Client could not parse the OSD file ‘<GUIDNAME>.osd’. Reason: Newer client required (rc 07708104-0000000E)

This issue happens when the OSD for the application has a client requirement that exceeds the current client version. This may happen more often now with the 4.6 sequencer being backward compatible for existing 4.5 clients. For example, if you sequence an application in 4.6, the default tag for CLIENTVERSION will be 4.6.0.0 as shown below:

<DEPENDENCY>
<CLIENTVERSION VERSION=”4.6.0.0″/>
</DEPENDENCY>

You will need to change this to 4.5.0.0 if you plan on deploying this application on 4.5 clients.

Common Issue #3: The app manager could not create an application from ‘APPLICATIONNAME.osd’ (rc 00000C45-00000107).

This happens when the Client Application Manager cannot parse the XML in the OSD file for the application. Like with common issue #2, you will get further information above this error such as:

The client has encountered an XML parsing problem. The error code is 0xC00CE557.

Reason: Invalid xml declaration.

Source Text: <?xml version=”1. 0″ standalone=”no”?>, (near line 1, character position 6).

Often these errors will point to the specific line and character position containing the error.

Common Issue #4: The app manager could not create an application from ‘APPLICATIONNAME.osd’ (rc 0C405564-00000003).

This can happen if the path of the global data directory is invalid. The OSD Cache folder either does not exist or cannot be accessed due to redirection. For example, the OSD Cache folder may have been manually removed. Verify the global data directory is located in an accessible folder and has not necessarily been redirected to a network share.

Common Issue #5: The app manager could not create an application from ‘APPLICATIONNAME.osd’ (rc 07708A44-00000007).

This error, depending on the version may also be preceded by the following line:

The Application Virtualization Client could not parse the OSD file ‘<GUID>.osd’. Reason: No valid implementation for this machine (rc 07708A04-00000007)

This issue occurs when the OSD contains specific OS implementation values but the App-V client’s operating system is not included. The <OS VALUE> tag is under the <IMPLEMENTATION> element in the OSD. The supported updated values for 4.6 can be found here:

http://blogs.technet.com/softgrid/archive/2009/10/29/updated-os-value-xml-tag-reference-and-supported-client-versions.aspx

XenApp 6 has now been available for about two months.

There are some concerns about the transition to XenApp 6 being that mixed farms and upgrades aren’t supported and that migration is the only option. Another major area of concern is app compatibility. Let’s address these items:

•Mixed Farms. For each of the XenApp/Presentation Server/MetaFrame product releases, warning statements about mixed farms have existed, and best practice has always been to run a native farm. These warnings statements range from potential unexpected results to multiple if/then requirements and lots of maybe’s in between.
•Upgrades: Citrix doesn’t support upgrading the operating system and then upgrading the Citrix product version, and XenApp 6 is no different. XenApp 6 is purpose-built for Windows Server 2008 R2 (and only Windows Server 2008 R2!). Not being able to upgrade the OS and XenApp version continues with XenApp 6.
•Migration: Unlike previous versions of XenApp, XenApp 6 includes a Migration Tool that will enable you to export your existing farm and app settings to your new farm. Previously, you could only export/import published app settings. This PowerShell tool is currently in beta through MyCitrix.com and will be released in a few weeks.
•App Compatibility: While 16-bit apps can’t run on a 64-bit operating system, 32-bit apps are generally fine. Research whether your concerns are real or not so real. Test your apps or use a tool such as App-DNA to determine potential app issues. If your concerns are real, consider VM Hosted Apps.

From Citrix blog, Let’s step back and discuss why migration is now the only option.

•Worker Group data: The Data Store for a XenApp 5 farm vs. a XenApp 6 farm differs due worker group data. XenApp 5 has no provision for this, and a business decision had to be made regarding adding functionality such as worker groups vs. mixed farm support.
•Integration with Active Directory: While XenApp has always been integrated with Active Directory, XenApp 6 takes that integration to a new level. The Group Policy Management Console can be used to administer XenApp 6. Further, when new servers are placed into OUs and automatically spun up via Provisioning services, a XenApp server can take on settings automatically.
•Operating System: Because operating system upgrades are not supported by Citrix for any component, installing a clean, new Windows Server operating system and then the new XenApp version is required anyway.
•Tech Support issues: Quite a few Tech Support issues were raised due to mixed farms, and some of these could never be resolved. Engineering could never test all of the “what if’s” that could present themselves in a mixed farm environment. So, we had customers that could never be totally content with the mixed farm approach.

While XenApp 5 is good, XenApp 6 takes on a whole new level of functionality — and hopefully now you can see why mixed farm compatibility would have been counterproductive.

Some resources you may find helpful:
CTX124481: Advanced Farm Administration with XenApp Worker Groups
CTX124241: Technical Guide to Upgrading/Migrating to XenApp 6

There are tremendous benefits to moving to XenApp 6 — a single management console, worker group functionality, improved AD integration, and much more. Give yourself a solid hour or two to work with it in your lab, and you’ll be giving thought to how fast you can migrate to XenApp 6!

Microsoft SQL Server 2008 R2 Express

In order to Migrate Data Store residing on Microsoft SQL Server 2008 R2 Express install Microsoft SQL 2008 Express Management Studio tool to take a backup of MF20 Database residing on Microsoft SQL Server 2008 R2 Express.

You can download X64 Bit of Microsoft SQL Server 2008 R2 Express from here
http://www.microsoft.com/express/Database/

Once you have the Management Studio Installed, Login to your Source Server and take a backup of the MF20 Database. The File Name will be MF20.Bak

Install Microsoft SQL Server 2008 R2 Express on the Host Server and install the Management Studio and Login and create a Blank Database called MF20, once you have the database created, Restore the Database which is been backed up.

Once the restoration is Successful, now we need to point the XenApp Server to New Datastore.

Stop Citrix Independent Management Architecture (IMA)Services on the XenApp Server.

On the XenApp Server Open ODBC and click on File DSN and click on ADD, Select SQL Server and click on next and click on browse and point it to the MF20.dsn residing in the IMA Folder (C:\Program Files (x86)\Citrix\Independent Management Architecture)

(See Screenshot)

Select MF20.dsn and click on Finish.

Now you need to point MF20.dsn to the New SQL Server through creating a New Data Source

(See Screenshot)

After pointing the MF20.dsn to MF20 Database on the New Server, recreate Local Host cache (LHC) on the Source Server (Please make sure you have stopped IMA Services before recreating LHC)

Now Start Citrix Independent Management Architecture (IMA) Services and open Citrix Delivery Services Consoleand verify Farm is connecting to the Datastore.

Microsoft App-V 4.5 SP2 was released last week and is now available for download.  The “About SP2” topic is http://technet.microsoft.com/en-us/library/ff699129.aspx and the SP2 release notes topic is http://technet.microsoft.com/en-us/library/ff699130.aspx.

For information on Microsoft application Virtualization 4.5 Service Pack 2, how to get it and the known issues, see the following KB article:

KB980847 - Description of Microsoft Application Virtualization 4.5 Service Pack 2

ompanies that are creating an implementation of the Remote Desktop Protocol set can license the Intellectual Property(IP) rights they need from Microsoft by signing the RDP Client License. Products that might need these rights to interact with Windows Remote Desktop Servers (Sessions or VM based) include:

  • Non-Windows Thin Client devices
  • Non-Windows based client software

To understand if you might need the patent rights associated with the protocols, Microsoft has also published a map of which patents are associated with each protocol.

http://www.microsoft.com/openspecifications/patent-rights/mcpp-licensing/

The copyrighted documentation for the protocols has been available for free on MSDN for over two years:

http://msdn.microsoft.com/en-us/library/cc216517(v=prot.10).aspx

Other Benefits of the RDP Client License

In addition to receiving a license to the patent rights you need, companies that have taken the RDP Client license will also enjoy:

  • Free documentation support via community forums
    http://msdn.microsoft.com/en-us/library/cc320426(v=PROT.10).aspx
  • Free attendance at protocol plugfest events: these are quarterly meetings where attendees receive presentations about a specific area of protocol technology and have a chance to interact directly with Microsoft engineers.
  • Network Monitoring (NetMon) tool, a protocol analyzer that allows you to capture network traffic, view and analyze it.
  • Test Suites: Microsoft has begun releasing test suites for different protocols and will continue to roll them out over time.
  • Reference Source Code: Microsoft will shortly be making available reference source code for an implementation of RDP 7.1 only to RDP Client licensees. Look for a future blog post for more information.