title: ' Sequence contains no elements' exception when initializing ninject
body: <p>I have a problem with Ninject which I have not seen before and don't know how to fix. I am using the MVC NuGet package for MVC 5.</p>
  
  <p>In my NinjectWebCommon.cs, there is the following method:</p>
  
  <pre><code>    public static void Start() 
      {
          DynamicModuleUtility.RegisterModule(typeof(OnePerRequestHttpModule));
          DynamicModuleUtility.RegisterModule(typeof(NinjectHttpModule));
          bootstrapper.Initialize(CreateKernel);
      }
  </code></pre>
  
  <p>However, it falls over when trying to execute the last line, complaining that the "sequence contains no elements". I was previously using Unity for DI but have changed to Ninject.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks in advance, M</p>