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 認証を有効にします。 これを行うには、次の手順を実行します。
リダイレクター サービスの Web.config ファイルをバックアップします。
注:
既定では、Web.config ファイルは フォルダーにあります。
%SystemDrive%\program files\common files\web service extensions\14\ISAPI\powerpivot
リダイレクター サービスの Web.config ファイルをメモ帳で開きます。
タグを
<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>
タグを
<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>
[ファイル] メニューで [保存] をクリックします。
メモ帳を終了します。
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示