DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2843030 - Last Review: May 6, 2013 - Revision: 2.0

Symptoms

If an application contains an OPC "relationship part" (.rels) file, the Microsoft App-V 5.0 sequencer fails to package the application. When the failure occurs you receive the following error message:

An error was encountered while trying to finalize the package. Please check the event log for more details.

You can identify a relationship part by the presence of a file with a ".rels" file extension in a folder named "_rels". For more information, refer to the Open Package Conventions (OPC) specification.

Cause

This is a known limitation in App-V 5.0.

Resolution

To work around the limitation, manually delete all relationship files from the package source folder prior to saving the package. Delete the file(s) when reaching the Create Package page in the new package wizard, just prior to clicking the Create button.

More information

When the error occurs, events that are similar to the following appear in the Microsoft-AppV-Sequencer event log:

Log Name:    Microsoft-AppV-Sequencer/Admin
Source:        Microsoft-AppV-Sequencer
Date:          
Event ID:      404
Task Category: None
Level:         Warning
Keywords:     
User:          DOMAIN\User
Computer:   COMPUTER
Description:
The file 'Root\<ProgramName>\<subfolder>\_rels\document.xml.rels' could not be added to the package (The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)).

Log Name:    Microsoft-AppV-Sequencer/Admin
Source:        Microsoft-AppV-Sequencer
Date:          
Event ID:      405
Task Category: None
Level:         Warning
Keywords:     
User:          DOMAIN\User
Computer:      COMPUTER
Description:
The manifest could not be added to the package (The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F)).

Log Name:    Microsoft-AppV-Sequencer/Admin
Source:        Microsoft-AppV-Sequencer
Date:          
Event ID:      5007
Task Category: None
Level:         Error
Keywords:     
User:          DOMAIN\User
Computer:      COMPUTER
Description:
An attempt to finalize the package failed (The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F)).
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use (http://go.microsoft.com/fwlink/?LinkId=151500) for other considerations.

Applies to
  • Microsoft Application Virtualization 5.0 for Remote Desktop Services
  • Microsoft Application Virtualization 5.0 for Windows Desktops
  • Microsoft Application Virtualization 5.0 for Windows Desktops Service Pack 1
Keywords: 
KB2843030
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support