Docs

NCover v3

Knowledge Base

All .NET Applications On My System Attempt To Load NCover

CONTENTS

There are a few cases in which the NCover environment does not get reset after running NCover on services or IIS.

Symptoms

An NCover environment that has not been properly cleaned up will cause every .NET application to take an abnormally long time to load. This time is caused by NCover being loaded by the application and proceeding to attempt its handshake with NCover.Console.

Causes

This scenario is primarily caused by NCover being killed during execution. This is especially common in build server environments where the build server includes functionality to stop the build.

Solution

The environment variables that cause this issue to occur are set in the registry. Open regedit.exe and browse to HKEYLOCALMACHINE\System\CurrentControlSet\Control\Session Manager\Environment and delete the following keys:

  • CorEnableProfiling
  • Cor_Profiler
  • NCover_PID
Need more help? If you've searched our documentation
and can't find an answer, we're here for you. Simply
submit a support ticket, and we'll be in touch.

Submit a support ticket.