Share via


TSD3021: The following cross-server dependencies of {referencing object} could not be verified: {list}. You might not be able to deploy the project.

This warning appears when an object definition references an object on another server. Because the database project does not contain the referenced object, its existence cannot be verified. Deployment of the database project will fail if the object does not exist when you deploy the database project.

To correct this error

  • Define a cross-database reference, and use it in your object definition. For more information, see How to: Create Cross-Database References.

    Important

    If you define a cross-database reference, you must build the solution to resolve the warnings that appear in the Error List window.

Example

This warning appears for the view that is named View1 in the following example. If the table does not exist when you deploy the database project, deployment will fail.

CREATE VIEW View1 
AS 
SELECT * FROM server.database.schema.table

See Also

Concepts

Terminology Overview of Team Edition for Database Professionals

Other Resources

Overview of Cross-Database References