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

Query on Report Subscription

$
0
0
 

Hi,

For creating a report subscription, Report Server looks for the credentials get stored in the report server level. Is there any work around to do this? My scenario is, I use windows authentication and uses OLAP as data source for my reports.

Now if I store a credentials in the OLAP data source in Report Server, it is breaking out my application security as this credentials can be used to view all information from OLAP.

If I use windows integrated security in Data source, getting the below error message.

"Subscriptions cannot be created because the credentials used to run the report are not stored, or if a linked report, the link is no longer valid."

Thanks


Recursive CTE preventing data set from caching

$
0
0

I've listed a detailed question here some time ago, and have had no luck so am hoping someone here can help.

I have a data set in an SSRS report that uses a recursive CTE to clean strings, unfortunately this fails and the stack trace below is output to the SSRS log. Any ideas what's going on here to cause the data to fail to get into the report?

ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'DataSet1'.,; Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'DataSet1'.---> System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket() at System.Data.SqlClient.TdsParserStateObject.ReadBuffer() at System.Data.SqlClient.TdsParserStateObject.ReadByte() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.ReportingServices.DataExtensions.SqlCommandWrapperExtension.ExecuteReader(CommandBehavior behavior) at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunDataSetQuery()--- End of inner exception stack trace ---

ghost fields in ssrs 2008 report

$
0
0

I have a dataset in ssrs 2008 report that gets its fields from a SQL stored procedure. This stored procedure retrieves data from a relational database. I removed one field named 'Roster Shift' from the stored procedure output query as this field get dropped from the database table itself. This field was never used in the report but was a part of the dataset fields there. To my surprise, the report still runs fine although I have not refreshed the dataset fields after this change and 'Roster Shift' is still showing under the dataset. To my understanding, it is sort of a ghost field under the dataset as the stored procedure dose not pass it to the report.

Can anybody please explain this behaviour of SSRS as such fields can cause confusion during maintenance of such reports at a later stage. Is it fine to leave the ghost fields if the report seems to run fine?

 

how to print n copies of a report in SSRS

$
0
0

Hi

I design a new report.the customer requirement is two print the report 2 copies always for a particular report.how can i finish this in SSRS.

please help me to solve


Thanks & Regards Manoj

Opening Report in New Window when using Action >> "Go to Report"

$
0
0

Hey everyone,

I've been spinning my wheels on this for a while now and not able to find any solutions on here.

I have a report that has a drillable Text Field (link) to another report.  The drillable Text Field is set up with the following:  Text Field Properties >> Action >> "Go to Report". 

I am using the "Go to Report" option because I have a lot of parameters and long value names that cause the 2nd report to error out if I use "Go to URL" because  "The full path must be less than 260 characters long; other restrictions apply. (rsInvalidItemPath)"

So the only way to drill into the 2nd report is by setting the parameters to run the report through the "Go to Report" option. This avoids the 260 characters long restriction.

However,  I Need this report to open in aNew Window.  I've been usuccessful in my many many attempts in getting this to work.

Again, trying to find out how to use the Go To Report option while having the 2nd report open in a new window.

Any help would be GREATLY appreciated!

Thanks



Need to exactly align Vertical Axis Lines when displaying one linear chart underneath another

$
0
0

Hi,

I need to exactly align Vertical Axis lines when displaying one linear chart underneath another so the vertical axis line of MyReport1 is always parallel to the vertical axis line of MyReport2. For example; -

As opposed to the default behaviour which is to align on the vertical axis label.

The business objective behind my question is to enable the reader who is comparing and contrasting these charts within a dashboard to more easily compare October’s data of MyReport1 with October’s data of MyReports2.

N.B; - I have several reports which dynamically populate the position of MyReports2 because these reports need to be compared against MyReport1. All the reports which populate the position of MyReports2 have varying sized labels.

Thanks in advance,

Kieran.


If you have found any of my posts helpful then please vote them as helpful. Kieran Patrick Wood MCTS BI,MCC, PGD SoftDev (Open), MBCS http://www.innovativebusinessintelligence.com/ http://uk.linkedin.com/in/kieranpatrickwood







how to change the sheet names as per grouping values while exporting the ssrs reports in ssrs 2003

$
0
0

Hi

can any one help 

issue:i need change the sheets name as per grouping values while export report from ssrs to excel inssrs 2003 & 2005 .

sent as soon as possible

Thanks in advance


bala



SSRS 2008 R2 - subreport body background image renders/scales different on Preview & actual pdf

$
0
0

Hi,

I have a main report which consists of multiple sub reports. One of the sub report consists an image as body background & lot of controls layered on top of it. It looks good when I preview them. But when I export as PDF & view it, it scales different.

I tried adding an rectangle & set this image as rectangle background. Still I'm having the same problem.

Thanks in advance for your help!!!

Thanks,

Anitha


How do I provide all user access (Domain User) to a specific report in SSRS 2008 R2

$
0
0

Hi,

I have deployed report in reporting server and calling this URL from my client application (Silverlight and HtMLViewer is used to open the Report link).Client application is working based on the windowsauthentication.

As of now I am individually adding each user who requires access for the report in  reporting server security. (Folder setting and Security).

I have module report and deployed in different folders in reporting server.each folder reports should be accessed by some set of users.Like one folder can be accessed by all users in the organization.another can be accessed by some users only.

1.How can I give all user access to specific folder/report .(we do not have everyone group)

2.How can make report use the client application authentication without adding user in security part individually in reporting server.(internet and intranet).

Any constructive help would be greatly appreciated.

Thanks,

Baskar

Can't set reporting services email subscriptions

$
0
0

I am trying to learn SQL Server 2008 Reporting Services and I have a test project with one report. I can’t set up an email subscription since it either complains about “Subscriptions cannot be created because the credentials used to run the report are not stored, or if a linked report, the link is no longer valid” if the data source credentials are set to “Use Windows Authentication” or if I set the source credentials to “Use this user name and password” and put in my user name and password it works in the BI studio but won’t open in IE telling me that “An error occurred during client rendering. An error has occurred during report processing. Cannot create a connection to data source 'DB Name'. Login failed for user 'my user name'.”. What do I need to do to make it (and myself) happy?

Thanks

MIN and MAX in EXPRESSION

$
0
0

im adding and color expression on my table... it all works perfectly well until i add the and clause followed by MIN or MAX, then its not working at all..

=iif(Fields!AudAction.Value = "Approval" and min(Fields!AudDateTime.Value), "#DFEBFD", 
iif(Fields!AudAction.Value = "Distribution" and max(Fields!AudDateTime.Value), "#AEC2E0","White"))

SSRS Adding Custom Assemblies , pass Enum as a Parameter

$
0
0

Hi All,

I  am using Custom assembly in SSRS.

My assembly has a Static class and its has a Static method which takes Enum as Parameter

How do i pass the Enum to this method as a paramter

Thank,

 Kiran

Can we Customize a report parameters validation message and any report generated errors?

$
0
0

Hi, I amdesigning and implementing a report in SSRS 2008 R2.

This report is having a date parameter of type date and time. When I selected the date from the date picker, the report is working fine. But if I entered a string value like “abs” into that date filter, it is throwing the following exception.

Please find the below screen shot:

  I know this is due to the incompatible data types. But, Even though we got this error message, can we customize this error message as user-friendly message without modifying the report viewer? So that user get understand that he entered some wrong data.

For another parameter we have written some data set and then they are mapped to the report parameters. So when I enter some wrong data into the filters parameters then we are getting the following issue, as the data set execution fails in the back end of the report due to incompatible types.

Please find the below screen shot:

But, Even though we got this error message, can we customize this error message as user-friendly message without modifying the report viewer?

Anyone could you please suggest is this possible in SSRS 2008 R2, without modifying report viewer?if, so what are the steps we need to follow?

Note:as per requirement i don't want to change the report viewer code.

Thanks in advance..!

Report Viewer gives 401 error if machine accessed under another name

$
0
0

I have a Server with an IIS application, SQL Server 2012 and Reporting Services.

The web application uses the report viewer to access the reports.

The server can be accessed under its own name,  a DNS alias,  and is published on the internet under yet another name.

If a report is accessed under its own name,   everything works fine.  But that is not the intention.

Under the DNS alias and on the internet we get an error:

The request failed with error 401 Unauthorized.

If I try to access the reports directly  with http://servername/reportserver  orhttp://servername/reports   it works fine  for all three the names.

The authentication part of rsreportserver.config says:

<Authentication>
  <AuthenticationTypes>
   <RSWindowsNTLM/>
  </AuthenticationTypes>
  <RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
  <RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
  <EnableAuthPersistence>true</EnableAuthPersistence>
 </Authentication>

If I look at the server with procmon,  I do see an access trial if I use the DNS alias or the internet adress.

On the previous machine with the same configuration (as far as I know)  it worked fine.

Does anybody have an idea,  how we can solve this?

Joachim.

Convert an integer to # of years-months-days

$
0
0

I need to convert a whole number to the number of years, days and months.
Example: 4142= 11 years, 4, months and 4 days (give or take a day)

in my text box i have a

=avg(Fields!XXX.value)

so i want to convert inside my expression..is there anyways to do that..i mean to do 2 calculation at a time in my expression?

thanks in advance


Format Y Axis Chart Report SSRS

$
0
0

Hi Experts,

I have small issue. I am developing one chart report and pulling data from the Cube.

On the Y - Axis I need to format like( hh:mm) on the Y - axis  but I was getting data in seconds from the Cube so using seconds I need to format the Y - axis like shown format

Could anyone tell me how to do that please.

SSRS 2005 RDL Migrating to 2008 R2. Column Chart Y-Axis (Vertical) Problem

$
0
0

Hi,

I have created a report in SSRS 2005 and deployed it on SSRS 2005,2008 and 2008 R2. Everything is working fine in all versions except one thing which I have explained below :

I have written an expression in Column Chart Major Grid-lines Y-Axis Interval.

In 2008 R2 there is a new Vertical-Axis option where Interval is set to "Auto". Due to which Y-Axis Interval value is calculated automatically instead of expression given in Major Tick Mark Interval expression.

Thanks

Sham

How to maintain space between Column Names when Exporting to CSV in SSRS

$
0
0

Hi,

I have SSRS 2008 R2 report which need to be exported to CSV. My report has some columns like Loan Number, Branch Code. When i export the report using CSV format the output headings are like

Loan_Number, Branch_Code

I want to maintain the space between the above columns instead of "_"(undercsore).

I know that the column name comes from the DataElementName property, or if that is blank, the Name property. Unfortunately, neither allow space,commas or quoting.

Even i checked SSRS 2012 to see if there is any patch related to this is added, but there also same issue..

Is there any alternative solution for this to allow spaces/commas in between the column names.

Any inputs for this are greatly appreciated:)

Regards,

Yukthika

Drop Down List Parameter Error

$
0
0

I'm using Report Builder 3.0 and I am trying to populate a drop list from a query in my report. 

I have two datasets.

The first dataset is a stored procedure that is passing three parameters, @StartDate, @EndDate, @FamilyCode

The second dataset is pulling the family code off a table that the stored procedure uses.

On my second dataset I can query the field just fine. I then proceeded to the parameter and assigned the secondary query to the Available and Default values but once I run the report I am given the following error:

The Value expression for the text box ‘Textbox1’ refers directly to the field ‘familycode’ without specifying a dataset aggregate.  When the report contains multiple datasets, field references outside of a data region must be contained within aggregate functions which specify a dataset scope. 

I am at lost and cannot figure out what to do next. 

Unable to print rdlc report properly in Epson TM-T81 (receipt printer)

$
0
0

I have created a rdlc report for a retail management system software(using WPF, Ms Access). It is for printing the receipts. The report is generated properly. It also prints properly when printed through a normal printer using A4 size paper. But when I print through Epson TM-T81 (receipt printer) after changing the page size.,etc. the words are printed unevenly. 

Example: Price gets prints as :  Pri   ce

These things happen with all words and other figures. How should I overcome this problem?

Initially I thought there may be some driver problem which is the reason for issues but this was cleared when I printed from any other applications like notepad, MS Word also TestPrintPage from printer properties. Every time the printing task was perfect. So the problem is confirmed to be from rdlc report settings.

In rdlc report properties I already set the following properties value:

Page Width : 2.5 Inch

Page Height : 6 inch

Printet page width : 3.27 inch(Print area width 2.8)

Do I need to make any other changes? Or is there any mistake which I made?

Viewing all 28687 articles
Browse latest View live


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