App-v 5.0 client can't sync to publishing server

Server 2008 r2 with all updates is installed on both client and server (management, publishing and reporting components on one machine) vms in the same AD domain. I have revisited the Trial Guide and Administrators Guide as well as read every post that seemed remotely relevant, including the one on troubleshooting syncing problems. I've reinstalled the app-v components including SQL and even rebuilt the VMs. Management console seems to operate perfectly, able to add packages and connection groups and enable AD group access to both. Html page initiated from client to publishing server presents the correctly formatted xml file with the package included. Package executes as an msi install on client in standalone mode.

However, Powershell sync-appvpublishingserver returns:

CoCreateInstance() failed. The Microsoft Application Virtualization Service may not have been started. Please verify that the service is running.

There is no corresponding event log entry.

Restarting Microsoft App-V Client service is successful and throws:

Log Name:      Microsoft-AppV-Client/Admin
Source:        Microsoft-AppV-Client
Date:          3/1/2013 2:40:16 PM
Event ID:      15002
Task Category: Connect to AppV Client Service
Level:         Error
Keywords:      Client Streaming UX
User:          Domainname\administrator
Computer:      FQDN
Description:
The AppVStreamingUX application experienced a COM error while attempting to connect to the AppVClient service. The AppVStreamingUX process will now exit. HResult: -2147024891
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-AppV-Client" Guid="{Guid#}" />
    <EventID>15002</EventID>
    <Version>1</Version>
    <Level>2</Level>
    <Task>29</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000080000</Keywords>
    <TimeCreated SystemTime="2013-03-01T21:40:16.578697700Z" />
    <EventRecordID>182</EventRecordID>
    <Correlation />
    <Execution ProcessID="1028" ThreadID="2956" />
    <Channel>Microsoft-AppV-Client/Admin</Channel>
    <Computer>FQDN</Computer>
    <Security UserID="admin SID" />
  </System>
  <EventData>
    <Data Name="HResult">-2147024891</Data>
  </EventData>
</Event>

Must be something basic I've overlooked. Any help appreciated.

Thanks,

March 1st, 2013 10:09pm

Hello,

Have you installed all the prerequisites for the App-V Client?

See this list;

http://technet.microsoft.com/en-us/library/jj713458.aspx

Free Windows Admin Tool Kit Click here and download it now
March 3rd, 2013 9:45am

Thanks for responding. I reviewed the prerequisites again and have done them all except the KB2533623 update. Both server and client reject the update with "this update is not applicable to your computer".

Thanks,

 
March 3rd, 2013 6:34pm

Hello,

Do you really have .NET Framework 4.0 (full) profile installed?

Free Windows Admin Tool Kit Click here and download it now
March 3rd, 2013 6:57pm

Yes, I downloaded it via the link in the App-V 5.0 Prerequisites guide. I had previously installed the 4.5 version but then uninstalled that and installed the 4.0 version.

Thanks,

March 3rd, 2013 8:04pm

Hello,

I suggest you reinstall the client. Something has gone awry during your initial install

Free Windows Admin Tool Kit Click here and download it now
March 3rd, 2013 8:32pm

I set up a new VM and added .net 4.0 full and Powershell 3.0. However, I still can't install KB2533623. It's rejected with "the update is not applicable to your computer". This is a windows 2008 R2 SP1 VM fully updated. Is it possible KB2533623 is superceded by another update? Is this update absolutely necessary?

Thanks,

March 4th, 2013 6:36pm

Hello,

Did you download the right architecture? x64 for x64...

Free Windows Admin Tool Kit Click here and download it now
March 4th, 2013 7:52pm

Yes. I even tried running the x86 version when x64 didn't work.
March 4th, 2013 11:03pm

This time I recreated the vm template I had been using to build the app-v clients and that solved the problem. I'm wondering if that template had had a version of app-v 4 on it at one time that didn't get completely uninstalled. Anyway thanks for your help.
Free Windows Admin Tool Kit Click here and download it now
March 5th, 2013 11:32pm

I also am getting this error when trying to install KB2533623 while using a vm template that has been fully updated. It's never had a previous version of App-V on it, so it's not that.

I suspct one of the existing updates is preventing/has presented it.

Unfortunately building a new template isn't an option for me, so it's back to the drawing board.

March 11th, 2013 8:10am

Hi All,

I also faced the same  issue CoCreateInstance() failed while installing a app-v 5.0 package during two scenarios . Below is the procedure I followed which resolved the issue.

Scenario 1 : In this case the client machine is not pingabale from the other machines eventhough SCCM push , RDP everything is working as normal .  starting NlaSvc  and netprofm services make the machine pingable and solved the issue

Scenario 2: Uninstalling Previous version of App-V 5.0 and then installing the setup.exe without restarting the macihne resulted in above issue .

  • Proposed as answer by znackMVP Tuesday, January 21, 2014 8:39 AM
Free Windows Admin Tool Kit Click here and download it now
January 21st, 2014 7:55am

Hi Guys,

although it's an old thread, first of all the KB2533623 was superseded a while ago. don't remember which one replaced it but that's the reason why you get the "Not Applicable" error. because you already have the newer one installed, which is totally fine for App-V.

I have the same problem of Remove-AppVClientPackage : CoCreateInstance() failed.

it actually happens when I run the command Get-AppVClientPackage -All | Remove-AppVClientPackage and that's after I made sure all the packages are stopped.

If I restarts App-V Client Service the action can continue but it can happen again ( I have like 40 packages on the client by default on my machines so it can happen after every 10 packages or so)

I have App-V 5.0 SP3 installed on the client and both of the services NlaSvc  and netprofm are running.

any ideas what else I can do ? :/

thanks

July 19th, 2015 2:35am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics