Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


Consider the following scenario:

  • You use the AlwaysOn Availability Groups feature in Microsoft SQL Server 2014.

  • You have an availability group whose backup-preference setting is set as "Prefer Secondary" or "Secondary only."

  • You create a maintenance plan that uses a backup database task to back up a database, and the database belongs to the availability group.

  • You select the "Verify backup integrity" option, and click to clear the "For availability databases, ignore replica priority for backup and backup on primary settings" option for the backup database task.

  • You execute the maintenance plan.

In this scenario, you receive the following error message:

Error Number:
Error Message:
Executing the query "<Query statement>" failed with the following error: "Cannot open backup device '<File path of the backup file>'. Operating system error 2(The system cannot find the file specified.). VERIFY DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.


The issue was first fixed in the following cumulative updates of SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. We recommend that you download and install the latest cumulative updates for SQL Server:


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!