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

Passing textbox text in form to RDLC header

$
0
0

Good days to all,

I'm using vb.net. In aspx form, i got 2 textbox (start date and end date) and 1 reportviewer.

I'm binding dynamic dataset to rdlc where i directly takes the start date and end date text in my SQL query without using the parameters.

Now i would like to show the start date and end date value in RDLC header.

It is highly appreciated if any of you can give some idea, how to display start date and end date value in RDLC header.

Thank you very much.


Report viewer Issue in server

$
0
0

Hi.

I have developed project using visual studio 2012 in vb code. Application is running fine in my local machine. But In server it will show the error once excuting 

report. server is MS Server 2008 R2 with SP2. Here is the error .

An error occurred during local report processing.
The definition of the report 'Reports\DailyCollectionBYDATE_PRINT.rdlc' is invalid.
The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: Data at the root level is invalid. Line 1, position 1.

Pls help me to solve

Maideen

Passing value in field toca parameter

$
0
0
Is it possible to pass the value in a matrix field to a parameter? What I am looking to do is when the user expands a group out i want to pass a field in the parent line to the parameter.Any help would be greatly appriciated. Than you

how to create sub report in rdlc report

$
0
0

Hi

I have created report using report viewer 

I want to create sub report

I have written code for main report

//in page load

   ReportViewer1.Visible = true;
                      
                    DataSet DataSet1 = new DataSet();

                    con = new SqlConnection(GetConnectionString());
                    con.Open();




                    string strQryString = " SELECT        Followup.UNo, Followup.Fupid, Followup.FollowupDate, Followup.FollowupAction,"+ " CUSTOMERDETAILS.CustomerNo, CUSTOMERDETAILS.CustomerName, "+ "                          Followup.Subject, Followup.MinutesofDiscussion, Followup.MeetingDate"+ " FROM            CUSTOMERDETAILS INNER JOIN"+ "                         Followup ON CUSTOMERDETAILS.CustomerNo = Followup.CustomerNo";
                    SqlCommand cmd1 = new SqlCommand(strQryString, con);

                    SqlDataAdapter da = new SqlDataAdapter(cmd1);
                    da.Fill(DataSet1);
                    ReportDataSource datasource = new ReportDataSource("DataSet1", DataSet1.Tables[0]);
                    this.ReportViewer1.LocalReport.ReportPath = Server.MapPath("Report2.rdlc");

                  

                    ReportViewer1.LocalReport.Refresh();
i have created  Report "Report2.rdlc" and
 dataset "Dataset1" from xsd file

Please help me to create sub report and how to link sub report with main report

Thanks 

Chandran



Report Viewer control for SSRS reports.

$
0
0

Hi,

We have a webpage, which accepts parameters for an SSRS report and then shows rendered report. Some reports have many parameters, but they are always shown in two columns in the webpage. Is there any way to show them in 3 or 4 columns?

Thank you.

Igor

Format number in rdlc

$
0
0

Hi,

I want to format my decimal number in rdlc reports.

If the decimal part exceeds the length it will get reduced to my limit, but if decimal part length is less than my limit it won't appends zeros.

What should i do...

SSRS Databar equivalent in rdlc

$
0
0

Hi,

Id there any SSRS databar equivalent in rdlc.

I am using VS2010.. I found it in VS2012

Conversion of RDL to RDLC reports

$
0
0

Currently we use RDLC files which are hosted on SQL Server web server and use URL to access the reports from our ASP.Net web application. Now we want to convert these reports into RDLC reports which can be stored in our website webserver itself and use within the ASP.Net web application.

Please let us know the steps.

 


Expression for hidden Parameters

$
0
0

I have two params Internal and External in my subreport notes. On my form I have two checkboxes: Internal and External so when I check one or both or none that should reflect what shows on the report. I'm having trouble with my current expression when I check one of the boxes both Internal and External show on the report. Can someone tell me what I'm missing in the current expression below so it will show the correct one based on what I select.

=(IsNothing(Parameters!Internal.Value) OR Parameters!Internal.Value = 0) AND
 (IsNothing(Parameters!External.Value) OR Parameters!External.Value = 0)



The permissions granted to user 'domain\username' are insufficient for performing this operation. (rsAccessDenied)

$
0
0

The permissions granted to user 'domain\username' are insufficient for performing this operation. (rsAccessDenied)


Hi,

I wonder if anyone can help me?

I have installed and configured sql server 2005 express edition with advanced services on an xp box, with the aim of using reporting services.

I have set up reporting services successfully using the report manager, with my web services id = netwrokservice.

I can access both the report manager and report url locally, i.e while using localhost anjd on the machine. The problem arises however when i try to access

the reports from another machine, as i get the message:

"The permissions granted to user 'domain\username' are insufficient for performing this operation. (rsAccessDenied)"

when going to for example:

"http://servername/ReportServer/Pages/ReportViewer.aspx?%2fReport1&rs:Command=Render"

I have looked at various sites (including microsoft) in an attempt to find a solution to this and most sites give exmaples of how to configure the full

version of reporting services which i do not have. The things that I have managed to gleam and try are:

- open up security on dir: C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer to everyone and allow all access
- added my own username as a new role assigment in the report manager page
- added my own username to the reportserveruser and reportingserviceswebservicesuser roles, as indicated by microft:

http://msdn2.microsoft.com/en-us/library/ms365166.aspx, who state that "Custom authentication extensions and custom role assignments are not supported. You

must map existing Windows domain user and group accounts to predefined role definitions."

Can anyone suggest where to look next as I cannot believe that this should be this difficult?

Many Thanks in advance

Getting SSRS to work with ARR (Application Request Routing) URL Rewrite

$
0
0

I found an interesting article about setting up a reverse proxy in IIS 7 and ARR. I would like to use one external IP and route the user to multiple internal Report Servers:

http://blogs.msdn.com/b/carlosag/archive/2010/04/02/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr.aspx

My normal .asp pages are displayed using the proxy, but I have not been able to get my SSRS 2008 reports to show up. I can get to the list viahttp://<some_proxy_server>/ReportServer/Reports

However, except for some menu items, the report data is not displayed. Has anyone successfully gotten SSRS to work using ARR and URL ReWrite? Thanks.

 

 

 

Need to display RDLC page header only excel print preview but should not display in excel

$
0
0

We are using RDLC version 10.0 in Visual Studio 2010.

I tried to add Page Header and Footer on the exported Excel file and I want the header and footer to appear ONLY in print mode.

The footer is showing correctly only in excel print mode. However, the header section is shown in both excel sheet itself and excel print mode.

How to make the header section only shown on print mode only?

Thank you.

IE10 close when click on print button in ReportViewer(.rdlc)

$
0
0

IE10 close when click on print button in ReportViewer(.rdlc). How to solve this?

How do I completely hide the header/footer on the first page in PDF export (Blank space problem)

$
0
0

I'm developing SSRS reports in SQL 2012.  Most of the reports I write are exported to PDF.  

The report is defined with a header and footer that are set up not to print on the first page.

The first page itself is just an Image.

The problem is that when the report is exported, the header and footer text is not displayed but there's still whitespace visible.  (The Report itself has it's Consume White Space option set to True.)  In fact in order to prevent spill-over to the next page, I had to reduce the image size to page size minus the heights of the header and footer.

Any way to fix this?

ssrs report 2008 r2 export color print problem

$
0
0

In a new ssrs 2008 r2 report, I am generating every other detail line in alternating columns of white and light green (gainsboro).  When the report is exported to excel on a windows computer, eveything is fine. However when the report is exported to excel on a Macintosh computer and the report is exported to a black and white ptinter, every other line is white and black when it is printed. Basically every other line, you can not read. The line that you can not see, is the 'white' line. For the color in the expression statement, I have used the word white and I have used #FFFFFF.

Thus can you tell me what you would do to solve this problem?


Where to start?

$
0
0

I have an admin website written in VS2012 .NET 3.5.  I need to access some reports that are already in SQL Reporting Services (2008 if i'm not mistaken) and are on some sort of automated schedule.  I would like to re-use these reports and allow this site to be able to produce the same reports.  I need to know where to start to find out how to do this.  I don't necessarily need them displayed on the page and can just produce an xls or pdf file to stream to the browser.  Any advice, links, or anything you can send would be awesome!

ReportViewer export = extra pages

$
0
0

 Hi, I have a report (actually several) in an ASP.NET application. The reports are landscape mode, and the RDLC file shows 11inx8.5in everywhere. In the browser, everything looks jake, but when I export to either Excel or PDF, I get extra pages. Excel gives me four pages for a one page report and PDF gives me two pages for a the same report.

I'm certain I'm missing something, but I simply can't figure out what. Anyone able to help? I can post some code if needed.

Thanks in advance
 

Open an SSRS report with graphs in excel

$
0
0

I am trying to open an excel report, it shows me a warning that the file that I am trying top open is in a different format than specified by the file extension...

This code is not working as I wanted, can you help me with that please...

[HttpGet]
public HttpResponseMessage Get([FromUri]StormEventSearchCriteria criteria)
{
........

HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK);
response.Content = new ByteArrayContent(bytes);
response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/vnd.ms-excel");
response.Content.Headers.ContentDisposition = new System.Net.Http.Headers.ContentDispositionHeaderValue("attachment");
response.Content.Headers.ContentDisposition.FileName = "EventReport.xls";

return response;
}

ssrs 2012 report export data to excel and be able to sort output data

$
0
0

In a new sql server report 2012 (ssrs 2012), I have a dashboard report where users export various pages to excel. The users want to be able to sort the data on their excel spreadsheets. However they are getting an error message about merged cells.

To svolve the problem so far, I have changed some test ssrs 20012 reports where there are no report headers. The only type of headers the reports have are column headers. When there are only columns headers, I can export the reports to excel and sort all the data columns.

What I have removed in the test ssrs 2012 reports is the report header that is the same width as the detail lines of the reports. In addition, I have removed the 'sub category' report headers that together make up the same width as the detail lines.

The original report looked like the following:

                            Customer Purchase Order

        customer name: customer name1
        customer number: customer number1
       
        item       item               quantity       unit
        number     description         ordered        price
         1234         item_kind           2           $10


Can you tell me if there is a way that I can keep any of the existing report headers? If so, can you tell me how I can keep the report headers?

If I am not able to keep the report headers, can you tell me how the customer name, Customer number and name of the report can be exported to excel? The only thing I can think of is to make the additional information as detail line information that. Thus the detail line infomation would contain the following:
report name, customer name, customer number, item number, item description, quantity ordered, unit price.

Thus can you tell me if you have any ideas of how I can solve my problem of exporting the ssrs 2012 reports to excel and the users can sort the data?

Calender picker not working after intergrating with .net aaplication

$
0
0

Hi All ,

I have intergrated SSRS rdls to asp.net application . There is a date paremeter in rdlc. After deploying it the calender icon is not opening the calender .

Also i have seen there is a javascript error tht is

TypeError: form is null

form.appendChild(obj);

Please help me ....

Viewing all 1418 articles
Browse latest View live


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