Microsoft Office Outlook An Unexpected Error Has Occurred

-->

To resolve this issue, rename the Sent Items.dbx file from the Outlook Express email files. To do this, follow these steps: Click Start, point to Find, and then click Files or Folders. In the Named box, type Sent Items.dbx. In the Look In box, click your primary hard disk (usually drive C), and then click Find Now. Open the.csv file in another application, such as Microsoft Excel, and then use Save As to save the contents as a new.csv file. Then, use Outlook to import the new.csv file. More Information. The characters that are used to represent a line break are known as a record delimiter string.

  • Causes of An Unexpected Error Has Occurred in Outlook If you are experiencing an unexpected error suddenly on your Outlook, the reason can be any. Some of the possible ones are: Your corrupt Outlook profile.
  • Please perform office repair to fix any issue with the office application including Outlook app. Please open the link provided below and follow the instructions there on how to do it. Let me know if the issue is resolved after the repair.
  • Following are some reasons that may cause Microsoft Outlook not opening issue: Outlook PST file is accidentally deleted or damaged Outlook Profile belongs to an older Outlook version Incorrect configuration of the application.

Original KB number: 4051381

Microsoft Office Outlook An Unexpected Error Has Occurred

Symptoms

When you run the Microsoft Office 365 Hybrid Configuration Wizard after Exchange Server 2016 Cumulative Update 7 is installed, the wizard fails to run and reports that the Set-FederatedOrganizationIdentifier cmdlet returns error 'Object reference not set to an instance of an object.'

This message is part of the following full error message that's written to the Hybrid Configuration Wizard log:

You may experience the following similar error if you run the cmdlet directly from the Exchange Management Shell:

Workaround 1

Use this method if you have a second Exchange Server in your domain that's running Exchange Server 2010, Exchange Server 2013, or Exchange Server 2016 Cumulative Update 6 or earlier.

  1. Connect Exchange Management Shell to the second Exchange Server and run the following cmdlet:

  2. After the cmdlet is completed successfully, run the Microsoft Office 365 Hybrid Configuration Wizard on Exchange Server 2016 Cumulative Update 7.

Workaround 2

Microsoft Office Outlook An Unexpected Error Has Occurred Due

Contact Microsoft Support to request a copy of the interim update that contains the fix to this issue. The fix will be included in the Exchange Server 2016 Cumulative Update 8.

Microsoft Office Outlook An Unexpected Error Has Occurred Today

Status

Microsoft has confirmed that this is a known issue in Exchange Server 2016 Cumulative Update 7.