Troubleshooting .NET Applications

Troubleshooting .NET Applications

The .NET Framework does not find managed DLLs using the conventional PATH environment variable. In order for your assembly to find and load a managed DLL, it must either be loaded as a private assembly using assemblyBinding, or it must be installed into the Global Assembly Cache (GAC).

The GAC utility must be run on every machine that runs the .NET code.

If an assembly attempts to load the GemStone.GemFire.Cache.dll without meeting this requirement, you receive this System.IO.FileNotFoundException:

Unhandled Exception: System.IO.FileNotFoundException: Could not load file
or assembly 'GemStone.GemFire.Cache, Version=, Culture=neutral,
PublicKeyToken= 126e6338d9f55e0c' or one of its dependencies. The system
cannot find the file specified.
File name: 'GemStone.GemFire.Cache, Version=, Culture=neutral,
PublicKeyT oken=126e6338d9f55e0c'
at HierarchicalClient.Main()