Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Package load failure error in Visual Studio after installing Commerce Server 2007 SP2


View products that this article applies to.

Source: Microsoft Support

↑ Back to the top


Rapid publishing

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

↑ Back to the top


Symptom



After installing Commerce Server 2007 Service Pack 2, you may receive the following error when you try to open a file with Visual Studio 2005.



Package Load Failure

Package 'Commerce Server' has failed to load properly (GUID = {1FAF7679-A5C1-4369-9F00-F87E8386F599} ). Please contact package vendor for assistance.� Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading.

↑ Back to the top


Cause



The package load failure error is generated because of a problem in the Commerce Server 2007 Service Pack 2 installer where it is not able to properly register the CommercePkg.dll.

↑ Back to the top


Resolution



To resolve this issue, follow these steps:



1.������ Click Start, click All Programs, and then in the Microsoft Commerce Server 2007 folder click Commerce Server Tools Command Prompt.

2.������ Navigate to C:\Program Files\Microsoft Commerce Server 2007\

3.������ At the command prompt type Regsvr32.exe CommercePkg.dll



This will register the file CommercePkg.dll which is the package file that Visual Studio 2005 is attempting to load.



If your OS is x86, run:

regsvr32 C:\Program Files\Microsoft Commerce Server 2007\CommercePkg.dll

If your OS is 64-bit, run:

regsvr32 C:\Program Files (x86)\Microsoft Commerce Server 2007\CommercePkg.dll


Visual Studio 2008:
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

You need to manually update below registry entries:

For x86 OS:
Under key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{1FAF7679-A5C1-4369-9F00-F87E8386F599}]

Change the "InprocServer32" value to "C:\Program Files\Microsoft Commerce Server 2007\CommercePkg.dll"

For 64-bit OS:

Under key: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Packages\{1FAF7679-A5C1-4369-9F00-F87E8386F599}]

Change the "InprocServer32" value to "C:\Program Files (x86)\Microsoft Commerce Server 2007\CommercePkg.dll"





Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Disclaimer

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE �MATERIALS�) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

↑ Back to the top


Keywords: KB962353, kbrapidpub, kbnomt

↑ Back to the top

Article Info
Article ID : 962353
Revision : 1
Created on : 1/14/2009
Published on : 1/14/2009
Exists online : False
Views : 445