title: ConnectorStore changes in Bot Builder SDK 3.5.5?
body: <p>I’m upgrading Bot Builder SDK for our bot from 3.5.0 to 3.5.5 due to LUIS endpoint being deprecated in few weeks and it seems like latest SDK version has a way to specify ‘LuisApiVersion’.</p>
  <p>During upgrade, I’m getting following error while modifying the behavior to use LastWriteWins policy for CachingBotDataStoreConsistencyPolicy:</p>
  <p>Exception thrown:</p>
  <blockquote>
  <p>'Autofac.Core.Registration.ComponentNotRegisteredException' in autofac.dll</p>
  <p>Additional information: The requested service 'Microsoft.Bot.Builder.Dialogs.Internals.ConnectorStore' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.</p>
  </blockquote>
  <pre><code>        builder.Register(c =&gt; new CachingBotDataStore(c.Resolve&lt;ConnectorStore&gt;(),
              CachingBotDataStoreConsistencyPolicy.LastWriteWins)
              .As&lt;IBotDataStore&lt;BotData&gt;&gt;()                           
              .AsSelf()
              .InstancePerLifetimeScope();
  </code></pre>
  <p>This code has worked for 3.5.0, but I’m not sure what’s the best way to handle the Autofac error that we are getting with 3.5.5. Any pointers or idea about this?</p>