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

How to force SSRS not to render report until parameter values are chosen?

$
0
0

Hi All,

I'm working on an SSRS 2014 report (using SSDT 2013) at work and I've somehow managed to break some part of it.  Originally, the report would not attempt to render when I click on the "Preview" button, but would instead present the parameters and wait for me to specify some value for them and click "View Report" before it attempted to render.  Now it's rendering as soon as I click te "Preview" button.  What did I mistakenly change?

Thanks,
Eric


Chart Axis Titles not all present

$
0
0

The following chart shows only three axis labels on the X axis (which have been marked out in red). How do I make each bar have it's own label ?

Thanks,


John

How do it create a parameter filter based on a calculated field

$
0
0

Hi

I want to have a filter /parameter that allows me to show only matters where all 4 balances are not equal to zero or show where all 4 balances are zero. I have created a field to sum the 4 balances and the 3 parameter options are to show all, only where the baltotal is zero and where the baltotal is not zero.

Description                                          Bal1     Bal2    Bal3    Bal4       Baltotal

Matter 1                                              0.00      2.30   10.00   0.00        12.30

Matter 2                                              0.00      0.00     0.00   0.00          0.00

Matter 3                                              1.00      0.00     1.00   5.00          7.00

I hope that this all makes sense :)

Regards

Graham

Error with SQL Server 2012 RSWebParts.cab for SharePoint 2010

$
0
0

I have A) SharePoint 2010 and B) SQL Server 2012. ReportServer is installed on back-end server B.

I would like to install webparts to explore native reports, but I failed. Error came in 2 different environment with same software and topology.

When I did exactly same steps with RSWebParts.cab of SQL Server 2008R2, it was successful. Why deployment of RSWebParts.cab of SQL Server 2012 fails in SharePoint 2010?

Following article titled View and Explore Native Mode Reports Using SharePoint Web Parts (SSRS)
suggest that I should install RSWebParts.cab. http://msdn.microsoft.com/en-us/library/ms159772.aspx

I found the RSWebParts.cab from BI Server C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Reporting Services\SharePoint

And copied to the SharePoint 2010 Server(Server A).

However error came with following command:

PS C:\temp> Install-SPWebPartPack -LiteralPath "C:\Temp\RSWebParts.cab" -GlobalInstall

Confirm
Are you sure you want to perform this action?
Performing operation "Install-SPWebPartPack" on Target
"C:\Temp\RSWebParts.cab".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
(default is "Y"):y
Install-SPWebPartPack : Failed to extract the cab file in the solution.
At line:1 char:22
+ Install-SPWebPartPack <<<<  -LiteralPath "C:\Temp\RSWebParts.cab" -GlobalInst
all
    + CategoryInfo          : InvalidData: (Microsoft.Share...tallWebPartPack:
   SPCmdletInstallWebPartPack) [Install-SPWebPartPack], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInstallW
   ebPartPack

-------------------------------------------------------------------------------------------------------

ERROS came as well as with stsadm command:

PS C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\bin>
stsadm.exe -o addwppack -filename "c:\temp\rswebparts.cab" -globalinstall

Failed to extract the cab file in the solution.

--------------------------------------------------------------------------------------------------------

Deployment was successful when I tried to deploy RSWebParts copied from SQL Server 2008R2 and install to very same SharePoint 2010 farmwith same command.

SQL 2008 R2 SP1 SRSS wont start

$
0
0

Hi Dears,

SQL 2008 R2 SP1 SRSS wont start

when I try to start it from Services it gives:

---------------------------
Services
---------------------------
The SQL Server Reporting Services (MSSQLSERVER) service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
---------------------------
OK  
---------------------------

in event viewer:

Log Name:      Application
Source:        SQL Server Reporting Services (MSSQLSERVER)
Date:          12/26/2012 3:06:25 PM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:     SQL01.NBS.Local
Description:
Service cannot be started. System.ArgumentOutOfRangeException: Number must be either non-negative and less than or equal to Int32.MaxValue or -1.
Parameter name: millisecondsTimeout
   at System.Threading.Thread.JoinInternal(Int32 millisecondsTimeout)
   at Microsoft.ReportingServices.Library.ServiceAppDomainController.Start()
   at Microsoft.ReportingServices.Library.ReportService.OnStart(String[] args)
   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
Event Xml:

How to solve this issue?

Thanks

Data driven subscriptions SSRS 2012 Express

$
0
0

Hello;

Are data driven subscriptions availble in SSRS 2012 Express I'm returning the following.

I'm using SQLExpress 2012. Are there tools I can install I can't see any documentation online to read.

All help highly regarded.

Richard

Table Data types for Data Driven Subscriptions

$
0
0

I am trying to find a reference for a client that lists the fields available to be substituted into a data driven subscription from the query, along with the expected data types.  For example, the field on whether or not to include a link to the report seems to be expecting a bit data type.

I have searched and can't seem to find anything.  I guess I could walk through the interface and try different data types, but if  a list exists, that would be better. 

Thanks!


Ann Weber

Multiple page size and orientation setting in SSRS

$
0
0

Hi Experts,

I am here with a new doubt. 

I have a multiple page report built in SSRS. It consists of three pages. I want to set the orientation of first page to landscape and the orientation of other two trailing pages to portrait. Please let me know if I will be able to achieve this in SSRS 2012 standard edition. By the way, I am using multiple subreports in this report. 

Please help me out at the earliest.

Thanks,

Ruchika


Pace Down

$
0
0

Hi friends,

With daily transactions have my tables getting heavier at a very fast pace and the SSRS summaries are very slow and the Charts too are not loading correctly. Please see if any special advice? Would it be feasible to have some month-wise data summaries be maintained and updated in some other table so as to avoid considering the transactions live?

Thanks


ssrs 2008 report need unique groupings for report with 2 parts

$
0
0

In an new ssrs 2008 report, I need to come up with a way(s) to uniquely define how data will appear on the different parts of the report. The only thing that the two part of the report will have in common
is the customer name and customer number. The dates used come from different tables.

The data for the first report will look like the following and will need to be grouped by cso_date:

Customer number customer name    cso_date          item_number
       45                       customer1              12/03/2001           16
       45                       customer1              9/12/2010             15
       45                       customer1              9/12/2010             24
       45                       customer1              9/12/2010             82
       45                       customer1              11/03/2010           07
      45                       customer1               11/03/2010           16

Table defintions
Customer number int,
customer name varchar(30),
cso_date datetime,
 item_number int


The data for the second report will look like the following and will need to be grouped by attend_date:

Customer number customer name    attend_date          Course Number
       45                       customer1              11/03/2011           2256
       45                       customer1              9/12/2012             1803
       45                       customer1              9/12/2012             5689
       45                       customer1              9/12/2012             1288
       45                       customer1              1/03/2013             1288
      45                        customer1              11/03/2013            1803

Table defintions
Customer number int,
customer name varchar(30),
attend_date  datetime,
Course Number  int

The t-sql that I write, I keep getting all the same data in all the same rows. I want data that is
unique for report 1 versus report 2.

Thus can you tell me how to do the following:

1. Write the t-sql so that I can uniquely define rows for report #1 versus the rows for report #2?
2. In the ssrs 2008 report, would you tell me how to uniquely identify the parts of the report that are just for that section of the report?


SSRS: Passing/Setting parameter to Dataset using Expression

$
0
0

I am using Microsoft SQL Server Report Builder 3.0. I have created a Stored Procedure(stored_procedure1) in the database which has a Parameter (parameter1). Here, stored_procedure1returns result1.

Then, I used stored_procedure1 to create a Dataset (dataset1) in the Microsoft SQL Report Builder 3.0. Next, I created a Table (table1) in Microsoft SQL Report Builder 3.0 with 2 rows and 2 columns (total 4 cells).

I would like to fill each element of table1 with result1 from dataset1. Hence, I set expression of each cell of table1 as follows:

=Sum(Fields!result1.Value, "dataset1")

When I run this report, it works perfectly and asks me to enter parameter1. However, I want to use single Dataset (dataset1) with different values of parameter1 for each cell of the table. Hence, I want to pass/set parameter1 with unique parameter_value for each expression of table cells. Say I want to set parameter1 = parameter_value1 for first cell.

For example, if I need to set parameter_value = 5, I did something like

=Sum(Fields!result1.Value, "dataset1"), Parameters!parameter1.Value = 5

I also tried following:

=Sum(Fields!result1.Value, "dataset1") & Parameters!parameter1.Value = 5.

It doesn't work.

In summary, I coudln't pass or set parameter value together with an expression. Can we set/parameter value.

I would like to thank you in advance.

Resizing a Textbox in the Data Row of a Tablix

$
0
0

SQL Server 2012.  Visual Studio 2013.  SQL Server Data Tools.

I am placing a textbox into a column in the tablix data row.  I want the textbox to be smaller than the dimensions (both height and width) of the cell in the data row.  However, when I drag the textbox control into the cell, it automatically makes it the same size as the cell.  How can I resize it to be smaller (height and width) than the cell?  The "cell" and textbox in question is highlighted on right in the image below.  Thanks for any help.


Why is html rendering fast compared to PDF rendering in SSRS?

$
0
0
Why is html rendering fast compared to PDF rendering in SSRS?




Exporting into excel issue in 2012 ( SSRS ) - Length cannot be less than zero

$
0
0

Hi,

We have developed the SSRS reports in 2012. While exporting the reports into Excel from reporting manager, we are facing the below error.

Length cannot be less than zero. Parameter name: length

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details:Microsoft.Reporting.WebForms.ReportServerException: Length cannot be less than zero. Parameter name: lengthSource Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ReportServerException: Length cannot be less than zero.

Parameter name: length]

[ReportServerException: An error occurred during rendering of the report.]

[ReportServerException: An error occurred during rendering of the report. (rrRenderingError)]

   Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +1002

   Microsoft.Reporting.WebForms.SoapReportExecutionService.Render(AbortState abortState, String reportPath, String executionId, String historyId, String format, XmlNodeList deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +1121

   Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +425

   Microsoft.Reporting.WebForms.ServerModeSession.RenderReport(String format, Boolean allowInternalRenderers, String deviceInfo, NameValueCollection additionalParams, Boolean cacheSecondaryStreamsForHtml, String& mimeType, String& fileExtension) +209

   Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response) +219

   Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +221

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +586

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +177

Can anyone help on this issue… thanks in Advance..!!



Balaji - BI Developer

How to setup SSRS Authentication against external server?

$
0
0
 

Our Web application started using external authentication mechanism called CAS. Now we need to Configure SSRS to authenticate against CAS whenever the user accesses a SSRS URL on web page.

If user authenticated against CAS already, report should be opened seamlessly. 

Please let me know how to configure / design SSRS reports in this case?

Thanks in advance


Error Message when trying to open reports on the SCCM 2012 console and IE browser (SQL Server 2008 R2)

$
0
0
I have finally have reporting services up and running. A list of all built-in reports have been populated under Monitoring>Reports but when I click on them I get the results shown in the screen shot attached. Below is the error I get when I try to open any report from my IE browser. I have confirmed SSRS is running on my SQL server. I actually had to start it in order to get the list of reports to populate becasue it was stopped. An error has occurred during report processing. (rsProcessingAborted) Cannot impersonate user for data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. (rsErrorImpersonatingUser) Log on failed. Ensure the user name and password are correct. (rsLogonFailed) Logon failure: unknown user name or bad password Attached Images

Phil Balderos

How to show aggregated 'count distinct' values?

$
0
0

Hi guys,

I created a simple list with only a few columns, each row represents each units and  the total number of distinct students who enrolled into this unit.

I want to show the aggregated numbers of distinct students for all units at the bottom of the list, it is now using [Sum(DISTINCT_STUDENT_COUNT)] which is just simply adding all the numbers together. However, one studnet can enrolled into 2 units, so even it shows 1 distinct student headcount for unitA and unitB, the total number should be 1 rather than 2.

I tried using CountDistinct at the summary level, but it doesnt work, can someone please help?

Regards,

J


Kind Regards, J

Parameters textbox size and other report manager configurations

$
0
0

 

Hello,

1.i am using the built in report manager to view reports to many users in my organization and lately many people complain that the size of the textbox showing the multivalue parameters prompt is too small! you can barely see the values to choose from.

2. can  i change the color of the links (of the reports) in the report manager?

 

 

is there any place where i can configure the settings regarding the manager?

 

thank you.

SSRS 2012: Cannot add multi value parameter '?' for dataset XYZ because it is not supported by the data extension

$
0
0

Scenario:  I am working with a Firebird database (somewhat similar to MySQL) connected to SSRS 2012 via ODBC connection manager.

I have a huge stored procedure (which I am not supposed to modify at all) given by our client.
The stored procedure has a parameter - Parameter X filtering Column X (integer datatype); when I pass values to  Parameter X - say 1,2,3,4... individually, I am able to run the report correctly in SSRS.

However, when I try to pass a string of values - (1,2,3,4...)  - i.e. (by checking) 'Allow multiple values' for this Parameter X (text datatype) in SSRS Report Parameter Properties box, I get this error -

'Cannot add multi value parameter '?' for dataset XYZ because it is not supported by the data extension.'   (XYZ is the main dataset for this report)

The values 1,2,3 are passed as input from another dataset (PQR).

How can I pass multiple input values (1,2,3,...) to Parameter X from this PQR dataset ?

As I have mentioned, I cannot modify the PSQL Firebird stored procedure (main dataset XYZ) at all. The procedure reads something like this for filtering Column_X:
-------------------
WHERE       :Parameter_X    CONTAINING   Column_X 

-------------------

Now   if :Parameter_X = 1 or 2 or 3 individually passed from dataset PQR, SSRS report works fine.

If          :Parameter_X = (1 ,2, 3, ....) multi values passed from dataset PQR, SSRS report throws the above error.

   

I can modify the dataset PQR, but not the main dataset XYZ

Any suggestion will be greatly appreciated.









Rendering to PDF does not display Chinese Characters (Windows 10 only)

$
0
0

Hi,

I have an issue rendering Chinese characters in reports as PDF (or Image), either programmatically using theReportExecution API or using the Export to PDF on the Report Viewer.

The characters appear correctly in Report Viewer (due to font substitution I assume) but not when displayed as PDF.

This issue only occurs on PCs running Windows 10, but does not on Windows 8 or 7 or any of the Server OS variants.  This issue has been replicated consistently on many machines.

I am running Windows 10 Update 1 and SQL Server 2014 SP1 with Reporting Services. 

Looking at the PDF files the only difference I can see if that the font PMingLiU is no longer being embedded in the PDF under Windows 10.

I can see the Font PMingLiU-ExtB exists when viewing installed fonts, but notPMingLiu.

Any help much appreciated.

Theo


Viewing all 10045 articles
Browse latest View live


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