Unresolved dependencies
cat
Posts: 7
The error message is "Unable to resolve object [db].[schema].[object] in unknown database [server].[db] referenced by..."
The [server].[db] is the same as the object I added to the project.
In the model there are not any dependencies to resolve by hand, even though I know the proc relies upon tables inside the same db. Sysdepends knows about the dependency also.
Could it be permissions? We explicitly grant on all objects, and seldom grant to public. If it is permissions, what sort are needed (select, reference, view definition)?
The [server].[db] is the same as the object I added to the project.
In the model there are not any dependencies to resolve by hand, even though I know the proc relies upon tables inside the same db. Sysdepends knows about the dependency also.
Could it be permissions? We explicitly grant on all objects, and seldom grant to public. If it is permissions, what sort are needed (select, reference, view definition)?
Comments
Thinking that maybe the issue is comments or white space I copied a proc removing all the indentation and comments that are not at the end of lines. Hoping that it would help the parser. It did not. The tool did not find an update command that is left justified.
The error messages that I am receiving aren't giving me any clues either. The objects that cannot be resolved because they're in an unknown db aren't directly called by the proc. I've changed the option setting to only include 1 level of objects used by the selected object and it's still not finding my update table statement.
Sorry, but I do not completely understand the problem. The way I read is this:
- Database 1 contains a stored procedure
- The procedure in database 1 has an unresolved external reference to a table
- You attempt to resolve the external reference
- This results in the message about the inability to resolve the external reference
I am not sure about the 'object not being directly called by the procedure' -- does this indicate that you are using a linked server in thie query? Also, is the external reference attached to a whole different server rather than another database on the same server?Thanks!
And which version of Dependency Tracker are you using?
Thanks.
version = 2.4.0
I sent explicit examples with screen shots to Ben Pinchen.