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

Move reports to a new server

$
0
0

Our customer is moving their 2008R2 SQL Server to a new server using SQL 2016 Std.  Is there an easy way to move all reports, say, backup and restore the 2 db's?  Thanks.


Visual Studio 2017 changed the header of the application after the report viewer was created

$
0
0

Hi

I created a rdlc in VS 2017 but after I edited the report VS2017 change the definition of it.

The bad definition of the rdlc was:

<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition" xmlns:rd="http://schemas

I had to follow the following link to fix the problem

https://stackoverflow.com/questions/36272514/the-report-definition-has-an-invalid-target-namespace-rsinvalidreportdefinition

My question is: How can I avoid fixing some sections of the rdlc without using a xml editor?

 

How to insert blank value to dataset based on parameter

$
0
0

Hi all,

I am new in SSRS and using VS2012 to do the report develop. 

I created a label report and need function to print out with skipping a number of rows and columns.

I am thinking to create a parameter (startprintfrom=1-14) and add blank data to dataset. but i have no idea how to set up my dataset.

Any suggestion?

How set an Margin for header in the edges in MS Word

$
0
0

Hi Expert,

How can i set a the top margin in rdlc. Because when i try to print, the top portion of the header has been cut off.

But in the PDF the print out is correct.

Thanks.

The definition of this report is not valid or is not supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services

$
0
0

Hi

I created a blank reportviewer in Visual Studio 2017 but after I added a control I received the error:

ReportProcessingException: The definition of this report is not valid or does not support this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or it may contain content that is not in the correct format or that is not valid according to the Reporting Services schemas. Details: The report definition has an invalid destination namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' that can not be updated.

I don't know the configuration to avoid this error.

The unique solution was found in this link..

https://stackoverflow.com/questions/36272514/the-report-definition-has-an-invalid-target-namespace-rsinvalidreportdefinition

But I don't understand this behavior.

In other words... Visual Studio changed:

<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
 with this code after I edited the report:
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">

Export report to excel - format number as numbers

$
0
0

Hi,

I have trouble while exporting a report to excel.

The field has number properties set to 6 decimal places in ssrs but whenever i am exporting to excel the data type is getting changed to custom with $ attached in beginning.

I am assuming that number from ssrs is being exported to currency in excel.

I have also used CDBL in field but result is same custom format in excel.

I need the excel data type same as what is used in SSRS.

Does anyone know how to achieve this? 

Thanks,

Anshuman

Query

$
0
0

Hi

  I have below query , when run in Query Designer it works fine . When i run Preview it does not show effect of 

left(A.[Document No_],1)='T' , it shows all entries

SELECT A.[Posting Date],A.[Document No_] ,A.[Description],A.[Debit Amount] 
FROM Test as A where A.[Debit Amount] > 0 and left(A.[Document No_],1)='T'

Thanks

Auto Number

$
0
0

Hi

  I have summary report Group by Location & sum of Value for that Location is displayed. I want Serial No to be automatically generated . I am using RowNumber("DataSet_Result") but it id display values like 5,30,543,548 . Goe each location there is 1 row

Thanks


Date Check

$
0
0

hi

  I have below condition but it is showing wrong data . If Date is less than 31/03/2017 then even it is showing 5 whereas it should show 18

=IIF(FORMAT(Fields!Vate.Value,"dd/MM/yyyy") < "31/03/2017",18,5)

Thanks

ReportExecutionService can not be found

$
0
0

Hi, I am trying to generate report through a console application, I am following this article: https://msdn.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsexecutionservice2005.reportexecutionservice.render.aspx.  

I added web reference to my project, but I can not find reportexecution service, all I can see is reportservice2005, did I miss something ?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ReportGenerator.SsrsReportService;

namespace ReportGenerator
{
    class Program
    {
        static void Main(string[] args)
        {
            ReportingService2005 rs = new ReportingService2005();
            ReportExecutionService re = new ReportExecutionService();
        }
    }
}

SSRS: ERROR WHILE CREATING REPORT PROJECT

$
0
0

Hi, 

I am trying to create report project in SSDT. Getting error "Invalid at the top level of Document". Kindly help if 

you have the solution.

How to build a looped SSRS report?

$
0
0

I will build a SSRS report to list all employee's payroll checks for a given payday order by PAYROLL CODE. In our system we have multiple unique payroll codes for each of which contains different number of employee information (see following sample). How do I builder this report, specially how to loop the payroll code to show each of them? Thanks in advance!

                               PAY DATE: 03/09/18
                               CHECK TYPE: REGULAR CHECK
                               PAYMENT METHOD: CHECK
                               PAYROLL NUMBER: 15
                               PAYROLL CODE: ABC001
-------------------------------------------------------------------------------------------
                   EMPLOYEE NAME                        EMPLOYEE     WORK       CHECK
           LAST NAME       FIRST NAME    MI      NUMBER        UNIT        NUMBER     
-------------------------------------------------------------------------------------------
          JOHN1           DOE1                    A     1000001          7381 C    55000001   
          JOHN2           DOE2                    A     1000002          7381 C    55000002   
          JOHN3           DOE3                    L     1000003           7381 C    55000003   
          JOHN4           DOE4                           1000004          7381 C    55000004   
               NUMBER OF CHECKS FOR PAYROLL DISTRIBUTION CODE ABC001      4

                                PAY DATE: 03/09/18
                               CHECK TYPE: REGULAR CHECK
                               PAYMENT METHOD: CHECK
                               PAYROLL NUMBER: 15
                               PAYROLL CODE: ABC002
-------------------------------------------------------------------------------------------
                   EMPLOYEE NAME                       EMPLOYEE     WORK       CHECK
           LAST NAME       FIRST NAME    MI      NUMBER      UNIT         NUMBER     
-------------------------------------------------------------------------------------------
          JOHN5           DOE5                    B       2000001      7382 C       56000001   
          JOHN6           DOE6                             2000002      7382 C       56000001   
 
               NUMBER OF CHECKS FOR PAYROLL DISTRIBUTION CODE ABC002      2

How to build a ssrs free form report to list all fiels which have values dynamically?

$
0
0

I want to build a SSRS free form repot to display employee's payroll information within a work group. There are total 40 fields in a record for each employee but some of these fields don't have values. Is it possible to only list valued fields in the textboxes in the order with field names dynamically?

Data Label position

$
0
0

Hi,

I am working on a column chart and trying to display its data labels on top of the bar. I tried the data label settings to position as 'Top' and it won't work.

I've also tried to increase the interval of the vertical axis position through 'Vertical Axis Properties' and it won't work.

Does anybody  have any other suggestions for me? Here is a screenshot of my report for your reference.

https://ibb.co/cNas47

Thanks for any help!

add to my applicayion ssrs report

$
0
0

hi for all

i have web application mvc for student in class i make ssrs for student by business intelligent but i don't know how add all report to my application and make 

 


Unable to Disable Page Break on SSRS Report

$
0
0

I have encountered a problem disabling a Page Break on Group.
I have a Row Group, and set the Group>Page Break>Location as  "Between" and Disabled as "False", and it all works as expected, rendering page breaking between Group sets.
Then
I set Group>Page Break>Location as "None" , and as expected there are no page breaks rendered.
Then
I set Group>Page Break>Location as  "Between" and Disabled as "True" - BUT this doesn't work as expected, the page breaking is still enabled.
I have checked the rdl XML and there is only this, relating to page breaks ( within the group) in the whole report.

<PageBreak><BreakLocation>Between</BreakLocation><Disabled>true</Disabled></PageBreak>


I would expect the disable to make it behave the same as if Page Break was "None", but it hasn't done so.
I also checked that InteractiveHeight was 0 in all cases in the XML, and it is.


Any ideas why this disabling is not working ?
I want to implement conditional disabling based on a parameter , which I know I can do , using an expression to set this Disabled property to true/false, but obviously I cannot do this until I get it working with fixed values.

Logging in ReportViewer

$
0
0

Hi

I have a reportviewer in ASP net 4.5 application , but in production environment the report is slow. The report is of  page, and is only data.

But I see the report after 30 seconds. It is not a problem with the database since the database is faster when I connect to SqlServer(1 second).

How can I see execution logs of the reportviewer, not about the database ?

I would like to see something: 

  1. Pre-executing 1 seconds
  2. Setting values 5 secons.
  3. Render 10 seconds

Hide image on RDLC when exporting files

$
0
0

Hi,

I am using the "Visibility" on an image properties to display that image only on the First Page. When Rendering the RDLC, the setting works perfect as image only displays on the First Page. However, once the report is exported to Word, the image displays on ALL Pages.  Is that a limitation when exporting or there is a workaround.

Thank you

Split Report

$
0
0

Hi

  Is it possible to split report in multiple excel files when export to excel , not sheets. File size is getting larger > 20 mb. Is there any way that the size can be reduced.

Thanks

Compress

$
0
0

Hi

 Is it possible to compress data before export to excel

Thanks

Viewing all 1418 articles
Browse latest View live


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