Database Compare troubleshooting: 'Unhandled exception' error message

 

適用版本: Office Professional Plus 2013, Office 365 ProPlus, Excel 2013, Access 2013

上次修改主題的時間: 2013-12-18

Summary: Learn how to troubleshoot “unhandled exception” error messages that people might see when they try to use Database Compare.

資料庫比較 is installed automatically as part of Office 2013 Professional Plus. However, certain prerequisite components are not installed automatically, which can cause people to see an “unhandled exception” error message when they try to use 資料庫比較.

Database Compare error message: “Unhandled exception has occurred in your application.”

Issue

When people attempt to use 資料庫比較, they receive the following error message:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error 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=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Summary

In addition to .NET Framework 4.0, 資料庫比較 requires .NET Framework 2.0 and Microsoft Report Viewer 2008 to be installed on the computer. These applications are not installed automatically, even though 資料庫比較 is installed automatically as part of Office 2013 Professional Plus.

Resolution

Install .NET Framework 2.0 and Microsoft Report Viewer 2008, and then restart the computer. The following procedure contains links to the necessary components.

重要事項重要事項:
Before you begin the following procedure, make sure that you are logged into the user’s computer as an administrator.

To install the necessary components for Database Compare 2013

  1. On the user’s computer, open a web browser, and visit Microsoft .NET Framework 2.0 Service Pack 2.

  2. Download and install Microsoft .NET Framework 2.0 Service Pack 2.

  3. Open a web browser, and visit Microsoft Report Viewer Redistributable 2008.

  4. Download and install Microsoft Report Viewer Redistributable 2008.

  5. Restart the computer.

After you follow these steps, a user should be able to use 資料庫比較.

另請參閱

Audit and Control Management Server 2013