--- title: Problem Loading the Ninject Assembly slug: '2418' canonical_url: https://docs.coveo.com/en/2418/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Problem Loading the Ninject Assembly ## Symptoms When installing the Coveo for Sitecore package or accessing your Sitecore instance, you might get the following error: `System.IO.FileLoadException: Could not load file or assembly 'Ninject' or one of its dependencies. The located assembly's manifest definition doesn't match the assembly reference. (Exception from HRESULT: 0x80131040)` ## Cause This issue arises when you already have the Ninject library on your website. Upon installing the Coveo for Sitecore package, you will be prompted to overwrite your existing `Ninject.dll` file. If you choose to overwrite it, Ninject version 3.0.1.10 will be deployed instead of your current Ninject library, therefore resulting in incorrect version numbers in your C# project references. ## Resolution To fix this issue, follow these steps: . Replace the `Ninject.dll` assembly in your website `bin` directory with the one referenced by your project. . Using a text editor, open the `web.config` file and insert the following lines in the `assemblyBinding` XML element: ```xml ``` . Re-install the Coveo for Sitecore package, but when prompted to overwrite the `Ninject.dll` file, choose **No**. For all the other assemblies, you should choose **Yes**. ![Screenshot of a warning window asking if you wish to overwrite the ninject dll file | Coveo](https://docs.coveo.com/en/assets/images/c4sc-v5/35455046.png) . Restart the Sitecore client and server when prompted.