title: Cannot retrieve Entity Framework Object Context for Verification in SimpleInjectorInitializer
body: <p>It seems that when I installed the Simple Injector MVC3 Integration package, SimpleInjectorInitializer was placed in the App_Start folder. However, when the Verify() method is called within Initialize(), it produces this error when attempting to get the Entity Framework Object Context (I have also provided the inner exceptions):</p>
  
  <pre><code>The supplied connection string is not valid, because it contains insufficient mapping or metadata information.
      InnerException: Unable to determine application context. The ASP.NET application path could not be resolved.
          InnerException: Exception has been thrown by the target of an invocation.
              InnerException: (Shown in browser) This method cannot be called during the application's pre-start initialization phase.
  </code></pre>
  
  <p>It also seemed that I had to move the registration calls from the Global.asax.cs Application_Start() to the SimpleInjectorInitializer's InitializeContainer() method.</p>
  
  <p>I am not entirely sure what to do at this point, but this issue seems somewhat related to this question: <a href="https://stackoverflow.com/questions/9267065/connection-string-exception-after-upgrading-to-ninject-3-0-0-rc3/">Connection string exception after upgrading to Ninject 3.0.0-rc3</a></p>
  
  <p>It seems that the application is trying to load the context before Entity Framework is even aware of its own and is unable to properly parse the connection string?</p>