LEGACY CONTENT
This article refers to legacy products, components or features. Therefore, the content in this article is offered "as is" and will no longer be updated. 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

Important: This issue only applies to installations of K2 blackpearl RTM, HF1 and HF2.01. Service Pack 1 for K2 blackpearl resolves this issue and is recommended for all customers.
 
If you install the Microsoft .NET Framework 2.0 Service Pack 1, K2 blackpearl Server may cause an access violation and quit. If running in console mode, the error will look like the following figure:



Also note that the server may appear to be started as a service, but right-clicking the service will show the following menu:


This indicates that the server is, in fact, not started.

Workaround

  1. Open Add or Remove Programs from the Control Panel
  2. Locate the Microsoft .NET Framework 2.0 Service Pack 1 entry and click Remove
  3. Click Yes to the confirmation dialog as shown below

    Note: This will uninstall the entire Microsoft .NET Framework 2.0
    Note: If you have also installed the Microsoft .NET Framework 3.0 SP1, you will need to uninstall that first before you can successfully uninstall the Microsoft .NET Framework 2.0 SP1 program
  4. Reinstall the Microsoft .NET Framework 2.0 Redistributable Package (dotnetfx20.exe)
  5. Verify that K2 blackpearl Server runs without causing an exception. This can be done by either checking the Windows Services management console or launching the K2 blackpearl Server from the shortcut located on the Programs menu. The last message typically listed in the console that verifies the server is running is "MSMQ Thread Listing"
If your K2 Server also is the home for the K2 Workspace or other IIS applications, you will need to run the following command to register the .NET Framework 2.0 with IIS:
  1. Open a command prompt and navigate to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
  2. Type aspnet regiis.exe -u and press Enter
  3. After the command finishes successfully, type aspnet regiis.exe -i and press Enter