Partilhar via


Database Compare troubleshooting: 'Unhandled exception' error message

 

Aplicável a: Office Professional Plus 2013, Office 365 ProPlus, Excel 2013, Access 2013

Tópico modificado em: 2013-12-18

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

Comparação de Banco de Dados 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 Comparação de Banco de Dados.

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

Issue

When people attempt to use Comparação de Banco de Dados, 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, Comparação de Banco de Dados requires .NET Framework 2.0 and Microsoft Report Viewer 2008 to be installed on the computer. These applications are not installed automatically, even though Comparação de Banco de Dados 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.

Importante

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 Comparação de Banco de Dados.

Consulte também

Servidor de Gerenciamento de Auditoria e Controle 2013