Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 10045 articles
Browse latest View live

SSRS not working with Sharepoint 2013

$
0
0

Hello,

Im trying to get SSRS up and running in a pre-existing environment consisting of SQL Server 2012 Std and Sharepoint 2013 Std with no luck.  The only thing that needed installed was the Reporting Services Add-in for Sharepoint.  So I used the SQL 2012 installer to do that.  From there I was able to get the necessary things setup in CA, the Service Application as well as verify that my web application is associated as well.  The problem I'm running into is that I don't see any "Report Server Integration Feature" listed under Site Collection features nor do I see any any of the appropriate content types.  

So far I've tried the following steps but I'm not getting any rsCustomAction.exe.   

https://guidesharepoint.wordpress.com/2016/01/01/missing-sql-server-reporting-services-content-types-on-your-document-library-rssharepoint-add-in-sharepoint-2013/


The EnableExternalImages property has not been set for this report vs2015

$
0
0

Hi,

Would appreciate the help.

I have added an image to my report which i want to be dynamic.  When I run the report i get the following error:

  • An error occurred during local report processing.
    • Report 'HanmakaReport' contains external images. The EnableExternalImages property has not been set for this report.  

vb.net code

    Public Sub InitReport()
        Dim MeetingDS As DataSet = Me.GetReport  
        reportViewer1.Reset()
        reportViewer1.LocalReport.ReportPath = "Test\Report.rdlc"
        Me.reportViewer1.LocalReport.EnableExternalImages = True
        reportViewer1.LocalReport.DataSources.Add(New ReportDataSource("DsMembersDetails", MeetingDS.Tables(0)))
        reportViewer1.LocalReport.DataSources.Add(New ReportDataSource("DsTable1", MeetingDS.Tables(1)))
        reportViewer1.LocalReport.DataSources.Add(New ReportDataSource("DsTable2", MeetingDS.Tables(2)))
        reportViewer1.ProcessingMode = ProcessingMode.Local
         Dim templateImage = "file:///C:\Work\websites\SourceSafe\test\test\images\question9.jpg"
        reportViewer1.LocalReport.SetParameters(New ReportParameter("ImagePath", templateImage))
    End Sub

This is what I did:

The image expression is: = Parameters!ImagePath.Value

error 30198

$
0
0
I am attempting to calculate cgpa using this formula but something went wrong as it shows bc30198 Error kindly correct my formula: =Sum(Fields!CGPA.Value, "DataSet1")*(Fields!CreditHours.Value, "DataSet1")/Sum(Fields!CreditHours.Value,"DataSet1")

SSRS report - FetchXML - Dynamics 365 - attribute value

$
0
0
In my fetchxml, I am joining a custom entity with accounts to pull some additional information. The values for standard attributes display fine, while values for custom attributes display "Microsoft.Xrm.Sdk.EntityReference". I checked with XRM toolbox fetchXML tester and it displays the value correctly. I am using VS 2015 with target server version as "SQL Server 2016 or later"

-

FetchXML based SSRS report not displaying value

$
0
0

I have a SSRS report that uses fetchxml to pull the data from Dynamics 365. I am trying to display State Value.

The fetchxml contains  <attribute name="statecode" alias="statecode" />.

I included the statecode (dragged this atrribute from the data set) in a new report and it displays the value fine.

However, when I do the same in an existing report (adding statecode attribute), it displays a null value.

When I test the fetchxml in XRM toolbox, it displays the value <statecode name="Resolved">1</statecode>.

I need to see "Resolved" in the report. 

Any help is really appreciated.




-

Repeat row and column headers for each group

$
0
0

I have two row groups and one column group in my report.

Rowgroupscolumngro

group1

    group2

      details

I did page break by group1.originally,my report is in 2 pages.after the page break,report is in 11 pages.

I want to keep the each group data one after other with row and column headers for each group .

For eg:

In report first page:

col1    col2   col3

group1 data

col1   col2   col3

group2 data

if the group 3 data doesnt fit in the first page,

then it should be on report page2

col1  col2  col3

Group3 data

 

 


SSRS LINE CHART

$
0
0

Hi,

We are currently working on creating a "line chart using SSRS 2008 R2 STD."

We are having data in three different tables we want to show the data in one line itself.

Example:

Dataset1: Target Value=200

Dataset2: Actual Value=150,175,125,145,198

Dataset3: Avg Value = 250

We want the above values as 200,150,175,125,145,198,250 in one line itself.

Could you please help us to achieve the same .

Please help!

Thanks for your support and understanding!

With Regards,

Afshaan Shaikh.

How update top 1 with order by

$
0
0

HI All!

I got a problem to make a query of a table that include lot of records but different dates - I only want to update the newest one -

It should look likes this - but I got problem with the syntax;

update PRICETABLE 
set NEWSALESPRICEMST=NEWSALESPRICEMST*0.5
(select top 1,TRANSDATE as Td from PRICETABLE
where GROUPID='AB100')
order by Td)

My problem is around TRANSDATE,.... I dont know if I should write like this "Select top 1 (TRANSDATE)" or Select top(1).....???

Hope someone can help me ! BR/Peter  


How to Upgrade SQL server 2008 R2 reports/SSRS server to SQL server 2012 R2 ?

$
0
0

HI All, 

Need your urgent help in getting answer for this question, we have decided to go with 2012 R2, for some unavoidable reasons. 

below are my questions 

1) What tools i need to install for 2008 R2 reports upgrade to 2012 R2 

2) Is there a step by step guide for upgrade of 2008 R2 to 2012 including SSIS packges ?

Thanks, 


iif with more then 1 Value

$
0
0

Hello,

how can I make an iif statement with multiple conditions? I tried  finding something on google but it didn't work for me... 

=iif(Fields!DOCUMENT_ID.Value = 1, Fields!EXPIRATION_DATE.Value, "Nothing")

this is what I got but I also want it for Fields!DOCUMENT_ID.Value = 3.  

This is what I also tried. 

=iif((Fields!DOCUMENT_ID.Value = 1, Fields!EXPIRATION_DATE.Value,  IIf(Fields!DOCUMENT_ID.Value = 5, Fields!EXPIRATION_DATE.Value, IIF(Fields!DOCUMENT_ID.Value = 3, Fields!EXPIRATION_DATE.Value, "nothing")))

And could someone recommend me some books or sites ? I find it quite hard to find precise help for what I need and I don't want to make a Post for every little concern I have. 

Thank you in advance

Kind regards,

Jonas 

How to create a sum of a column that is generated by an expression?

$
0
0

In my report, I have a column named permit_status. This column has a value generated by an expression (i.e. it comes from custom code). permit_status is calculated row-by-row.

The requirement is to show a sum of the different values displayed in the permit_status column; and to have this export to Excel. These are "Approved" "Pending" and the like... I just need one cell showing the total for each value.

I am able to create a footer for this report that uses Sum(...), for example: 

=Sum(IIF(ReportItems!permit_status.Value = "Approved", 1, 0))

However, this only shows the sum of "Approved" values for that page of the report - not for the entire report. And I'm missing something as it doesn't export to Excel.

What's the best way to have a sum of e.g. ReportItems!permit_status.Value?



SSRS report error: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

$
0
0

Hi,

Running SQL Server 2008 R2 SSRS reports.  On one report receiving this error:

An error occurred during rendering of the report. (rrRenderingError)
An error occurred during rendering of the report.
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index


Error: Could not find a part of the path when using SSDT to deploy reports on Remote Server

$
0
0

Hello,

I just recently installed Visual Studio Community 2017 along with SQL Server Data Tools. I connected to the remote Reporting Services Server and deployed all my reports. After a while, when I was previewing the report from the Visual Studio, it gave me an error.

The report I am trying to preview is a drill through report. The error occurs when I click on the field in the master report to go to the drilled report. 

Master Report: HostConfiguration - Contains Shared DataSet

Drilled Report: VMConfiguration - Contains embedded dataset (Error occurs when I try to view this report from Host Configuration)

Both of the above report use shared data source.

Error Message: An error occurred during local report processing. Could not find a part of the path in <Report path/bin/debug/reportname>.rdl

Troubleshooting done:

1. Removed read permission in debug folder

2. https://stackoverflow.com/questions/23560579/report-preview-cannot-find-data-source-folder 

When I directly run from the SSRS Web Portal it works fine.

Please help.


Thanks, Rajiv Iyer




Getting "The permissions granted to user '???\tfs-service' are insufficient for performing this operation." even for admin users

$
0
0

Hello

Trying to make use of what's explained here for a VS2017 based solution https://blogs.msdn.microsoft.com/sqlrsteamblog/2017/09/25/msbuild-support-for-reporting-services-projects-now-available/

I have managed to get this working for me locally where reports are uploaded (to Power BI Server:Version 1.4.6969.7395 (January 2019)) into their correct location and shared sources are added if not present before.

I am granted System Administrator role via the Site Settings page, so is tfs-service account.
Finally, no permissions are set at root folder level for me and neither for tfs-service account.

So basically both accounts seem to be set up in the same way.

When I use msbuild command as below on my machine I can get things working:

C:\Users\****\Downloads\ssrs-reports>"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\msbuild.exe" C:\Users\****\Downloads\ssrs-reports\ssrs-reports\Reports.sln /p:TargetServerURL=http://reportserver/Reports /t:deploy /p:MSBuildExtensionsPath=C:\Users\****\Downloads\ssrs-reports\ssrs-reports\msbuild

But when I do so on a DevOps Server build agent, running under tfs-service account I do get:
- Folders (and sub folders) are created 
- None of the Data Source and none Reports are uploaded (hence folders are empty)

And I get the following log with error highlighted, if it didn't error the first step would have been to deploy the data sources

2019-04-09T10:04:10.2973174Z Project "D:\B1\_work\r1\a\ssrs-reports\ssrs-reports\Reports.sln" (1) is building "D:\B1\_work\r1\a\ssrs-reports\ssrs-reports\subfolder\report.rptproj" (5) on node 1 (deploy target(s)).
2019-04-09T10:04:10.2973807Z ReportBuilderTarget:
2019-04-09T10:04:10.2974810Z   Building the report, report.rdl, for SQL Server 2008 R2, 2012 or 2014 Reporting Services.
2019-04-09T10:04:10.3542977Z   Building the shared data source 'TEST_datasource_SQL.rds'.
2019-04-09T10:04:10.4718925Z   Deploying to http://reportserver/Reports
2019-04-09T10:04:10.5695759Z ##[error]D:\B1\_work\r1\a\ssrs-reports\ssrs-reports\msbuild\Reporting Services\Microsoft.ReportingServices.MSBuilder.targets(30,5): Error : rsAccessDenied : The permissions granted to user '****\tfs-service' are insufficient for performing this operation.
2019-04-09T10:04:10.5696214Z ##[debug]Processed: ##vso[task.logissue type=Error;sourcepath=D:\B1\_work\r1\a\ssrs-reports\ssrs-reports\msbuild\Reporting Services\Microsoft.ReportingServices.MSBuilder.targets;linenumber=30;columnnumber=5;code=;]rsAccessDenied : The permissions granted to user '****\tfs-service' are insufficient for performing this operation.

Any help would be very useful thank!



Expression in xcel not working in Reporting Services 2017

$
0
0

We use expressions in reports, then export to xcel, but then the field is changed from numeric to general.

Example;

=Format(IIF(Mid(Fields!Mcat.Value,3,2) ="15",(Fields!Rawqty1.Value + Fields!Rawqty2.Value + Fields!Rawqty3.Value + Fields!Rawqty4.Value)*Fields!Recalcfactor.Value*Fields!Kvot.Value,(Fields!Rawqty1.Value+ Fields!Rawqty2.Value + Fields!Rawqty3.Value + Fields!Rawqty4.Value)*Fields!Recalcfactor.Value*Fields!Kvot.Value/1000),"000000000")


Two Subreports in Main Report; each with same parameter - getting error message

$
0
0

Hello -

I have a main report with two columns that link to the two Subreports.  Each subreport has a stored procedure with one parameter.  They do use the same parameter, so for the second report, I renamed that parameter @BidKey2 (the other one is named @BidKey).  

I am able to click and open the first subreport, but I am getting the following error when I try to click on the second one:

The definition of the report is invalid.  The report parameter BidKey2 has a DefaultValue or a ValidValue that depends on the report parameter BidKey2.  Forward dependencies are not valid.

Any help will be appreciated!

juniormint

SSRS 2016 logging same message 250+ times per second

$
0
0

Greetings, this is my first time posting so I apologize in advance.

I have an SSRS instance that works fine from a user's perspective.  On the server, however, I have to delete logs every day or my drive fills up.  I am getting 33MB of the same line repeated 250+ times per second:

library!WindowsService_0!2634!06/06/2016-18:07:48:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database.;

I copied all of my reports and datasets from a test server onto a production server (brand new VM spun up with only this installed) and made sure to follow the migration instructions provided.  Upon doing so, my new server gives that error a crazy number of times.  I've scoured the database and Reporting Services Configuration Manager for any references to the previous server.  Found a few, but have corrected them all and this issue persists.  

What other information can I provide to assist in resolving this?

Sql Server 2017 Upgrade - Which Reporting Services instance is uninstalled?

$
0
0

I have a server which runs 3 instances of SQL Server Database 2012 engine (1 default, 2 named instances) and a half dozen named instances of SQL Server reporting services (one instance for each web application hosted by the server) in addition to the "default" instance of SSRS which is installed but not used. The Reporting Services databases for the 6 named instances of SSRS reside in the default instance of the database engine

I want to upgrade the default instance of the database engine to SQL Server 2017. During the "upgrade" dialogs, I am prompted to "uninstall" SSRS as it is now installed separately.

I understand that SQL Server 2017's SSRS at the moment only allows one instance of SSRS. 

I do not mind leaving the existing named instances of SSRS at the SQL Server 2012 level.

The dialog is unclear as to which instance of SSRS will be uninstalled as part of the upgrade process.

Will the "default" instance of SSRS installed during the installation of the "default" SQL Server database engine be uninstalled (in which case, its fine w/ me, I do not use that instance for anything)...

Or will the SQL Server 2017 upgrade uninstall all my named instances of SSRS as well (in which case, I definitely do not want to do this, I'll have to stick w/ upgrading 2012 to 2016 instead.)

Does anyone know? I suppose I could spend a day setting up a test server to see what happens, but I'm hoping to save some time by finding someone who knows the answer :)

Thanks,

How to Upgrade SQL server 2008 R2 reports/SSRS server to SQL server 2012 R2 ?

$
0
0

HI All, 

Need your urgent help in getting answer for this question, we have decided to go with 2012 R2, for some unavoidable reasons. 

below are my questions 

1) What tools i need to install for 2008 R2 reports upgrade to 2012 R2 

2) Is there a step by step guide for upgrade of 2008 R2 to 2012 including SSIS packges ?

Thanks, 


building my first report

$
0
0

Hello,

I'am building a little report and it is working fine for now I only have one little Problem.

I want to make a report where it show the documents related to the product group ID.

My Idea was to make =First(Fields!DOCUMENT_FILE_NAME.Value) and for the other row =Last(Fields!DOCUMENT_FILE_NAME.Value), 

as there will be only 1 document for each Product group. But it shows me the last Document twice. 

So in row 1 he should show me the Document with Product_group_Id 1 and in the second one the documents with Product_group_Id 10

I Have been searching for a while but it seems quite complicated to find something specific.  And yes I'm a total newbie and it sounds quite easy but I can't get my head around it.

And thank you in advance for any help you can give me ! :) 

Viewing all 10045 articles
Browse latest View live


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