all groups > sql server reporting services > september 2005 >
You're in the

sql server reporting services

group:

Preview doesn't return records like it does under data tab


Preview doesn't return records like it does under data tab Jennifer
9/2/2005 10:27:03 AM
sql server reporting services: I have a problem where have a report that uses a shared datasource that
references a SQL Server. My dataset called a stored procedure that builds a
sql string and passes in the string to an openquery() command that queries a
DB2 database that is a linked server on that same SQL Server. The results
show up fine on the data tab when I run it, but when I try to preview the
report I get the column headers but no fields show up. The query takes time
to complete (under 2 minutes) I'm only returning 200 rows with under maybe 6
columns and the preview mode indicates from the number of pages (6) that it
knows some data should be returned. But none of the data is populating in
the table. I've been on with Microsoft Tech Support going on three weeks
now and they are clueless. Anyone have any idea why this is happening? I
can view reports that are querying the linked server database w/o the stored
Re: Preview doesn't return records like it does under data tab Bruce L-C [MVP]
9/2/2005 12:38:17 PM
Are you using a table to view the data?

Have you tried deploying the report to make sure it is not a development
environment issue?

There is a cache of the data used for preview. Look in the directory where
you report is stored. Delete the .data file for the report and see if that
makes any difference.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

RE: Preview doesn't return records like it does under data tab Jennifer
9/2/2005 2:32:30 PM
Figured it out. The fields weren't populating with a stored proc. Added the
fields (case sensitive) and made sure they were mapped to the database names.
Then my data started populating on the previewed report. Microsoft figured
out for me.

[quoted text, click to view]
AddThis Social Bookmark Button