2013.2 以降の FastReport.NET バージョンで web.config 上の FastReport 用のハンドラのファイル拡張子が変更されたため、過去の FastReport.NET(2013.1 以前)で作成した ASP.NET Web フォームアプリケーションを実行すると例外が発生します。
この問題を解決するためには、web.config 上の
の文字列を全て
に変更します。
上記の web.config の変更を行う前に、過去の FastReport.NET で作成した ASP.NET Web フォームアプリケーションを実行すると、自動的に正しい記録が web.config に追加される場合がありますが、古い記録が削除されないため ASP.NET Web フォームアプリケーションが実行できません。
その場合、間違っている記録を削除します。
例:
...
<httpHandlers>
<add path="FastReport.Export.aspx" verb="*" type="FastReport.Web.Handlers.WebExport" />
<add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
</httpHandlers>
...
<handlers>
<add name="FastReportHandler" path="FastReport.Export.aspx" verb="*" type="FastReport.Web.Handlers.WebExport" />
<add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
</handlers>
|
のような記録がweb.configに存在する場合、
...
<httpHandlers>
<add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
</httpHandlers>
...
<handlers>
<add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
</handlers> |
に修正します。
< FRPTF0113032901 >