Microsoft App-V 4.6 Applications Advertised Through Configuration Manager 2007 Fail with Error 14-00000005


Symptoms


Microsoft Application Virtualization (App-V) 4.6 applications published through Microsoft Configuration Manager 2007 (ConfigMgr 2007) may fail to install with the following error in the sftlog.txt file:

[07/07/2011 11:50:26:571 SRVC WRN] {tid=BB0}
The Application Virtualization Client was unable to initialize the user's profile for a system session (rc 0FD00D14-00000005).

VirtualApp.log (located in %systemroot%\syswow64\ccm\logs by default) will show entries similar to:

Registering the virtual application package [XXX01588] with the AppVirtMgmt client. VAppRegistration 7/7/2011 11:46:43 AM 3652 (0x0E44)
Loading package properties from the manifest file: C:\Windows\SysWOW64\CCM\Cache\SSD01588.8.S-1-5-21-00000000-0000000-11111111-1234567\appv1_manifest.xml. VAppRegistration 7/7/2011 11:46:43 AM 3652 (0x0E44)
The package name is AppName 7/7/2011 11:46:43 AM 3652 (0x0E44)
Failed to get the package object [Package.PackageGUID="903AB33A-3547-406C-88C4-6960770A6F2F"] from WMI.  Error (0x80041001) VAppQuery 7/7/2011 11:46:43 AM 3652 (0x0E44)
CVAppQuery::PackageInUse() failed for virtual app package [{903AB33A-3547-406C-88C4-6960770A6F2F}]. (0x80041001) VAppQuery 7/7/2011 11:46:43 AM 3652 (0x0E44)
CVAppRegistration::ExecuteAdd failed for the virtual application package. (0x80041001) VAppRegistration 7/7/2011 11:46:43 AM 3652 (0x0E44)

Cause


This error may occur if the following conditions are all true:

  • The application is being advertised through Configuration Manager
  • The user's data directory is being redirected to a UNC (check the value of HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SoftGrid\4.5\Client\Configuration\UserDataDirectory)
  • The client is running App-V 4.6 SP1 or lower

Resolution


This issue is resolved by applying the latest App-V 4.6 SP1 hotfix package.  Currently, this is App-V 4.6 SP1 Hotfix Package 2 : (http://support.microsoft.com/kb/2549352).

More Information


Configuration Manager clients using virtualized applications also need to have the Configuration Manager client version at Service Pack 2 or higher : (http://technet.microsoft.com/en-us/systemcenter/cm/bb625747)