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

“An error occurred during local report processing. Object reference not set to an instance of an object.”

$
0
0

I am using to generate rdlc report on my windows application. I have the one main report and more than 30 sub reports, which will render based on dataset values. Everything is working fine, but some time i got the following error when try to generate the report.

"An error occurred during local report processing. Object reference not set to an instance of an object." This is not all the the times. Sometime i am getting these errors. I can't even figure it out. It would be great if you help to sort it out.

Log file shows, these following kind of errors.

2019-07-23 15:40:28.7647|ERROR|31|ReportServerDatabaseUnavailableException| RequestID = s_f3d17e92-0f8b-458e-bcb7-935b64f6dcca 
2019-07-23 15:40:53.9509|ERROR|31|ReportServerDatabaseUnavailableException| RequestID = s_9a6239fb-ad9c-4868-a964-9945cb0211a0 
2019-07-23 15:41:22.7403|ERROR|30|ReportServerDatabaseUnavailableException| RequestID = s_2537a3e6-5822-41f7-b5dc-394c69f5c374 
2019-07-23 15:41:49.1221|ERROR|30|ReportServerDatabaseUnavailableException| RequestID = s_858edb9b-5c0e-4c31-a666-9d8548cbf259 
2019-07-23 15:41:59.1346|ERROR|30|ReportServerDatabaseUnavailableException| RequestID = s_ecda0f7b-ced8-4757-80c6-4e1540dcd00e 
2019-07-23 15:42:25.1251|ERROR|27|ReportServerDatabaseUnavailableException| RequestID = s_0352387f-756d-494d-ba32-4075d27d4931 
2019-07-23 15:42:35.1383|ERROR|27|ReportServerDatabaseUnavailableException| RequestID = s_a51ea9e5-b670-49c0-bc8d-161dc8969198 

Thanks, Thineshbabu


IIF statement query

$
0
0

Hello

I have an output in my queries that gives me:

xxxxxxx xxxxxxxxx : 123456 (xx) - xxxxxxx...

or

xxxxxxx xxxxxxxxx : 12345678 (xx) - xxxxxxx...

basically text before either a 6 or 8 digit number then text after

I've created a column in a table in SSRS that just shows the number, and I used this expression:

=Mid(Fields!my.Value,InStr(Fields!my.Value,":")+1,Instr(InStr(Fields!my.Value,":")+3,Fields!my.Value," ") - InStr(Fields!my.Value,":") -1)

Which now gives me an output of 123456 or 12345678.

However I'd like to do an addition thing. I'd like to create an output that if the digit is 6 numbers long returnsLondon and if the digit is 8 numbers long then it returnsParis .  Is this possible - I've tried with IIF but have singularly failed so far.

Help much appreciated - thanks.

How to remove duplicate rows in SSRS 2008

$
0
0
I have a dataset in my report that pulls 10 fields. One of the tablixes on report should display only 8 of the 10 fields and this is causing the duplicate records to show up on the tablix.I tried hide duplicates option for the entire details row and have set the scope to "Details". It did not help.I am getting the data from a stored procedure and cannot do much on that.Please let me  know if anything can be done at the reports end.
Aparna

SSRS: An Error has occurred during upload of report

$
0
0

Hi,

I'm having trouble uploading an updated report to SSRS 

Version14.0.600.744(October 2017)

This report uploaded fine on previous occasions and also works fine in my Dev environment. There is nothing logged in the SSRS logs when this happens. I've tried deleting the report and uploading again, and also renaming the report and uploading but the same occurs:

An error has occurred.

Something went wrong. Please try again later.

Can anyone help? I'd appreciate it a lot, I've been stuck on this issue for a full day now.

Thanks


IE Will not display Print Dialog Box to Print SSRS 2017 Report

$
0
0
IE will not bring up a Print Dialog Box to Print SSRS 2017 Report. Print Dialog Box works properly in Chrome.

Report Builder Custom HTTPS Port

$
0
0

Hi all,

I have an issue with Report Builder using a custom port number with HTTPS for my report server. I can connect to Report Server from Report Builder, I can open and save reports, but when I try running a report from Report Builder, it sends the request to port 443 instead of my custom port resulting in a 401 unauthorized. 

I know it tries to hit my server on port 443 because I see it in my IIS log:

POST /ReportServer/ReportExecution2005.asmx - 443

Is this a bug in Report Builder or is there a way to tell Report Builder to use a certain URL for any request including the requests to ReportExecution2005.asmx service?

Thanks

Report Body Border in SSRS, Tablix, Matrix inside it

$
0
0

Hi all,

I wish to have a page border( only for the report body) in my SSRS report. This border must be repeated in every single report page. Other than that , I want to put tablix , and matrix inside that page border. How could I achieve it? Is there any alternate way or idea for it? I am attaching the picture of the desired layout.

SSRS report has issues with stored procedure, even though i made changes to sp, it somehow using initial query logic itself strange

$
0
0

I am using ssrs report with stored procedure, ssrs 2008 version.

i have added a logic to the column and it still is using the initial logic itself, how to refresh the report to use the latest stored procedure logic. i never encountered this issue before.

please kindly need advise.

Thanks a lot for the helpful advise.


Include generic reference to ReportExecutionService for utilities

$
0
0

Ok

I have a utility to generate an in memory render of an SSRS report.  I want to put it in a library so it can get used across multiple projects.  The problem is that I can't find a way to include a reference to the proper DLL without adding reference to an existing Web Reference.  My code uses ReportExecutionService, ExecutionHeader and ParameterValue.  I get a:

"Thetype or namespace name 'ReportExecutionService' could not be found (are you missing a using directive or an assembly reference?)"

I've seen posts that it exists in reportexecutionservice.dll or ReportExecution2005.dll but I can't find those files anywhere.  I just find it hard to believe that I have to actually create a reference to an existing server that can then be used to connect to any server.

Can somebody point me in the right direction?

Thanks

David


dbl

Dynamic Tab

$
0
0

Hi,

I am trying to create a combo box from the list of query which will run once a parameter is passed.

Browser permission the folder, but some reports give error

$
0
0

Some of our users are experiencing the following permissions error on certain reports in SSRS:  "The permissions granted to user 'bla\bla' are insufficient for performing this operation (rsAccessDenied)"

Facts about the configuration that explain why this should not be happening are:

  • We have a 50+ reports in the this particular folder in SSRS 2016.
  • Browser permission is set at the folder level for the Active Directory group “ourdomain\Domain Users” which has all users in our company.
  • I have confirmed that the users in question are in this "Domain Users" group.
  • I have confirmed that these same users can open other reports in this folder.
  • I have confirmed that the reports in question do not have any other permissions set up and are inheriting their permissions from the parent folder (i.e., Browser permission).
  • The data sources on the reports use a generic application login and nothing about the report itself is connecting as the current user (thus the error must be coming from Report Manager, not the running or rendering of the report)

Some things I’ve attempted:

  • Added the user directly to the folder with Browser permission – same error
  • Broke the permission inheritance on the report – same error
  • Broke the inheritance and added the user with Browser directly to the report – same error
  • Redeployed the report from Visual Studio – same error
  • Completely deleted the folder and all reports, recreated the folder, re-added the group level Browser permission to the folder, redeployed all the reports in the folder – same error

We’ve see 4 or 5 reports so far out of the many in this folder where these users have this error and I can find anything about the reports or the users that would cause this behavior.

Help!


    Organon Professional Services

    PDF Rendering Fails on Specific SSRS Report

    $
    0
    0

    I have a report in SSRS 2016 that runs perfectly for all users that have access to it.  However, for two users, when they attempt to export this report as a PDF, they get the following error:

    --An error occurred during rendering of the report. (rrRenderingError)
    ------An error occurred during rendering of the report.
    ----------Object reference not set to an instance of an object.

    When I run the same report from my computer and export to PDF, I don’t not get an error and it saves as PDF just fine.

    When the user in question runs a different report and exports to PDF, it renders and saves just fine.

    The issue seems to be isolated to this one report for these users.

    I’ve searched for this error on google and the only hits I’ve found refer to problems with sub-reports, but this report doesn’t have any sub-reports.

    I’m at a loss how to further troubleshoot this issue.


    Organon Professional Services

    Resizing

    $
    0
    0
    Is it possible to use an expression to control the size of report items?

    How to zoom into a specific layer of an ssrs map without considering the other layers

    $
    0
    0

    I am trying to generate a report with three layers, the first is a line layer while the other two are points layer.

    I want to zoom into the map based on one of the line layers and include everything in in the other layers that are within that zoom range.

    the line layer doesn't have a name field, it is just a shapefile.

    how can I do this, such that when the report is rendered it automatically zooms in to the current position of the point showing the lines within that zoom range and the other points in the other point layer

    How to split a shapefile for SSRS report

    $
    0
    0
    I have a shapefile wihe the dbf file that I want to use for an SSRS report, but the report is not zooming as I intend, so I want to split the shapefile into four so that I can add a parameter to zoom into individual layers of the report when called.

    SAP BW source - problem with Member Properties values when viewing report

    $
    0
    0

    Hi,

    I am working on reports from SAP BW, but I have problems with Member Propeties when running report in Report Builder or Report Server. When I run the report the Member Properties values are not correct. They are equal to main dimension values.

    Report example - 1 column is main dimension, 2 column is dimensions member property.

    Result when I run report:

    PY PY-key
    January 2018January 2018
    February 2018February 2018


    But when I am creating Dataset, data preview is working fine:

    PY PY-key
    January 2018001.2018
    February 2018002.2018

    Need help for this, please.

    Thanks 

    SSRS parameter and security

    $
    0
    0

    Hello there,

    I have created a report that is only used by managers and directors. My question here is how would I set up one single report to allow a department manager to only see that department by entering their dept number but can't enter another department #. And, directors need to see all departments? This report is for a access control (badges used to access buildinigs etc..). I really don't want to have to create 16 different reports for the departments individually and hard code department #'s in each.

    Thanks

    G

    Data Bar chart in SSRS

    $
    0
    0

    Dear Experts

    I am new to SSRS Reports. I am trying to show progress in Data Bar chart based onpercentagecomplete column

    However i dont see Data bar chart is working as expected which means i see only static and i dont see any progress

    Can someone help me to show the progress based on the value

    Regards

    Santosh

    Add fields from different Dataset in a same Matrix SSRS

    $
    0
    0

    Hi, 

    I want a reporting of this rate : Rate= ((Amount unpaid per institution)/ (outstanding amount for all the institution)) by year

    what if i want the sum(fields!outstanding.value,”DataSet1”)  to be group by Year? So, the sum(fields!outstanding.value,”DataSet1”) would be per year and the Sum(fields!unpaid.value,"DataSet2") would be per Year and per Institution..  I used 2 Dataset because the DataSet1 has only  Year filter but Dataset2 has Year and Institution filter.

    I put them in a same Matrix (the unpaid and the outstanding) , because if i'm using a isolated textbox  it won't show me right details foreach year  until i change the filter value to an specific Year.  So when i added it to the Matrix i'm having this error : 'Only fields from DataSet2 can be used' .  Does anyone have an idea ?

                  Institution                                             |

      Year  |  Sum(fields!unpaid.value,"DataSet2")     |     sum(fields!outstanding.value,”DataSet1”)

                  /reportitems!OutstadingTextBox.value    |

    

    Show sum for each level in hierarchy

    $
    0
    0

    Hi,

    I try to show sums for each level in my hierarchy. The structure uses a recursive parent. This field has 7 different levels, which can be collapsed by the (+) button.

    Now I want to realize the following scenario. If level 1 is visible, I want to see the sum for this level, which means that all values of all child levels should be used for building the sum. If level 2 is visible, I only want to see the sum for this level and so on.

    Best regards
    Patrick

    Viewing all 28687 articles
    Browse latest View live


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