Sysadminsblog.com Anything for sysadmins!

4Aug/110

App-V error 4615186-19D0810A-10000005 after importing Adobe Photoshop CS5 sequence project

I created an App-V package of Adobe Photoshop CS5 using the App-V Sequencer. I already read that Adobe Photoshop CS5 was quite a hassle to get sequenced, so I followed a couple of advices I found through Google. The sequencing was actually quite smooth although lengthy. After importing the .sprj file into the Application Virtualization Management Console and starting a Server Refresh in the Application Virtualization Client it consistently refused.

The error I got was 4615186-19D0810A-10000005 which is actually quite well known in the App-V community so it seems.

The refresh, that usually takes a couple of seconds, timed out after 20 seconds. During that time it was showing the status Ongoing.

I did a LOT of debugging before I found the cause of the error. Enabling verbose logging on server and client didn't reveal anything more than I already knew.

[08/03/2011 16:18:50:149 MIME ERR] {tid=3E8:usr=<username>}

Failure on Desktop Configuration Server request to URL {rtsp://appv:554/} with header {Host: appv

Content-Type: text/xml

AppV-Op: Refresh

} (rc 19D0810A-10000005).

Solution

The solution was kind of a longshot, but removing all File Type Associations did do the trick. Afterwards I tried removing them a couple at the time, but I didn't find a specific one that was causing it all. Thankfully it was working when I removed everything but the PSD extension, as that's the bare minimum I wanted.

Filed under: App-V, Microsoft No Comments
29Jul/115

Setting up App-V Management Server

Introduction

Application Virtualization is not the most commonly used technology. However there are quite a lot of advantages to using this software over using GPOs or manually installing software.

  • Centralized application management - Deploy, update and remove applications from a central location
  • Application conflicts - Applications are running in an isolated environment and are therefore not conflicting with other applications installed on the computer.
  • Combine dependent applications in a single package - Deploy a single package to multiple clients without having to worry about dependencies.

As with most software there are some alternatives to App-V. Make sure that you know the pros and cons of each before you make your decision.

I'll skip the pros and cons because these will change quite rapidly and you probably already decided on App-V.

App-V consists of a couple of components.

  • App-V Management Server - Delivers the sequenced applications on-demand.
  • App-V Management System - Consists of the App-V Management Console and the App-V Management Service.
  • App-V Sequencer - Produces the application package consisting of a couple of files.
    • Open Software Description (.osd)
    • Sequenced Application File (.sft)
    • Icon File (.ico)
    • XML Manifest of the Sequence Project (.sprj)
    • A MSI file can be included for offline deployments.
  • App-V Streaming Server - In charge of streaming the packages to clients that lack a good connection to the Management Server.
  • App-V Client - Is installed on the OS of the end-user and communicates with the Management Server. Manages package streaming into cache and publishing refresh, also stores the user-specific information related to the package.

You can find the hardware and software requirements for all the components here.

App-V Infrastructure models

There are several ways of implementing App-V into your environment depending on your requirements.

Stand-Alone Model

The minimalist mode of App-V doesn't require any infrastructure except for the App-V Sequencer and the App-V Client. The packages can be deployed manually, using group policies or using System Center Configuration Manager (SCCM). This is mostly used for smaller companies, and companies that have a lot of Offline users.

Streaming Model

This model is mostly focused on platforms that don't want to run Management Servers. This means that a SQL database is not needed and the permissions are set through ACLs. The difference with the previous model is that by adding the App-V Streaming Server component the applications can be streamed to low-bandwidth clients like clients in branch offices.

Full Infrastructure Model

By utilizing all components of App-V you gain the full advantage of the technology. You can choose not to install the App-V Streaming Server component if you don't have clients on low-bandwidth connections. Using the App-V Management Server will add the application shortcuts within the process of deployment, and also enables features like reporting using a SQL database and central management of application licenses.

Prerequisites

As the management server is using SQL and IIS we'll need to make sure that these are setup correctly before we start. This will minimize the possibility of errors during the setup process.

Adding the IIS role to Windows Server 2008:

  1. Click Start > All Programs > Administrative Tools and select Server Manager
  2. Right-click the Roles node and click Add Roles
  3. Select the Server Roles page click Next and then click Next again
    1. Under Application Development select ASP.NET and when prompted, click Add Required Role Services
    2. Under Security, select Windows Authentication
    3. In the Management Tools node, select IIS Management Scripts and Tools
    4. Under IIS 6 Management Compatibility, ensure that both IIS 6 Metabase Compatibility and IIS 6 WMI Compatibility are selected and click Next
  4. Click Install on the Confirm Installation Selections page
  5. Click Close to exit the Add Roles Wizard

Now we need to tweak IIS a bit by adding some MIME types needed in App-V.

  1. Start the IIS Manager
  2. Select the Default Web Site > SoftGridManagement
  3. Double-click the MIME Types feature
  4. On the action panel, click Add
  5. In the Extension box, type OSD
  6. In the MIME box, type application/softricity-osd
  7. Click OK
  8. Run iisreset to activate the changes

Installing the App-V Management Server

After downloading the Microsoft Desktop Optimization Pack (MDOP) unpack, mount or burn it.

  1. Launch the MDOP autorun
  2. Select Install Management Server 4.5 SP2
  3. Click Next on the welcome screen
  4. Check the I accept license terms and conditions and click Next
  5. Enter you registration information
  6. Select Custom and click Next
  7. I recommend to keep the default features and path and click Next

  8. As my SQL server is not listed, I'll check the box and enter the server name and port, then click Next

  9. Normally you would create a database, unless a DBA already created a database for you. Since I'm my own DBA I'll have App-V create it for me by selecting Create a new database and click Next

  10. I choose not to enable the Use enhanced security for now. You can enable this later if you want to. Click Next.

  11. Accept the defaults for the RTSP (Real Time Streaming Protocol) port: 554

  12. Enter the group name that you want to give administrative access to the App-V Management Console. It will resolve the group and allow you to select a group if multiple results are returned. Click Next.

  13. Enter the group name that you want to give access to the App-V application packages. It will resolve the group allow you to select a group if multiple results are returned. Click Next.

  14. Here you can change the default location where the application content will be stored. Accept the default and click Next.
  15. Click Install to start the installation process.

An installation result will be given and a reboot is requested. After the reboot there are still a couple of tasks to preform.

Share the content folder - The default folder (C:\Program Files (x86)\Microsoft System Center App Virt Management Server\App Virt Management Server\content) will have to be shared to the clients access to the installation packages.

  1. Right-click the folder and select Share with > Advanced sharing

  2. Click Advanced Sharing

  3. Check Share this folder

  4. Click the Permissions button and give the Everyone group Full Control

  5. Click OK, OK, and Close

Set permissions on the content folder - People that need to use the App-V packages need to be able to access them. Therefore the permissions need to be set to allow this.

  1. Right-click the content folder and select Properties
  2. Click the Security tab
  3. Click Edit
  4. Click Add
  5. Enter your App-V users group, Domain Users or even Everyone if you want to
  6. Give the group the Read & Execute, List folder contents and Read permissions
  7. Click OK twice

Set firewall exceptions - If you have the Windows Firewall running on your App-V server you'll have to allow clients access to the App-V components

  1. Start Windows Firewall with Advanced Security
  2. Select Inbound Rules and click New Rule
  3. Select Program and click Next

  4. Click Browse and browse to C:\Program Files (x86)\Microsoft System Center App Virt Management Server\App Virt Management Server\bin\sghwdsptr.exe then click Open and click Next
  5. Select Allow the connection and click Next
  6. Select all options and click Next
  7. Enter a Name, optionally a Description and click Finish
  8. Repeat step 2 to 7 for C:\Program Files (x86)\Microsoft System Center App Virt Management Server\App Virt Management Server\bin\sghwsvr.exe

Now we need to change a couple of App-V settings to make it all work properly.

  1. Open the Application Virtualization Management Console
  2. In the Default Content Path, type \\<servername>\content
  3. Click OK

You can now start the Application Virtualization Management Console.

To make sure that everything is working you can install the App-V client on a workstation and see if the Default Application will stream and run properly.

You can always comment below if you run into any errors.

Filed under: App-V, Microsoft 5 Comments