K2 for Visual Studio issue when Microsoft Windows is installed to a non “C:” drive location

  • 16 February 2021
  • 0 replies
  • 4 views

Userlevel 3
Badge +8
 

K2 for Visual Studio issue when Microsoft Windows is installed to a non “C:” drive location

KB000258

PRODUCT
K2 blackpearl 0803
BASED ON
K2 blackpearl 0803
TAGS
Installation
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

 

Introduction

An error occurs when opening Microsoft Visual Studio after upgrading K2 blackpearl RTM or SP1 to K2 blackpearl 0803 if the Microsoft Windows installation is located on a drive location other than “C:”.

This article will describe the error involved, and how to resolve the issue.

 

 

Package Load Failure

During the upgrade from a previous version of K2 blackpearl to K2 blackpearl 0803, the installer registers two registry settings used by K2 Designer for Visual Studio that refer to specific “C:” based Windows directory locations. As the referred to files have not been installed to the “C:” based locations, a “package load failure” error will occur when attempting to open MS Visual Studio.

The two registry values are as follows:
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudio8.0Packages{ab85df7a-ee9a-42cb-877e-e96781a6e60e}]
"CodeBase"="C:\WINDOWS\assembly\GAC_MSIL\SourceCode.VisualStudio\
4.0.0.0__16a2c5aaaa1b130d\SourceCode.VisualStudio.dll"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudio8.0Packages{ab85df7a-ee9a-42cb-877e-e96781a6e60e}]
"InprocServer32"="C:\WINDOWS\system32\mscoree.dll"

 

Error Message

The following error message relates to this KB Article:
  • Package load failure
     

Workaround

The error can be resolved by following the steps below:
  1. Replace the "C:" in the registry values with the relevant letter that WINDOWS is installed on.
  2. Run "<drive>:program filesmicrosoft visual studio 8common7idedevenv.exe" /Setup.
Important: "<drive>:program filesmicrosoft visual studio 8common7idedevenv.exe" /Setup must be run after editing the registry settings and BEFORE re-opening Microsoft Visual Studio

 


0 replies

Be the first to reply!

Reply