Warning SQL71502 - Procedure <name> has an unresolved reference to object <name>

Nicholas picture Nicholas · Apr 28, 2015 · Viewed 11.8k times · Source

I'm getting the following warning in my Visual Studio 2013 project:

SQL71502 - Procedure has an unresolved reference to object

Warning SQL71502

Answer

Nicholas picture Nicholas · Apr 28, 2015

This can be resolved by adding a database reference to the master database.

  1. Add Database Reference:

Add DB reference

  1. Select the master database and click OK:

Select database

  1. Result:

Result