レポートは展開され、正常に動作し、レポートマネージャで確認されます。レポートビューアWebコントロールバージョン10が正しく設定されているにもかかわらずエラーを返す
私のアプリケーションはMVC2アプリケーションで、独自のaspxページに関するレポートがあります。このページは、レポートビューアコントロールのバージョン8で機能しましたが、新しいサーバー、アップグレードされたSQL Serverに移行し、一致するように当社のWebサイトを更新しようとしています。
サーバーはIIS 7.5を使用したWindows Server 2008です。
私は私の最善の努力にもかかわらず、クロムとIE 9の両方でテストしてい
、私はまだ、このエラーが出る:
Report Viewer Configuration Error
The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
to the system.web/httpHandlers section of the web.config file, or add<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
to the system.webServer/handlers section for Internet Information Services 7 or later.
しかし、私はすでにこれをやりました。実際に、私もMSDNからこれを読んで:
、私はどちらも直接IISにハンドラを追加しながら、私の設定では、単にWebサーバのHTTPハンドラ、単にHTTPハンドラのコンボを試しただけで安全であるとTo use IIS 7.0 in Integrated mode, you must remove the HTTP handler in system.web/httpHandlers. Otherwise, IIS will not run the application, but will display an error message instead.
私の設定では、両方。
は、私はアセンブリ、ビルドプロバイダー、およびハンドラを持っている私のweb.configファイル
<configuration
<system.web>
<httpRuntime maxQueryStringLength="4096" />
<compilation targetFramework="4.0">
<assemblies>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
</compilation>
</system.web>
<system.webServer>
<handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
</system.webServer>
</configuration>
で始まるのをしてみましょう。他に何が間違っているのでしょうか?
私はジョシュさんがこの作品を確認します:)ありがとう –
この場合、あなたは受け入れられたとして答えることができますか? – lstanczyk
そこにキーワードがありません...私はジョシュがこの作品を確認することを望んでいます! :) –