Ask a questionAsk a question
 

AnswerReportBuilder 2 Views not displayed

  • Thursday, October 29, 2009 1:49 PMdob_xml Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    What possible reasons are there for not seeing the Views node in the Query Designer?

    When I connect using the same credentials via SSMS I can see the views.

Answers

  • Friday, November 06, 2009 6:13 PMDenesh PoharMSFT, AnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    You've found a bug.  The query designer is incorrectly identifying your view as a system view.  Could you please go to Microsoft Connect and log this bug?  Please cite this forum thread in the bug also.

    If I can figure out a workaround I'll update this thread to let you know.

    Thanks,
    Denesh.
    This posting is provided "AS IS" with no warranties, and confers no rights.

All Replies

  • Thursday, October 29, 2009 6:32 PMDenesh PoharMSFT, AnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Has Code
    Which version of SQL Server are you connecting to?

    If it is SQL Server 2005 or greater, try running the following query in Report Builder's text mode query designer:
    select sys.views.name as [name], sys.schemas.name as [schema] from sys.views left outer join sys.schemas on sys.views.schema_id = sys.schemas.schema_id
    
    Does the view you are looking for show up?

    Also, note that the treeview in Report Builder is organized differently than SSMS -- Tables/Views are organized by user schema, so make sure you check under all information schemas (the schema name is also returned by the query above).

    Thanks,
    Denesh.
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Monday, November 02, 2009 9:18 AMdob_xml Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    It is version 8.00.2039 (SQL 2000)
  • Wednesday, November 04, 2009 8:13 PMDenesh PoharMSFT, AnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Has Code
    For SQL 2000, try the following query:

    select sysobjects.name as [name], sysusers.name as [schema], sysobjects.[status]
    from sysobjects
     left outer join sysusers on sysobjects.[uid] = sysusers.[uid]
    where sysobjects.xtype = 'V'
    
    Does your view show up?  If so, what is the 'status' value of it?
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Friday, November 06, 2009 10:23 AMdob_xml Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    yes the view does appear in the results. The status is 0
  • Friday, November 06, 2009 6:13 PMDenesh PoharMSFT, AnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    You've found a bug.  The query designer is incorrectly identifying your view as a system view.  Could you please go to Microsoft Connect and log this bug?  Please cite this forum thread in the bug also.

    If I can figure out a workaround I'll update this thread to let you know.

    Thanks,
    Denesh.
    This posting is provided "AS IS" with no warranties, and confers no rights.