FIX: When you use an XML data type method against the result of another XML data type method in Microsoft Visual Studio Team System 2008 Database Edition GDR, you receive a TSD04151 warning message or a TSD03006 error message incorrectly

This article has been archived. It is offered "as is" and will no longer be updated.
Symptoms
You use an XML data type method against the result of another XML data type method in a database project in Microsoft Visual Studio Team System 2008 Database Edition GDR. However, you receive the following error message or warning message incorrectly:

If the method is inside a Stored Procedure, a Trigger, a Scalar-valued Function, or a Table-valued Function, you receive the following warning message incorrectly:
TSD04151: Object type: [schema name].[object name] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [dbo].[object name].[column name]::[query].[value] or [object name].[query]::[value].
If the method is inside a View or an Inline Function, you receive the following error message incorrectly:
TSD03006: Object type: [schema name].[object name] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [dbo].[object name].[column name]::[query].[value] or [object name].[query]::[value].
Resolution
To resolve this problem, upgrade to Microsoft Visual Studio Team System 2008 Database Edition GDR R2. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
970479 List of fixed issues in the Microsoft Visual Studio Team System 2008 Database Edition GDR R2

Note Microsoft Visual Studio Team System 2008 Database Edition GDR R2 replaces Microsoft Visual Studio Team System 2008 Database Edition GDR.
More information
For more information about the XQuery language, visit the following Microsoft Developer Network (MSDN) Web site:
Properties

Article ID: 970574 - Last Review: 01/16/2015 04:27:00 - Revision: 2.0

  • Microsoft Visual Studio Team System 2008 Database Edition
  • kbnosurvey kbarchive kbqfe kbexpertiseadvanced kbsurveynew kbprb KB970574
Feedback