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

The text box ‘textboxName’ extends beyond the bottom edge of its container.

$
0
0

I have built (and rebuilt) a report that contains a tablix. The textbox associated with the first group keeps giving this warning on deploy:

"The text box ‘textboxName’ extends beyond the bottom edge of its container."

I wouldn't care except that when I export the resulting report to excel I get an extra blank row at the bottom of each group.

I've tried resizing the textbox, the tablix, etc. Nothing works. I have completely rebuilt the report and still get the same error. Any ideas on how to make it go away? I've seen other posts with the same issue - but I haven't seen anyone answer the question


SSRS Duplicating whole Project

$
0
0

Hi all,

I have a project in ssrs consisting of 1 datasource, 3 datasets and 4 reports.

I want to create a new project which has the same DS, Data Set and reports and is similar in all ways, except the datasets have one extra restriction.

How do i do this?

thanks

custom code function error [BC30451] 'Test' is not declared. it may be inaccessible due to its protection level.

$
0
0

looking at custom code facility in RS 2012

using tutorial from  http://www.sql-server-performance.com/2011/custom-code-ssrs-reporting-services-2008-r2/

This is the function in report/report properties

Public Shared Function Test(ByVal profit As Decimal) As String
        Dim st As String
        If profit >= 1000 Then
            st = "High Profit"
        ElseIf profit >= 500 Then
            st = "Moderate Profit"
        Else
            st = "Average Profit"
        End If
        Return st
   End Function

This the expression calling function

= Test(fields!ProductProfit.Value)

error.

"The value expression for the textrun 'textbox12.paragraphs[0].textruns[0] contains an error:[BC30451] 'Test' is not declared. it may be inaccessible due to its protection level."

How to Sort in the Order of Search

$
0
0

Hello,

Is it possible to sort the data using the order or the search provided?

For example, I use multiple search (blueberry, apple, strawberry, pineapple) I would like the results to show in this order with their corresponding data:

blueberry    3

apple          1

strawberry  4

pineapple    7

Thank you

Strange SSRS report rendering.

$
0
0

I have a report which seemed to work fine for the parameters I have tested. when, sent to production, it did not work for few parameters when passed along. The report contains a single tablix, I do have a filter but the data set returning for the parameters satisfies. I've been trying to get it to work for some time now, with no luck. can someone point me to the areas which I might be missing. I have already checked filters(satisfies) on tablix and also the groupings(no filters)..TIA!!


Dynamic subscription report paths and user authentication.

$
0
0

Hi all, 

I want to find out if this is reasonably feasable before I go down a dead end path. Here goes:

Think of my environment as an SAAS environment for businesses similar to a franciser/franchise relationship. We'll call the franchiser the CorpOffice and the franchisee anAssociate (company). Associates are independently owned and may have one or many Users. The CorpOffice has many Users, each of whom have authorization to access any report for any Associate.

Associates and Users are maintained in a database with unique IDs that will be used in the processing of the reports. Also, all Users are registered in Active Directory.

All reports are identical except that they are filtered by Associate and each report only includes the data specific to that Associate. One Associate can view only it's own reports. Any User employed by a given Associate can view all the reports for that Associate.

Problem #1, Creating a Dynamic Subscription Path Dependent Upon Specific "Associate".

Story:

Run reports on a scheduled basis. For our purposes let's say the schedule is called Daily, and the report is called DailyReport. The DailyReport will be generated as a file share PDF with the Associate ID as part of the path. In the following example, "101" is the Associate ID.

../AllReports/101/DailyReports/DailyReport.pdf

Any User who is a child member of the Associate has the authorization to open the report. The reports will be accessed from a password-protected web application, with security sharing credentials between the app and the report server (see Problem #2).

Question: How do I create a schedule for a file share and dynamically embed the Associate ID in the path for the fileshare, like this:

../AllReports/101/DailyReports/DailyReport.pdf

../AllReports/102/DailyReports/DailyReport.pdf

../AllReports/103/DailyReports/DailyReport.pdf

(etc.)

I'd like to put a parameter in the subscription path like this: ../AllReports/@AssociateId/DailyReports/DailyReport.pdf

Problem #2, Authentication on the Report Server Side.

Story:

A user will get an email with the URL to the report he or she is allowed to view, example:

Http://MyDomain.com/AllReports/101/DailyReports/DailyReport.pdf

That's all fine, but I have to put some kind of security layer to prevent URL injection. As it stands, any user would be able to copy the URL and simply put any Associate ID in the URL and get that other Associate's report.

At first I thought we can simply write some code and put it in the Report.BeforeOpen event (or similar event). My understanding is that there is no real object model like that for SSRS. The only other approach I can think of is to write an ISAPI extension for the SSRS webserver to intercept every request. I'd rather do something more generally well known and more easily maintainable than an ISAPI extension.

Thanks in advance,

Bill


SSRS Shared datasource using stored credentials still keeps prompting for password

$
0
0

Good Day, 

I have several shared data sources within SSRS that work within new reports being created, as long as you know the password.  Users without the password will need to create reports using the shared data source....how can I prevent it from prompting the user for the password that's already stored in the shared data source?

trying to connect to a Sharepoint list as a data Source but get errors

$
0
0

I'm trying to  access a Sharepoint list as a datasource, we do not have the reporting Service intergrated in to Sharepoint as we need SRS available for other reporting.

but we will eventually call the reports via pages with in Sharepoint....  long story as to why no integration with SPS2013.

here is the error message:

An error occurred when accessing the specified SharePoint list. The connection string might not be valid. Verify that the connection string is correct. (rsSPDataProviderError) Get Online Help
For more information about this error navigate to the report server on the local server machine, or enable remote errors

the report will run from my desktop  but when I upload it to the report server  reports area then that error is thrown....

 what could be the cause of this?


SSRS 2008 R2 Bug - Chart duplicating and unwanted resize

$
0
0

Hi,

I'm using 2 charts on my report, one line chart and one pie chart




Found a bug on SSRS related to chart. it's duplicating chart, the 2nd chart appears below the 1st chart

After some research on the internet, i found out that it can be resolved by using tablix under the chart. It works!

-

Got another problem: that is the 2nd chart (pie chart) size resized to the same width with the 1st chart (line chart).

-

Is there any way to resolve this? I'm thinking to use sub report, but i prefer to avoid that if possible.

Thanks,




SSRS error: "the HTTP request contains an unsupported verb or invalid syntax."

$
0
0

Dear All,

Could someone please tell me what went wrong ? What could have caused the following error ?

library!ReportManager_0-25!2658!07/11/2018-15:37:27:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: Failed to fill worker request, Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportManager_APPINSTANCE_0-25-131757393714270712.  ---> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeException: An error occurred in the HTTP Runtime object for application domain ReportManager_APPINSTANCE_0-25-131757393714270712. Most likely, the HTTP request contains an unsupported verb or invalid syntax.

SSRS 2017: Restrict print by report by user.

$
0
0

Dear All,

My company has been using SSRS 2008R2. We have been limiting user from exporting reports into PDF/Excel/CSV/Word. We can control that by report by user using another report with a url hidden under a text box. In that way we can manage the user access rights to the export options. We let the print button open to everyone because it is a server side setting that will affects everyone.

My question is, in SSRS 2017, has the print button changed in a way that we can restrict the print button by report by user ? If it is not possible now, will Microsoft consider that in future update ?

SSRS 2016 Excel 2010 Export Problem Grouping

$
0
0

Hi Everybody,

I've got a Problem with an SSRS report export to Excel. There is a Matrix in the report, I have created with the Matrix-Wizard. I checked Subtotals and Expand/Collapse in the Wizard. After finishing the Wizard there ist the symbol fort he field selection in the header.

In the Browser all works fine, but if I export the report to Excel and open it, the grouping toggle button is shifted up one line. So if I press the expand button the data one line below is expanded.

If I build the Matrix without the wizard there is no problem.

Is that a known issue? Is there an configuration for the Wizard Matrix to expand the right data? Because there are a lot of wizard matrices in my reports.

Thanks a lot

Nico

SSRS stopped email subscriptions after reboot

$
0
0

Our Windows 2012 server was restarted running our 2012 SQL SRV.

Our SSRS was emailing out subscribed reports before the restart but has now stopped. As far as I can see all the important services are running and I have manually restarted them.

The logs are reporting the following;  e ERROR: Error sending email. Exception: System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:25

Any help would be appriciated!

Need to display reporting period date in SSRS

$
0
0
In text box Need to display reporting period in SSRS as "Reporting Period: 6/1/2018 to 6/30/2018".If I run the report in july it should give previous month data.So I should display June dates. Can someone send an expression. Thanks.

SSRS 2008, InterSystems Cache, and SharePoint

$
0
0

I recently set up a test sytem of 2 servers (both 64bit on Windows Server 2008 R2).  SharePoint 2010 (SP2010) and SSRS 2008 R2 (SQL-RS01).  They are integrated and I can succesfully pull and open reports from a SharePoint 2010 List and SQL Server 2008 R2 databases through both the ReportServer (SQL-RS01) at http://sql-rs01/ReportServer and through a SharePoint Report Library on SP2010.

However, I'm having trouble when it comes to getting a report being pulled from our InterSystems Cache db to work on either the Report Server url or from within the SharePoint Report Library.  I have created a simple report in Business Intelligence Development Studio and have connected to the Cache db by establishing a Data Source of type ODBC and using a connection string like so "Dsn=DSSQLLIVE;server=XX.X.X.XX;port=1972;database=DSWRI"; (usi and pwd are present in the string, I just removed them for purposes of this post).  I am able to connect to it and then preview the report through BIDS and it works.  When I deploy it to SharePoint Server and open it up, I get an error message.  I have the InterSystems Cache driver installed on my personal PC which is required to open up any of our Excel Documents that are pulling data from the Cache system.

Whether it's an embeded data source or shared, the error message I get with the above connection string is: 

ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application”

The second time I changed the connection string to be "Driver={InterSystems ODBC};Dsn=DSSQLLIVE;server=XX.X.X.XX;port=1972;database=DSWRI" and my error message was now:

ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified”

I have the InterSystems ODBC driver installed on my servers as well as my personal PC.  They are the same drivers we currently use to access our Excel documents that are querying the Cache system.  I'm not sure, what, if anything, I'm doing wrong.  Has anyone else created an environemnt where they are pulling reports from Cache using SSRS and having users open them from SharePoint?  Or, if not cache, if they have this setup with another system that needs a driver installed on a users PC to work?  If i can't get it to work, is trying to set this up as a Data Processing Extension using the InterSystems Cahce Provider assembly something I should look into?  This is my first time asking for advice/help so please let me know if I need to provide more details.


SSRS 2016 64Bit Report Manager giving the 'ORA-12154: TNS:could not resolve the connect identifier specified' After migration

$
0
0

We are in the process of migrating from SSRS 2008 to SSRS 2016.

SSRS 2008 is on Windows 2008 64bit server. SSRS 2016 is on Windows 2016 server. After the new SSRS 2016 instillation, on the 2016 Report Manager, Following error message is coming when performed the "Test Connection" ORA-12154: TNS:could not resolve the connect identifier specified'

Connection Type: Oracle Database

Connection String:  SERVER=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=scan-server.xyz.org)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME = Database.xyz.org)))

Note: I can use the same connection string in SSRS 2008 Data Source and test successfully.

Oracle 64 bit Client 12C is installed at F:\app\product\12.1.0\client_2

Odp.net is installed at F:\app\product\12.1.0\client_1

Able to do the tnsping successfully and  SQLPLUS connected to the database successfully

MCPRDEV12C =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = scan-server.xyz.org)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = Database.xyz.org)
    )
  )

TNS_ADMIN Variable is added into environment variables: F:\app\product\12.1.0\client_1\Network\Admin

Below is Repository services log:

Microsoft.ReportingServices.Portal.WebHost!processing!3!07/28/2018-13:03:46:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'xxxx'. ---> Oracle.ManagedDataAccess.Client.OracleException: ORA-12154: TNS:could not resolve the connect identifier specified ---> OracleInternal.Network.NetworkException: ORA-12154: TNS:could not resolve the connect identifier specified
   at OracleInternal.Network.AddressResolution..ctor(String TNSAlias, String instanceName)
   at OracleInternal.Network.OracleCommunication.DoConnect(String tnsDescriptor)
   at OracleInternal.ServiceObjects.OracleConnectionImpl.Connect(ConnectionString cs, Boolean bOpenEndUserSession, String instanceName)
   --- End of inner exception stack trace --

Any help would be greatly appreciated.


SSRS Export To Excel And Retain DataTime Format

$
0
0

Good day, 

When I export to excel the date time format doesn't retain, it column is either General or Custom.  How can I get the datetime format when exporting to excel?

The data isn't converted to varchar or nvarchar and the format in ssrs is date time mm/dd/yyyy.  



Duplicate SQL Agent Jobs created for a report subscription

$
0
0

When trying to edit, disable or delete a specific subscription, an internal report server error occurs as below:

The Report Server is SQL Server 2016 SP 2 (13.0.5026.0)

Report Server dump log excerpt:
library!ReportServer_0-22!22f4!07/25/2018-13:46:36:: i INFO: Call to DeleteSubscriptionAction(SubscriptionID=3e484b86-b2ff-466e-8fc8-56a8b5ead9f1). User: domain\admin user.
library!ReportServer_0-22!22f4!07/25/2018-13:46:36:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: Adding more than one data source with null original name, Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.;
library!ReportServer_0-22!22f4!07/25/2018-13:46:36:: e ERROR: Report server dump occured. Exception: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., Message: , Unhandled Exception: False
library!ReportServer_0-22!22f4!07/25/2018-13:46:36:: e ERROR: Report server unique dump occured. Exception: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., Message: , Unhandled Exception: False
library!ReportServer_0-22!22f4!07/25/2018-13:47:22:: i INFO: Dump result: Timeout waiting for external dump process 7112.

All other report server functionality is ok - it is only occurring for one subscription. This data driven subscription was recently edited to change the destination file path. It subsequently failed due to a permissions issue, and since then has been uneditable and cannot be deleted.

Further investigation revealed that the SQL Agent job name '3E484B86-B2FF-466E-8FC8-56A8B5EAD9F1' associated with the subscription is duplicated - and there are no steps in either of the jobs.

We followed the suggestion in this post to delete one or both of the SQL Agent jobs, but the same internal server error still occurs when trying to delete the subscription: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/eac10cd4-6244-4cf1-9092-89044b8e94e1/ssrs-subscription-creating-duplicate-job

Note: this report server was migrated from SQL 2012 to a new SQL 2016 server.

Thanks for any assistance


Matt

Compare pair of values

$
0
0

Dear All, 

I have table with 2 numeric columns (for example consider the A,B Union result). Now I want to check any two values are with in the range of my table (A,B columns) or not ?

Example data

SET @param1 = 2 
SET @param2=5

Select 0 A,270 B - with in the Range
union 
Select 0 A,10 B  - with in the range
union 
Select 5 A,10 B  - Not with in the range

Thanks,

Preview report not same with output

$
0
0

Hi all,

I have problem with previewing report on web portal before print or save. The preview is not same with the output.

I will post the sample once my account verify.


Viewing all 10045 articles
Browse latest View live


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