title: Sitecore 8.1 error: "No session Id managers were found to manage the session Id for the current request"
body: <p>I'm attempting to get a basic layout up and running in Sitecore 8.1, and I've hit an error about which I can find very little information. When attempting to view any page (even the backend interface or connecting from Sitecore Rocks), I get the message "No session Id managers were found to manage the session Id for the current request."</p>
  
  <p>Some Googling suggests that this has to do with some issues with the out-of-box session provider and recommends swapping it out for keeping the sessions in Mongo. Sitecore's documentation provides a description of this, both for <a href="https://doc.sitecore.net/sitecore%20experience%20platform/xdb%20configuration/walkthrough%20configuring%20a%20shared%20session%20state%20database%20using%20the%20mongodb%20provider" rel="nofollow">shared</a> and <a href="https://doc.sitecore.net/sitecore_experience_platform/xdb_configuration/walkthrough_configuring_a_private_session_state_database_using_the_mongodb_provider" rel="nofollow">private</a> sessions. I've attempted to implement those but continue to receive the same error.</p>
  
  <p>Here's my code as it stands now:</p>
  
  <p><strong>App_Config/Include/MongoSessionProvider.config</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"&gt;
    &lt;sitecore&gt;
      &lt;tracking&gt;
        &lt;sharedSessionState&gt;
          &lt;providers&gt;
            &lt;clear/&gt;
            &lt;add name="mongo" type="Sitecore.SessionProvider.MongoDB.MongoSessionProvider, Sitecore.SessionProvider.MongoDB" connectionString="session" pollingInterval="2" compression="true" sessionType="shared"/&gt;
          &lt;/providers&gt;
        &lt;/sharedSessionState&gt;
      &lt;/tracking&gt;
    &lt;/sitecore&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p><strong>App_Config/Include/ConnectionStrings.config (excerpt)</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;add name="session" connectionString="mongodb://localhost/sharedsession" /&gt;
  </code></pre>
  
  <p><strong>Web.config (excerpt)</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;sessionState mode="Custom" cookieless="false" timeout="20" sessionIDManagerType="Sitecore.FXM.SessionManagement.ConditionalSessionIdManager" customProvider="mongo"&gt;
    &lt;providers&gt;
      &lt;add name="mongo" type="Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, Sitecore.SessionProvider.MongoDB" sessionType="Standard" connectionStringName="session" pollingInterval="2" compression="true" /&gt;
      &lt;add name="mssql" type="Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql" sessionType="Standard" connectionStringName="session" pollingInterval="2" compression="true" /&gt;
    &lt;/providers&gt;
  &lt;/sessionState&gt;
  </code></pre>
  
  <p>Note that this is on my local development machine. I have Mongo running (and confirmed its connection to Sitecore), and I created both the session and sharedsession databases in it using <code>use session</code> and <code>use sharedsession</code>, which I understand to be the way to create DBs in Mongo.</p>
  
  <p>Am I missing something here? Or does the error simply not mean what I think it means?</p>