SQL Server Analysis Servicesで PowerPivot for Excel ブックをデータ ソースとして使用するとエラー メッセージが表示される

この記事は、SQL Server Analysis Servicesで PowerPivot for Excel ブックをデータ ソースとして使用しようとしたときに発生する問題を解決するのに役立ちます。

元の製品バージョン: SQL Server
元の KB 番号: 2607106

現象

次のような状況で問題が発生します。

  • 中間層サーバーで Microsoft PowerPivot for Excel を構成します。
  • Kerberos 認証を使用するようにサーバーを構成し、サーバーに接続します。
  • Microsoft SQL Server Analysis Servicesでは、PowerPivot for Excel ブックをデータ ソースとして使用しようとするとします。

このシナリオでは、次のようなエラー メッセージが表示される場合があります。

HTTP エラー 401。

原因

この問題は、リダイレクター サービスのカスタム バインドが Microsoft NTLM 認証を使用するように構成されているために発生します。 さらに、カスタム バインドはネゴシエートしないように構成されます。

解決方法

この問題を解決するには、リダイレクター サービスの Kerberos 認証を有効にします。 これを行うには、次の手順を実行します。

  1. リダイレクター サービスの Web.config ファイルをバックアップします。

    注:

    既定では、Web.config ファイルは フォルダーにあります。 %SystemDrive%\program files\common files\web service extensions\14\ISAPI\powerpivot

  2. リダイレクター サービスの Web.config ファイルをメモ帳で開きます。

  3. タグを <binding name="RedirectorBinding"> 見つけて、次のように値を authenticationScheme 変更します。

    • Original

      <binding name="RedirectorBinding">
      <webMessageEncoding webContentTypeMapperType="Microsoft.AnalysisServices.SharePoint.Integration.Redirector.RawContentTypeMapper, Microsoft.AnalysisServices.SharePoint.Integration" />
      <httpTransport manualAddressing="true" authenticationScheme="Ntlm" transferMode="Streamed" maxReceivedMessageSize="9223372036854775807"/>
      </binding>
      
    • 更新あり

      <binding name="RedirectorBinding">
      <webMessageEncoding webContentTypeMapperType="Microsoft.AnalysisServices.SharePoint.Integration.Redirector.RawContentTypeMapper, Microsoft.AnalysisServices.SharePoint.Integration" />
      <httpTransport manualAddressing="true" authenticationScheme="Negotiate" transferMode="Streamed" maxReceivedMessageSize="9223372036854775807"/>
      </binding>
      
  4. タグを <binding name="RedirectorSecureBinding"> 見つけて、 authenticationScheme の値を次のように変更します。

    • Original

      <binding name="RedirectorSecureBinding">
      <webMessageEncoding webContentTypeMapperType="Microsoft.AnalysisServices.SharePoint.Integration.Redirector.RawContentTypeMapper, Microsoft.AnalysisServices.SharePoint.Integration" />
      <httpsTransport manualAddressing="true" authenticationScheme="Ntlm" transferMode="Streamed" maxReceivedMessageSize="9223372036854775807"/>
      </binding>
      
    • 更新あり

      <binding name="RedirectorSecureBinding">
      <webMessageEncoding webContentTypeMapperType="Microsoft.AnalysisServices.SharePoint.Integration.Redirector.RawContentTypeMapper, Microsoft.AnalysisServices.SharePoint.Integration" />
      <httpsTransport manualAddressing="true" authenticationScheme="Negotiate" transferMode="Streamed" maxReceivedMessageSize="9223372036854775807"/>
      </binding>
      
  5. [ファイル] メニューで [保存] をクリックします。

  6. メモ帳を終了します。