Quantcast
Channel: SQL Server Reporting Services
Viewing all 1418 articles
Browse latest View live

Create a rdlc report with parameter passed from query string not working, please help, thanks.

$
0
0

This is my first ever rdlc report so the approach might be totally wrong. Here is what I need and what I have done:

1. I need to create a page with ReportViewer

2. The rdlc report is designed using Report Wizard and using stored procedure that has a parameter ID to pass in

3. The report itself doesn't have the ID field in it

I put the report in a ReportViewer in a page, the page generate an error saying:

An attempt was made to set a report parameter 'ID' that is not defined in this report

My backend code is very simple:

Sub LoadReport(ByVal ID As Integer)
        Dim param As ReportParameter

        param = New ReportParameter("ID", ID.ToString, False)

        ReportViewer1.LocalReport.SetParameters(New ReportParameter() {param})

        ReportViewer1.ServerReport.Refresh()

    End Sub

It would be greatly appreciated if someone can tell me how to fix it. Thanks in advance.


Change embedded image of a image control in a Microsoft Report rdlc in code behind c#

$
0
0

Hello

Can someone tell me how to change the image propertie "Use this image:" of a image control in a rdlc report in codebehind using c#?

I have to emmedded images pic1 and pic2 in the report data

Thanks for the help

rubitoc

Regarding to sum distinct values in group fields

$
0
0

according to the fee details report for each and every category has subtotal of fee collected in a day and one more field to caliculating the grand total of all category's

the report is normally coming and data is also correct, but according to some round of sum values we retrieve the total from procedure. here problem is caliculating

the subtotal of category is not coming properlys by this query

=sum(field!total.value)

but here table is total value in the table for the category wise is repeated for the same student for deiiferent feetypes. so 

all the total values are caliculated. but i want to sum the distinct total values only for the category. 

please help me to acheive it.

Scaling a report to fit the page

$
0
0

I've searched for weeks and tried just about everything under the sun to get a report to scale to fit the page. The reports I have are too wide to fit on a letter/landscape page.
I've read that there's no way to do it in Report Services.

Is there no way to do this? If not, is Crystal Reports any better on this and other issues?

Thanks

bind datatable to reporting services from code

$
0
0

i have a datable dt with data obtained from grid in code behind

i have created a report.rdlc an added table to it so tht i can get the data in a formatted order

how do i assign dt as datasource for the report without physically creating dataset 

how do i bind the dt to report and add the needed field to the report 

currently i get error The table ‘table1’ is in the report body but the report has no data set.  Data regions are not allowed in reports without datasets.

set Minimum and Maximum value for x-axis Range Bar RDLC

$
0
0

Hi,


I have a range bar chart and I'm displaying start time and end time values on the x-axis. The chart is bound to a dataset. I want to set the minimum and maximum time value for the x-axis.Can someone please tell me how do I do it ? Normally, chart starting value will be based on the data return from dataset, but i want to set the starting value (minimum value) to 7 and maximum value is 19.
For your info, my x-axis is in hour format. 

I do set the minimum value =FormatDateTime("7", "HH") and maximum value =FormatDateTime("19", "HH"), but nothing change. It still return me value base on the data return from dataset.

Can anyone guide me?

Display a Report(.rdl) through a link from a Webform

$
0
0

I created a  Report Project and (Local) Report.rdl Report that includes a selectable dropdownlist that allows filtering of the report by various categories. I can view the report in "Preview" and when I run it via the debugger.

Now I would like to enable users to access the report through a link in a Webform.aspx. I attempted to add a webform in this project, but when I try to "Add a New Item", a webform is not one of the choices.

I would have assumed that there are procedures or a tutorial that instruct how to do this?

Any assistance would be appreciated!

When is a report too 'large'?

$
0
0

Just looking for some general feedback.

I have a asp.net web app using the standard ReportViewer control.

Among other things we have reports that are essentially a raw data dump, a single default line of fields intended for export to Excel.  

One of our users is trying to run one of these reports and the return is over 1900 pages.  He reports that the export screen crashed with a message stating '100 is unexpected token'.

I am aware of that forum entry (http://forums.asp.net/t/1374211.aspx) that suggests restarting the SSRS service but in general is there any other way to deal with this situation?  

(Or should I just tell the users to stop generating such huge reports?)

----------

Late breaking news:  It appears we can side-step this problem by exporting to CSV rather than Excel.  The exported file was about 42 meg.


Affect of default value on performance

$
0
0

Hi All,

I want some help from all of you. In a report if we are having default value (but not for all parameters) then does it means that the report will run first for the default values.

Any information regarding this will be very helpfull.

Thanks

Nishant

Identify open report window

$
0
0

We are doing most of our reporting on SSRS via html url's.  We are using a javascript window.open and feed it the path, report name and parameters.  If the user forgets to close the window with a preview of the report then no new windows can be opened. Is there any way to identify that a SSRS preview window is already open?  Thanks.

Help

$
0
0

Hello All,

I want to learn SSIS from begining.Please Suggest me some good tutorials , blogs , websites.

Export to word gives error in ssrs report( 'Index was outside the bounds of the array.')

$
0
0

I have several reports that reference an external image that is a jpeg file stored in a folder on the DataBase server. I can view the reports fine but when I attempt to export the report to Word I get the error 'Index was outside the bounds of the array.'   This happen for particular image file. when i remove the image file it working fine. I don't know exactly what causing this error happening. Anyone guide me to solve this issue ASAP.

RDLC Tablix width

$
0
0

I'm using an rdlc report i don't know how make the Tablix 100% to fit under reportViewer...can any1 helpme...

For Local Report - Add Dropdown list outside of Report but use SelectedItem.value to return Report results

$
0
0

Simply, I hope... As described in title... A Clear VB.Net example would be greatly appreciated.

The dropdown list is provided from code below.
How do I pass this value to Query another table using SelectedItem, to provide data to to the ReportViewer - I tried researching how to, but cant figure this one outPLEASE HELP!

Populate Dropdown List:

Public Sub LoadProdCategory()

        Dim objConnPDC As SqlConnection
        Dim mySettingsPDC As New NameValueCollection
        mySettingsPDC = AppSettings
        Dim strConnPDC As String
        strConnPDC = mySettingsPDC("DIS_PHLINVENTORYConnectionString")
        objConnPDC = New SqlConnection(strConnPDC)
        objConnPDC.Open()

        Dim strPDC As String

        strPDC = "SELECT CategoryID, CategoryCode, CategoryDecode " & _
        "FROM ICDbS_ddl_Category " & _
        "Order by CategoryDecode ASC"

        Dim ObjCmdPDC As New SqlCommand(strPDC, objConnPDC)

        Dim ObjDRPDC As SqlDataReader
        ObjDRPDC = ObjCmdPDC.ExecuteReader()
        DropDownList1.DataTextField = "CategoryDeCode"
        DropDownList1.DataValueField = "CategoryCode"
        'Item_ProdCategory.SelectedValue = ("3")
        DropDownList1.DataSource = ObjDRPDC
        DropDownList1.DataBind()
        DropDownList1.Items.Insert(0, "")
        objConnPDC.Close()

    End Sub

 

Passing Parameters to reporting services

$
0
0

Hello is there any way to pass a session parameter value to a report? i want to get a user history into a report when he login 


Local Host

$
0
0

How to run my report in my local host please? as i when i click on run it does not work 

Unable to connect to report server

$
0
0

why when running the report server configuration management i can accest the server

Authentication required with username and password

$
0
0

why i can login to my report server please

Diagram scale with dynamic 5 entries for 3 different values

$
0
0

Dear all
I'm looking for a solution to configure a scala for a diagram which shows values from 3 different fields. This scala should show allways only 5 entries for this always different 3 values.
From the mathematical site it would be: MAX value of this 3 values - MIN value of this 3 values / 5, then we would have the correct dynamical interval.
Anybody some idee how to program it in the Report Builder?
Thx in advance
BR

 

 

Gauges

$
0
0

can i connect a dropdownlist with a gaude in reporting services please?

Viewing all 1418 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>