Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Streaming of App-V 5.0 application from Distribution Point failed

$
0
0

Hi all

I have a scenario to stream App-V 5.0 packages from Distribution Point of ConfigMgr 2012 SP1. I have found that the Streaming deployment always failed at the execution of PowerShell command Add-AppvClientPackage but the "Download and execute" deployment works fine.

There is no problem with the App-V packages itself all of them are tested thru App-V 5.0 Client in offline mode.

The output of the AppEnforce.log below:

The AppV 5X client is configured for use with ConfigMgr.
The package with GUID f626bf6a-8a21-46c2-9d8d-bf7c8c2d4a0a is not installed on this machine yet
Package: App1 with version GUID a0cdc176-bc13-4422-ad28-a9fb12b56aea is not installed. Will install it
Configure the package App1 as streaming. Use content ID Content_26d1d000-0041-41dd-b5c2-7f03a92b523a and content version 1
Using content path http://SCCM1.DOMAIN.NAME:80/SMS_DP_SMSPKG$/Content_26d1d000-0041-41dd-b5c2-7f03a92b523a.1/App1_2.appv
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 'http://SCCM1.DOMAIN.NAME:80/SMS_DP_SMSPKG$/Content_26d1d000-0041-41dd-b5c2-7f03a92b523a.1/App1_2.appv'  -DynamicDeploymentConfiguration 'C:\Windows\ccmcache\3\App1_2_DeploymentConfig.xml'] for the  machine
    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 'http://SCCM1.DOMAIN.NAME:80/SMS_DP_SMSPKG$/Content_26d1d000-0041-41dd-b5c2-7f03a92b523a.1/App1_2.appv'  -DynamicDeploymentConfiguration 'C:\Windows\ccmcache\3\App1_2_DeploymentConfig.xml' with system context
    Process 4032 terminated with exitcode: 1
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: 80190197.
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
 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 'http://SCCM1.DOMAIN.NAME:80/SMS_DP_SMSPKG$/Content_26d1d000-0041-41dd-b5c2-7f03a92b523a.1/App1_2.appv'  -DynamicDeploymentConfiguration 'C:\Windows\ccmcache\3\App1_2_DeploymentConfig.xml'] failed with return code 1.
AppVCommandUtil::RunAppVCommand() failed. (0x87d0128f)
AppVManageClient5X::InstallAppVPackage() failed. (0x87d0128f)
    CAppV5XHandler::InstallApp() failed. (0x87d0128f)

So when I have tried to execute the same command Add-AppvClientPackage manually with the same set of parameters - it failed again, but when I have changed the FQDN name of the DP to NetBIOS name (like SCCM1), the package has been added successfully.

The PowerShell is configured for 'bypass'. There is a proxy server implemented in my environment.

I know there were some configuration parameters to manage App-V 4.6 client behaviour in proxy enabled environment, are there any exist for the App-V 5.0?

Are there any ideas?


RTFM


Viewing all articles
Browse latest Browse all 4762

Trending Articles



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