SSRS not displaying data but displays data when query runned in tsql - sql

I have a SSRS report that do not display data in preview mode. However, when I run the same query in SQL Server 2008 R2 I can retrieve the results
What could cause this?
I also used Set FMTOnly to off because I use temptables.

if you use "SQL Server Business Intelligence Development Studio" not "Report Builder" then on reporting services (where is you table):
click View -> Properties Window (or just press F4)
select the tablix
on properties window find "General" and in the "DataSetName" choose your "Dataset"
On tablix fields set values from your "DataSets"
Or just do like here(from 8:50): http://www.youtube.com/watch?v=HM_dquiikBA

The Best solutio
Select the entire row and change the font to arial or any other font other than segoe UI
default font
default font
no display in preview
no display in preview
changed font first row
changed font first row
first row is displayed in preview
first row is displayed in preview
changed secon row font
changed secon row font
data is displayingig
data is displayingi

A workaround should be:
1) Select the parameters and click on View Report (you will not see nothing or some cells will display content and some not)
2) Click on Print Layout (next to the printer)
You will be able to see content. If you have expand/collapse functionality and then you will not be able to interact with the UI.

I faced similar issues. If you remove/delete the parameter, open the dataset definition and refresh the fields, the parameter should be recreated. Then run the report. It worked for me.

Related

can grow field object not working in crystal report

I am working with crystal report in visual studio , the report contains data from the data base . the Problem is that the field object height in the report it is fine for short text length but for long text some characters that exceed the field object height will be hidden.
I have been used can grow property by checking it in the format object window but it didn't work the section height didn't increase automatically to wrap all text .
please how can i solve this problem ? any help would be appreciated
thanks in advance
In crystal reports, create a new formula. (it can be done by right-mouse clicking on Formular Fields in the "Field Explorer". In this formula field, drag and drop the notes field so the formula would look something like this {Command.Notes} or {TableName.Notes}. Then back in your report, right mouse click in the Details section and select Insert --> Text Object. Then drag and drop that newly created Formula field into the newly created blank text object.

SSRS: The content of the tabix doesn't go to next page although page breaks have been added

I have problem with SSRS 2008
My rdl file can be downloaded from: https://www.dropbox.com/s/qsvreevwfnb5n1w/rep10studentyearlyreport_new.rdl?dl=0
My problem is that even after I set Add a page break before for table of 'Student Enrichment Programme', when I export to pdf file, the content of Student Enrichment Programme doesn't start at new page. Please take a look at the picture belows:
https://www.dropbox.com/s/i3jvdwmmhoaexa7/pdfFile.png?dl=0
try on the report on Tablix Properties
To add a page break to a data region
1 On the design surface, right-click the corner handle of data region and then click Tablix Properties.
2 On the General tab, under Page break options, select one of the following options:
- Add a page break before. Select this option when you want to add a page break before the table.
- Add a page break after. Select this option when you want to add a page break after the table.
- Fit table on one page if possible. Select this option when you want the data to stay on one page.
On the design surface, right-click the corner handle of data region and then click Tablix Properties.
After that On the General tab, under Page break options, select one of the following options
SET On Tablix Properties Under PageBreak Set Breaklocation = Start
![enter image description here][4]

.rdlc report: text on page in two columns

How do I split the text on the page in two columns in .rdlc report. For example Such as in the picture
http://i.stack.imgur.com/5mo1x.gif
You can set Columns and ColumnSpacing properties of your rdlc.
To do this you have to:
display Property windows
click on Body or Report (grey area outside your page), depending on what version you are using

Rdlc Report in dotnet

I am generating rdlc report in dotnet2.0 C#. My doubt is I want to freeze the Table header (like Excel freeze) in the rdlc report. Since my table data is more, I need this option.
Although this is old, it still came up in Google search when I was looking for a similar issue. So I'm posting this here just in case...
In SSRS 2008 the option to freeze a row or a column is FixedData = true. See this article for details: http://support.microsoft.com/kb/955822
Also, if your ReportViewer control is allowed to stretch to the entire HTML page, it will likely set the height of the internal table to include all rows in the dataset (or for however may rows fit on "ReportViewer page"). In that case the scroll bar is enabled for the entire page, and the report cannot keep top rows frozen. Instead place the ReportViewer control inside some viewing container and add a script to adjust width and height on window resizing.
set your fixheader property true
for this Select Table > property > fixheader = true
Second way open your rdlc file in xml edition
put the fix header as show below in your header tags
<header>
<FixedHeader>true</FixedHeader>
</Header>

The data set name is missing in the data region 'DataSetName'

I added an additional, new DataSet to my report and have been getting this cryptic error ever since.
The issue was that when the report had elements setup using the first data set I'd defined when the report was created. Adding an additional data set reset the DataSetName value to be blank. In this case for my Table but it could be for a List, etc.
To correct:
Open the report in SQL Server Business Intelligence Development Studio (AKA Visual Studio)
View the object details in the Properties Window (View > Properties Window or press F4)
Check the DataSetName value (under the Data section)
Update the value to point to the correct Data Set
Examine your RDLC file, open it in a XML editor. Most specifically, take a look at the Dataset section. See if there are some old ones that are still there. You can edit this file directly, but be careful what you do.
You can also attempt to run the RDLC file through a XML validator, and see if it comes up with any errors. Make sure to validate against the RDLC file's schema. (http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition/ReportDefinition.xsd)
I had a bit of trouble finding the correct properties window that contained this value, so I will add the following:
On the Layout Tab, press F4 to bring the properties box up.
In the dropdown at the top of the properties box, find your table and select it.
You should now see that data section about halfway down, along with the DataSetName property the error is complaining about.
I know this is a decade late, but this is to possibly help the next guy that is searching the internet for answers (like me).
In SSRS, right-click any unused/white area of the report then choose Select-> and the Group level (not group level content) that you are getting the error about.
In the properties window (Menu->View->Check Properties) for the Group Level, scroll down to General the DataSetName. Select the drop down arrow and choose the original dataset.