Quantcast
Viewing all articles
Browse latest Browse all 4762

App-V apps intermittantly fail to install via SCCM

Hi,

I have a few sequenced apps deployed using SCCM to our work computers.  These apps are deployed to User collections.  When a new computer is brought online they intermittently fail to install, however if you manually 'retry' the installation in Software Center, after the 4th or 5th attempt of retrying they install successfully.  Some apps fail to automatically install far more than others with one app failing to install consistently.

When the apps fail to install the streaming-transport debug log shows errors for Auto-Proxy detection and failure to send or receive HTTP responses to the distribution point full path to the .appv package file.  Send failures return an HResult of 0x80190193.  Receive failures return an HResult of 0x80190193 or 0x80072f0c.

The AppEnforce.log file returns an HResult of 80190193 and "The provided URL could not be resolved.  Please check that the URL is valid."  I assumed this to be the FQDN part of the command line that points at the DP package location.  The bit that puzzles me the most is that if it was a problem with the DP then surely none of the apps would install, and certainly a persisting with a manual 'retry' wouldn't produce a successful install result.

We use a proxy server.  AutoDetect proxy settings in IE is disabled and the FQDN of the Site Server/Distribution Point has been added to the Intranet Zone in IE.  If I tell IE not to use a proxy at all I still get the same errors (including the auto proxy detection error) in the Streaming-transport debug log for the apps that have failed to install.

The App-V 5 deployment types are all configured to stream rather than download and run.  If I switch them to 'download and run' they all consistently install without errors.

App-V clients are configured to use 'shared cache mode' and 'package scripts' is enabled.

Our environment is as follows: SCCM 2012 SP1 running on Server 2012.  App-V 5 SP1 clients installed on Windows 7 Enterprise with SP1. 

Any ideas as to what is going on would be welcomed as I've been tearing my hair out with this for a week!

Event logs - server and domain names have been changed - Streaming-Transport debug log:

Event ID 85

Log Name:      Microsoft-AppV-Streaming-Transport/Debug
Source:        Microsoft-AppV-Streaming-Transport
Date:          28/08/2013 10:07:42
Event ID:      85
Task Category: Transport request operation
Level:         Error
Keywords:     
User:          SYSTEM
Computer:      SCH-UEVGEN02.webfarm.local
Description:
Auto proxy detection for URL https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv failed with status Unknown HResult Error code: 0x80072f94
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-AppV-Streaming-Transport" Guid="{15936a6f-bea1-479e-9ab1-1815802d2205}" />
    <EventID>85</EventID>
    <Version>1</Version>
    <Level>2</Level>
    <Task>5</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-08-28T09:07:42.223458300Z" />
    <EventRecordID>472</EventRecordID>
    <Correlation />
    <Execution ProcessID="3948" ThreadID="4012" ProcessorID="0" KernelTime="2" UserTime="1" />
    <Channel>Microsoft-AppV-Streaming-Transport/Debug</Channel>
    <Computer>SCH-UEVGEN02.webfarm.local</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="StringValue">https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv</Data>
    <Data Name="Status">-2147012716</Data>
  </EventData>
</Event>

Event ID 66

Log Name:      Microsoft-AppV-Streaming-Transport/Debug
Source:        Microsoft-AppV-Streaming-Transport
Date:          28/08/2013 10:07:42
Event ID:      66
Task Category: Transport request operation
Level:         Error
Keywords:     
User:          SYSTEM
Computer:      SCH-UEVGEN02.webfarm.local
Description:
HTTP response receipt from https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv failed.  Status: Unknown HResult Error code: 0x80072f0c
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-AppV-Streaming-Transport" Guid="{15936a6f-bea1-479e-9ab1-1815802d2205}" />
    <EventID>66</EventID>
    <Version>1</Version>
    <Level>2</Level>
    <Task>5</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-08-28T09:07:42.312531300Z" />
    <EventRecordID>476</EventRecordID>
    <Correlation />
    <Execution ProcessID="3948" ThreadID="4012" ProcessorID="0" KernelTime="2" UserTime="1" />
    <Channel>Microsoft-AppV-Streaming-Transport/Debug</Channel>
    <Computer>SCH-UEVGEN02.webfarm.local</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="Status">-2147012852</Data>
    <Data Name="URL">https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv</Data>
  </EventData>
</Event>


Event ID 67

Log Name:      Microsoft-AppV-Streaming-Transport/Debug
Source:        Microsoft-AppV-Streaming-Transport
Date:          28/08/2013 10:07:42
Event ID:      67
Task Category: Transport request operation
Level:         Error
Keywords:     
User:          SYSTEM
Computer:      SCH-UEVGEN02.webfarm.local
Description:
HTTP request from https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv failed.  Status: Unknown HResult Error code: 0x80190193
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-AppV-Streaming-Transport" Guid="{15936a6f-bea1-479e-9ab1-1815802d2205}" />
    <EventID>67</EventID>
    <Version>1</Version>
    <Level>2</Level>
    <Task>5</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-08-28T09:07:42.325397400Z" />
    <EventRecordID>478</EventRecordID>
    <Correlation />
    <Execution ProcessID="3948" ThreadID="4012" ProcessorID="0" KernelTime="2" UserTime="1" />
    <Channel>Microsoft-AppV-Streaming-Transport/Debug</Channel>
    <Computer>SCH-UEVGEN02.webfarm.local</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="Status">-2145844845</Data>
    <Data Name="URL">https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv</Data>
  </EventData>
</Event>


Event ID 110

Log Name:      Microsoft-AppV-Streaming-Transport/Debug
Source:        Microsoft-AppV-Streaming-Transport
Date:          28/08/2013 10:07:42
Event ID:      110
Task Category: Transport stream request operation
Level:         Error
Keywords:     
User:          SYSTEM
Computer:      SCH-UEVGEN02.webfarm.local
Description:
Http Send request on URI https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv with header  failed with status Unknown HResult Error code: 0x80190193.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-AppV-Streaming-Transport" Guid="{15936a6f-bea1-479e-9ab1-1815802d2205}" />
    <EventID>110</EventID>
    <Version>1</Version>
    <Level>2</Level>
    <Task>4</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-08-28T09:07:42.325397400Z" />
    <EventRecordID>479</EventRecordID>
    <Correlation />
    <Execution ProcessID="3948" ThreadID="4012" ProcessorID="0" KernelTime="2" UserTime="1" />
    <Channel>Microsoft-AppV-Streaming-Transport/Debug</Channel>
    <Computer>SCH-UEVGEN02.webfarm.local</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="URI">https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv</Data>
    <Data Name="Header">
    </Data>
    <Data Name="Status">-2145844845</Data>
  </EventData>
</Event>


Error in AppEnforce.log

<![LOG[The AppV 5X client is configured for use with ConfigMgr.]LOG]!><time="10:07:38.954-60" date="08-28-2013" component="AppEnforce" context="" type="1" thread="2552" file="appvclientconfig5x.cpp:64">
<![LOG[The package with GUID efaa1d42-dc70-4fc0-8976-fb692e83c395 is not installed on this machine yet]LOG]!><time="10:07:38.964-60" date="08-28-2013" component="AppEnforce" context="" type="1" thread="2552" file="appvpackagequery5x.cpp:177">
<![LOG[Package: WinRAR 4.20 Win7 x64 with version GUID 6d7400fc-169b-4fa1-b292-29fdac24cae4 is not installed. Will install it]LOG]!><time="10:07:38.965-60" date="08-28-2013" component="AppEnforce" context="" type="1" thread="2552" file="appv5xhandler.cpp:459">
<![LOG[Configure the package WinRAR 4.20 Win7 x64 as streaming. Use content ID Content_5f364464-dd13-4bb2-8142-3c41850f5e49 and content version 1]LOG]!><time="10:07:38.965-60" date="08-28-2013" component="AppEnforce" context="" type="1" thread="2552" file="appv5xhandler.cpp:475">
<![LOG[Using content path <a href="https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv]LOG]!><time="10:07:39.206-60">https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv]LOG]!><time="10:07:39.206-60" date="08-28-2013" component="AppEnforce" context="" type="1" thread="2552" file="appv5xhandler.cpp:494">
<![LOG[Running App-V command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Add-AppvClientPackage -Path 'https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv'  -DynamicDeploymentConfiguration 'C:\Windows\ccmcache\4\WinRAR_420_Win7x64_DeploymentConfig.xml'] for the  machine]LOG]!><time="10:07:39.211-60" date="08-28-2013" component="AppEnforce" context="" type="1" thread="2552" file="appvcommandutil.cpp:117">
<![LOG[    Executing Command line: "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Add-AppvClientPackage -Path 'https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv'  -DynamicDeploymentConfiguration 'C:\Windows\ccmcache\4\WinRAR_420_Win7x64_DeploymentConfig.xml' with system context]LOG]!><time="10:07:39.211-60" date="08-28-2013" component="AppEnforce" context="" type="1" thread="2552" file="appexcnlib.cpp:345">
<![LOG[    Process 3948 terminated with exitcode: 1]LOG]!><time="10:07:42.823-60" date="08-28-2013" component="AppEnforce" context="" type="1" thread="2552" file="appexcnlib.cpp:431">
<![LOG[Here is the error message generated by the process:
Add-AppvClientPackage : The provided URL could not be resolved. Please check
that the URL is valid. HRESULT: 80190193.
At line:1 char:106
+ import-module 'C:\Program Files\Microsoft Application
Virtualization\Client\Appv ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : NotSpecified: (:) [Add-AppvClientPackage], COMEx
   ception
    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Micr
   osoft.AppV.AppvClientPowerShell.AddAppvPackage
 
]LOG]!><time="10:07:42.823-60" date="08-28-2013" component="AppEnforce" context="" type="3" thread="2552" file="appexcnlib.cpp:441">
<![LOG[AppV command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Add-AppvClientPackage -Path 'https://CM01.domain.local:443/SMS_DP_SMSPKG$/Content_5f364464-dd13-4bb2-8142-3c41850f5e49.1/WinRAR_420_Win7x64.appv'  -DynamicDeploymentConfiguration 'C:\Windows\ccmcache\4\WinRAR_420_Win7x64_DeploymentConfig.xml'] failed with return code 1.]LOG]!><time="10:07:42.823-60" date="08-28-2013" component="AppEnforce" context="" type="3" thread="2552" file="appvcommandutil.cpp:128">
<![LOG[AppVCommandUtil::RunAppVCommand() failed. (0x87d0128f)]LOG]!><time="10:07:42.824-60" date="08-28-2013" component="AppEnforce" context="" type="3" thread="2552" file="appvcommandutil.cpp:154">
<![LOG[AppVManageClient5X::InstallAppVPackage() failed. (0x87d0128f)]LOG]!><time="10:07:42.824-60" date="08-28-2013" component="AppEnforce" context="" type="3" thread="2552" file="appvmanage5x.cpp:86">
<![LOG[    CAppV5XHandler::InstallApp() failed. (0x87d0128f)]LOG]!><time="10:07:42.824-60" date="08-28-2013" component="AppEnforce" context="" type="3" thread="2552" file="appv5xhandler.cpp:646">
<![LOG[++++++ App enforcement completed (4 seconds) for App DT "WinRAR 4.20 Win7 x64" [ScopeId_86A33434-E76B-408D-8910-C2EADC8E3BA0/DeploymentType_93e3e297-e10c-421e-a178-fe43212b1bde], Revision: 2, User SID: S-1-5-21-3578899820-3203048151-3782333795-4928]++++++]LOG]!><time="10:07:42.826-60" date="08-28-2013" component="AppEnforce" context="" type="1" thread="2552" file="appprovider.cpp:2366">

 


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>