SQL Reporting :: Report Datasource Will Not Refresh?
Feb 14, 2011
I've had to update my datasource as a field on my report has change. he StoredProcedure works just fine. However the report data source WILL NOT UPDATE so I cannot add the new field to the report!
created a data source DS_QCategory that select data from a table but according a passed parameter which is a DDL selectvalue.I write the sql statement like this (select * from myTable where ({fn YEAR(tblarQuestions.QuestionDate)} LIKE (@QuestionDate)))this function will compare only the Year from my full date field with a DDL that include all Years like 2008, 2009, 2010 Then I create a report using reportviewer control and i defined the parameter in the bjectDataSource of the report then I added to my Years list in the DDL something like this "All" to select all data from myTable regardless the parameter so i created another Datasource DS_QCategoryAll to select all data from myTablewhat I need is to change the object data source of my report once "All" is selected: this is my code:
[Code]....
But get this error:
"
A data source instance has not been supplied for the data source 'DS_QCategory_tblarQuestionCategory' "
I am trying to call a reporting services report in Report view if I click ID For example, if I click ID 1001 ..it will pass the parameter 1001 And run a reporting services report in Report viewer on new web page..
How can I do this? Is there a example I can take a look?
I have a class that inherited from object type and has some string properties, also I have a report(.rdcl) that use the fields of that class.I add a webpage in my project, then I drag a reportviewer component into it. then I set the report to my existing report mentioned before using choose report (small arrow). in my page load code behind, I create an instance of that class and now, I don't have any idea how to bind that data.
I am using a datasource in the report server where all the reports use that shared datasource while calling the reports from asp.net pages.
Now, as asp.net pages uses the connection string for the databases which is assigned in the web.config file, i want the reports also use the same connection string because you don't need to change on both places( web.config and report server datasource).
Exporting Datasource results to excel not just report data.My datasource is a stored procedure that returns a lot of fields that are not on the report itself. I would like the entire result of dataset to export to an excel file if user chooses.
I have a problem when I try to pass in paramaters for a report in my report viewer. I have set up the ObjectDataSource and set the paramaters for 3 text boxes that are on the page. The only way I have found to set the paramaters for the report is the user must fill in the paramaters and hit the refresh button on the Report Viewer toolbar ,but I would like to have the user click a asp.net button insted. Is there anyway to call the refresh method from codebehind?
Report viewer from SQL reporting services in VS 2008 report control If I create a new report in VS 2008 they have a .rdlc extension and work correctly.
I have some reports that I was using in SQL reporting services. Extensions are .rdl and want to get them to work with VS 2008.
I copied the rdl files and the .rdl.data files over to VS 2008 (SP1) project but when I go to select the report in the control it does not see the file (I assume it is looking for a .rdlc file)
I tried rename the file to .rdlc and loaded the file up and got
The report definition has an invalid target namespace [URL] which cannot be upgraded.
I see this
[URL]
[URL]
It says
"RDL files are fully compatible with the ReportViewer control runtime. However, RDL files do not contain some information that the design-time of the ReportViewer control depends on for automatically generating data-binding code. By manually binding data, RDL files can be used in the ReportViewer control."
But the link for how to manual bind the data is broken.
Can you please point me to an example of how to implement drill down in RDLC? I am in a situation where the first report appears perfectly, but when I click on a drill down link , i get an error A data source instance has not been supplied for the data source 'RecuirtmentDataSet_ProfileTracker'.
I am working with SSRS reports .I have one report called AllOrderDails with Order_No, Order_Date, Project_Name, Boiler_Name, RefNo, Total_NoItems, Total_GrossWeight, Expected_Date .It shows all order Details ,when i click Order_No it shows another report called OrderDetails.It shows only single Order_No details....In OrderDetails page i am using one textbox for back .It is for going back to AllOrderdetails.
My problem is when i click Order_No in AllOrderDetails page it's show OrderDetails page withrelated Order_No,when i click back it goes to AllOrderDetails Page but It's not displaying any data...
I had created a cube in SSAS. After creation my data in Fact table is updated. Now my cube still shows old data. How to refresh data in a cube automatically
I'm looking for the Report Header section in the Report Services report and can only see Page Header/Page Footer, where can I find the Report Header/Report Footer? or RS doesn't have them? My problem is, I use the Page Header to include the Report Name & Desc. along with client's Logo, it works however my client doesn't want the Page Header to show on every page just the first page is good enough save papers and keep larger report small.
when i run the webpage from my dev machine its works perfectly but after i deployed it to our webserver i had a problem where the reports did not display on the webpage. I eventually get the report to display on the webpage but now i am having a problemwhere the datepicker does not appear on the webpage
I want to know how to open an RDLC Report in a pop up. I have taken an asp.net web application. I have added an rdlc and created a dataset and a report with the data from datasaet. In the web form I have taken a report viewer control and have binded the report. Now i have a view report button. When I click on viewReport button, the report should open as a popup. if there are any parameters like drop downs in the main page these also should be passed to the popup.
I am working with rdlc reports. I have an asp.net web form where i'll select a parameter (substance name)from a dropdown. When I click on view reports button, the report should open in a pop up. I am passing the ID(substance ID) from dropdown in query string to the popup page.
When I click on view reports button, the report should open in a pop up. For this I have taken report viewer control in another aspx page. The code in the aspx.cs page which contains the report viewer control is as follows :
I have taken two rdlc reports. The main report has the parameter SubstanceID. The child report has parameter substance name.When I click on one particular textbox in main report it should navigate to another report. So, in textbox properties of main report in Navigation tab,I am giving "jump to report"--child report name and parameters "@SubstanceName" and its Parametervalue as :
=Fields!SubstanceName.Value.
When I work out this report in server side reporting(ReportServerProject) it works as expected.But in coding it throws an error :
An error occurred during local report processing.
An attempt was made to set a report parameter '@SubstanceName' that is not defined in this report.
I have taken a report viewer and two ObjectDataSources....one for parent report and other for child report.
The code for the page that contains report viewer is as follows: