SQL 2005 SSRS Report Manager changes - sql-server

How can the Report Manager interface be changed to view only from the gray bar right below the four tabs, view, properties, history and subscription?

It can't except va URL access direct to the ReportServer service where you have the options to specify which bars you want displayed.
Report Manager has no options or settings to control layout.
Edit:
Report Manager is another application that gives a GUI to manager reports. It simply uses the Report Server web service in the /ReportServer folder. You can not configure Report Manager layout at all.
URL Access does not use Report Manager: it goes directly to the web service. You can decide which tool bars you want when using URL Access.

If you want to link to a report without showing the top portion of the Report Manager window, you can use the following path.
http://MyServer/ReportServer?/MyFolder/MyReport
You can pass other parameters to set additional options such as show/hide toolbar, zoom, etc. See the following link for more info.
msdn.microsoft.com/en-us/library/ms152835.aspx

Related

Dynamics NAV - SQL Server Report Builder - CommandText property has not been initialized

I would like to start by describing what I am trying to do. I am working in Dynamics NAV 2015 attempting to create a custom report layout using Microsoft SQL Server Report Builder. The way it works is I am in NAV, I choose a custom report, and then I click 'Edit Layout'. The Report Builder pops up on its own and allows me to start working.
The problem is that, even if I have a completely fresh report with nothing on it, I cannot preview the report. Instead I get the following error:
ExecuteReader: CommandText property has not been initialized
----------------------------
Query execution failed for dataset 'DataSet_Result'.
----------------------------
An error has occurred during report processing.
----------------------------
An error occurred during local report processing.
The strange thing is that if I do work and save it, then go back into NAV and print the report, it works fine. I just can't preview it while I'm working on it in the Report Builder.
Does anyone know why 'CommandText' would not be initialized automatically? Or where I would go to initialize it? I feel something may not be set up properly, but I can't find anything anywhere that has been helpful.
Preview does not work in the Report Builder when editing a layout for Dynamics NAV. The dataset is not available to the report builder at the time of the design.
These reports do not connect directly to SQL or Reporting Services.
You need to save and run the report through NAV so it can populate its dataset. There is a preview in the Report's request page.
I usually leave the report layout open > Save layout > Return focus to NAV > It will prompt to import the layout > Ctrl + S > Ctrl + R.

SSRS BIDS 2008 Parameter drop down visible on report

See attached, circled image.
In BIDS when i preview this report, the parameters drop down menu is visible straight away, however when i deploy it to the server and run the report, i have to click the circled button to show the parameter options.
This may be easily missed by the user, is it possible to set this to appear by default?
It sounds like the report parameters are configured to be hidden. In Business Intelligence Development Studio:
open the Report Data tab -> Parameters
right-click each of the parameters -> Parameter Properties
make sure Select parameter visbility is set to Visible.
Parameter selection for all my reports are shown by default unless this is checked.
If you're linking the report from another page (or from another report), add &rc:Parameters=true to the URL. Info on additional URL parameters here.

url links to SSRS reports

I have a sql server which hosts three groups of reports. Rather than linking to the reports manager page which shows all three report groups I decided I would like to link directly to a report group.
Here's the URI which i'm passing (this is coming from a silverlight usercontrol with a button click event)
http://localhost/Reports/Pages/Folder.aspx?ItemPath=%2fConveyor+Reports&ViewMode=List
but instead it sends me to http://localhost/Reports/Pages/Folder.aspx
In that link ^ i'm trying to link into the "Conveyor Reports" group directly. But the end result is always redirecting me to Reports Manager homepage.
I modified my formatting to
http://localhost/Reports/Pages/Folder.aspx?ItemPath=/Conveyor%20Reports
and it worked.

MS SQL SSRS. I have Page Setup button in BIDS designer but users dont have it in the Reports Manager

There are quite a few buttons in BIDS (VS2008) when I preview a report but in the Report Manager what the users can see - there is only Export button.
I would like at least have Page Setup button so the user can manage the export.
If for instance I want to export to PDF on landscape A3 - what do I do?
P.S. the SSRS and DB are MS SQL 2008. The security is huge problem as I have to request every little thing through managers and then chaise it for hours with the admins.
Reporting Services (2000/2005/2008/2008 R2) does not provide a method for modifying the PageSize and Margins sizes based on expressions which would be a requirement to achieve the functionality you are requesting when using the Export feature. The print button does allow users to modify the orientation and margins, but not much else.
You can create a separate render extension that changes the orientation according to this MSDN article. I've never tried it, but it looks promising.
Other info: http://www.kodyaz.com/articles/client-side-printing-silent-deployment-of-rsclientPrint.aspx

Setting datasource on a Reporting Service report

i have a drop down list contains the name of reports and each report have a value (1,2,3...) and i have a popup window that appears when user click on view report button
this popup is a web page that contains the report viewer ,,in cs of this popup page i have a swtich that takes int which is the value of the report eg.if i want to display the first report so i chose the first one in the drop down list and the selected value is 1 and it is passed to the page that contains the report viewer in a session variable and pass it to switch then case 1;........break
so i want to know how to create an object of type report and bind it to the report viewer in each case ,,i have made something like that but i used crystal reports and crystal report viewer which has a
CrystalReportViewer1.ReportSource = rpt;
CrystalReportViewer1.DataBind();
and i have a report object
rpt.SetDataSource(dt);
ReportDocument rpt;
but i cant do anything like that when i used reporting service
so please help
thanks
You are talking about the Microsoft SQL Server Reporting Services (SSRS), right?
The approach is a bit different than with Crystal - basically, SSRS is by default a server-based reporting engine, e.g. your application (Winforms or ASP.NET or whatever it is) doesn't actually render the report locally, and also it doesn't supply the data locally.
In SSRS, this is typically handled by the report itself and on the server. You typically only simply show the report (possibly configured with some report parameters), but all in all, the Reporting server will grab the data, format it, render the report, and your application really only shows the output in the end.
If you want to render a SSRS report locally, you need to have a *.rdlc file - do you have this, are you familiar with that option?
If you do - once you're into locally rendering the report, of course, you will also have to provide the data locally. If you use the ASP.NET or Winforms ReportViewer control, you can do this something like this:
ReportViewer reportViewer = new ReportViewer();
reportViewer.ProcessingMode = ProcessingMode.Local;
reportViewer.LocalReport.ReportPath = "Report1.rdlc"; // supply path to the RDLC file
reportViewer.LocalReport.DataSources.Add(.........)
reportViewer.RefreshReport();
Basically, you need to tell the ReportViewer control that you're dealing with local rendering, and then you need to give it the path to the RDLC file, and you can add as many data sources to the ReportViewer.LocalReport collection as you need to have for your report.
Does that help at all? Otherwise, please clarify your question a bit more.
See a VB.NET sample of retrieving data for a local report from a web service here.
I tried doing this a while ago. I gave up because it wasn't that important, but my idea was this:
Use web service to create a new datasource
Use the web service to change the data source on the report
Render the report in ReportViewer
Switch DataSource back to original using web service.
My knowledge of ssrs is limited, but might be worth a shot.

Resources