App-V Errors 00000006 and 000D3002 When Adding Packages
I’m unsure if this is a bug or by design, but if you are using SFTMIME to add packages to an App-V client, you may receive the following error:
The handle is invalid.
Error code: 460579-23C02532-00000006
Which looks something like this:
The issue is in the path to the manifest XML file for the package – when executing the command like this, I’ll see the error every time:
SFTMIME ADD PACKAGE:"Microsoft_Office_2010_x64_084154.001" /MANIFEST "\\VBOXSVR\Packages\Microsoft Office\2010_x64\000\Microsoft_Office_2010_x64_084154.001_manifest.xml" /OVERRIDEURL "\\VBOXSVR\Packages\Microsoft Office\2010_x64\000\Microsoft_Office_2010_x64_084154.001.sft" /GLOBAL /CONSOLE
Can’t see the the problem? The command certainly looks like it should work. An entry in the log file sheds light on the issue:
[02/09/2010 17:23:57:638 INTF VRB] {tid=AB0:usr=Admin}
SWCreatePackage(name=’Microsoft_Office_2010_x64_084154.001′, manifest=’\VBOXSVR\Packages\Microsoft Office\2010_x64\000\Microsoft_Office_2010_x64_084154.001_manifest.xml’)
The first backslash is truncated, leave the UNC path incorrect. The same happens for the path to the SFT file – again the log file shows what’s going on:
[02/09/2010 17:21:07:936 JGSW ERR] {hap=20:app=Microsoft Word 2010 (Beta) 084154.001:tid=9D8:usr=Admin}
The Application Virtualization Client could not connect to a server because the URL specified, ‘\VBOXSVR\Packages\Microsoft Office\2010_x64\000\Microsoft_Office_2010_x64_084154.001.sft’, was invalid (rc 04300507-000D3002).
When attempting to stream the package, the operation fails and the following error is displayed:
The Application Virtualization Client could not launch Microsoft Word 2010 (Beta) 084154.001.The protocol specified in the OSD file is not supported. Report the following error code to your System Administrator.Error code: 460579-04300507-000D3002
Which looks like this:
Thankfully a workaround is very easy to implement – just add an extra backslash to each path:
SFTMIME ADD PACKAGE:"Microsoft_Office_2010_x64_084154.001" /MANIFEST "\\\VBOXSVR\Packages\Microsoft Office\2010_x64\000\Microsoft_Office_2010_x64_084154.001_manifest.xml" /OVERRIDEURL "\\\VBOXSVR\Packages\Microsoft Office\2010_x64\000\Microsoft_Office_2010_x64_084154.001.sft" /GLOBAL /CONSOLE
The ADD PACKAGE
command will then work and the package will stream correctly.