Database Compare 2013でファイルを比較するとエラー[Unhandled exception has occurred in your application.]が出力された場合の対処法

地味に便利なAccessファイルを比較するOffice ツール「Database Compare」。
Office 365 ProPlus(2013)がインストールされたとある環境でDatabase Compare 2013を実行したところ、Microsoft.ReportViewer.WinFormsがないとのエラーが出ました。
今回はDatabase Compare 2013でファイルを比較するとエラー[Unhandled exception has occurred in your application.]が出力された場合の対処法をメモ。

環境

  • Windows 10 Pro 1511 64bit
  • Office 365 ProPlus(2013) 32bit

エラー内容

Database Compare 2013を起動し比較する2つのAccess ファイルを指定します。
オプションを指定し[compare]ボタンをクリックすると以下のエラーが表示されました。
Unhandled exception has occurred in your application.
If you click Continue, the application will ignore this erorr and attempt to continue.
If you click Quit, the application will close immediately.

Could not load file or assembly 'Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublickeyToken='xxxxxxxxxxx' or one of its dependencies.
指定されたファイルが見つかりません.

原因

原因はMicrosoft Report Viewerがインストールされていないためでした。
Database Compare troubleshooting: 'Unhandled exception' error message

対処法

Microsoft Report Viewer 2008 再頒布可能パッケージをインストールしましょう。
Microsoft Report Viewer 2008 再頒布可能パッケージ
スポンサーリンク

スポンサーリンク