title: Configuring session on windows azure
body: <p>I m using the local system to test session on windows azure. I have done the following config in web.config</p>
  
  <pre><code>&lt;appSettings&gt;
      &lt;!-- account configuration --&gt;
      &lt;add key="TableStorageEndpoint" value="http://127.0.0.1:10002/devstoreaccount1/" /&gt;
      &lt;add key="BlobStorageEndpoint" value="http://127.0.0.1:10000/devstoreaccount1/" /&gt;
      &lt;add key="AccountName" value="devstoreaccount1" /&gt;
      &lt;add key="AccountSharedKey" value="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==" /&gt;
      &lt;add key="DefaultMembershipTableName" value="Membership" /&gt;
      &lt;add key="DefaultRoleTableName" value="Roles" /&gt;
      &lt;add key="DefaultSessionTableName" value="Sessions" /&gt;
      &lt;add key="DefaultProviderApplicationName" value="ProviderTest" /&gt;
      &lt;add key="DefaultProfileContainerName" /&gt;
      &lt;add key="DefaultSessionContainerName" /&gt;
    &lt;/appSettings&gt;
    &lt;system.web&gt;
  
      &lt;sessionState mode="Custom" customProvider="TableStorageSessionStateProvider"&gt;
        &lt;providers&gt;
          &lt;clear /&gt;
          &lt;add name="TableStorageSessionStateProvider" type="Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider" /&gt;
        &lt;/providers&gt;
      &lt;/sessionState&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>but now i an getting the following error</p>
  
  <blockquote>
    <p>Configuration Error Description: An
    error occurred during the processing
    of a configuration file required to
    service this request. Please review
    the specific error details below and
    modify your configuration file
    appropriately.</p>
    
    <p>Parser Error Message: Exception has
    been thrown by the target of an
    invocation.</p>
    
    <p>Source Error:</p>
    
    <p>Line 39:        Line 40:<br>
     Line 41:          Line 42:        Line
    43:     </p>
    
    <p>Source File:
    C:\Users\GizaKarthik\Desktop\SessionDemo\SessionDemo\SessionDemo_WebRole\web.config
    Line: 41</p>
    
    <p>Assembly Load Trace: The following
    information can be helpful to
    determine why the assembly
    'Microsoft.WindowsAzure.StorageClient,
    Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35' could
    not be loaded.</p>
    
    <p>WRN: Assembly binding logging is
    turned OFF. To enable assembly bind
    failure logging, set the registry
    value
    [HKLM\Software\Microsoft\Fusion!EnableLog]
    (DWORD) to 1. Note: There is some
    performance penalty associated with
    assembly bind failure logging. To turn
    this feature off, remove the registry
    value
    [HKLM\Software\Microsoft\Fusion!EnableLog].</p>
  </blockquote>