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

Error in BIDS developing reports in SQL Server 2008 R2 Reporting Services: "An item with the same key has already been added"

$
0
0
Trying to add a new report via the Wizard or changing the Dataset afterwards to point to a Stored Procedure:

"An error occurred while the query design method was being saved. An item with the same key has already been added."

This even happens in a brand new project.

Help!

Alan Josephson


Date Picker Not Showing Up when using Chrome

$
0
0

Hi,

I have a date range parameters in my report, and when viewing it using IE and Firefox ReportViewer, the date picker is there. But when I tried running it using Chrome, the date picker was missing. I tried double click on the date field itself but nothing. My Chrome version is 17.0.963.79 m. I tried allowing the pop-up blocker (as I read somewhere in this forum to try), but still nothing. Any help is very much appreciated. Thanks.


Call me Sam. Once a gunners always a gunners

ssrs 2008 margins on embedded reports

$
0
0

In a new ssrs 2008 report, I have 6 tablixes embedded within 1 main tablix as a requirement for the project I am working on. I am told that all the embedded reports (separate tablixes) are to have all the margins set to .02 inches. If a report needs to have other margins like left and right set to .05 inches and the top and bottom margins set to 1 inch each, I should have that setup in each individual embedded tablix.

This sounds that I should be able to accomplish this, but each embedded tablix that I want to set the margins to a higher values I can not find a way to do that. I have tried to use the padding option on each embedded tablix and that does not work. Each embedded tablix has the report properties that are set for the entire rdl.

Thus can you tell me how to change the margins of the embedded reports to meet the requirements I have setup? If this is not possible, would you let me know and possibly why I can not change the margins on selected embedded reports?


ssrs 2008 report not working when use a stored procedure

$
0
0

In a new SSRS 2008 report, I am going to change the inline sql to a stored procedure since that is a requiement for the project I am working on. The sql works fine within the ssrs 2008 report, but has a problem in the stored procedure. The error message that is displayed is the following: 'Query execution failed for dataset Msg 8114, Level 16, State 1 Procedure spRec, line 0 Error converting data type varchar to int.'

The stored procedure works if I select only 1 report. However if I select 2 or more reports that is when the above error occurs. The ssrs 2008 report has 18 embedded tablixes within the main tablix. The embedded tablixes wiithin the ssrs main tablix will display selected reports based upon a report parameter that a user. The embedded reports will be displayed based upon the report number. In addition, I only want the data for the selected reports to be returned from the sql. I want this to occur since the data from the runs will be more than is needed for each uniuqe run. Note: The data returned will be all in the same format. There will be a column in each data row showing what report number the data should be selected for. The report parameter is setup as allow multiple values and data type = text. The dataset to pass data to the report parameter looks like: SELECT 'Locator' AS rptName, 1 AS rptValue UNION SELECT 'letter',2 UNION SELECT 'Wallet ', 3 UNION SELECT 'Cum Stu', 4 UNION SELECT 'Attend', 5 UNION SELECT 'Test',6 The sql before each section looks like: IF 1 in (@report) IF 2 in (@report) I have tried changing the properties of the report parameter to integer and the if statements listed above but it has not worked. Thus can you tell me what I can do to solve my problem?




Report Viewer fails without indicating error

$
0
0

Conditions:

  1. Report specifies list of available string values for a parameter.
  2. Report works correctly on report server when selecting multiple values from check box list.
  3. In .Net app, report fails to render if concatenated string of values passed to report, e.g, "1,2,3" even with all values in string are listed as available individually but the specific string was not in THE available value list.
  4. In the report, values are used only to filter visibility of report sections and not for retrieving data by parsing the string passed, i.e, if "1" in "1,2,3", show section "1."
  5. No error or exception occurs either in studio running in debug or on web server running as localhost.
  6. Problem was resolved by removing available values from report.  Solution acceptable since report only used in web app.

Much time was wasted tracking problem and resolving as noted.  Does SSRS report viewer log errors or exceptions that might have provided direct path to problem?  Can report viewer process be traced?


Marty G.


SSRS 2014 installs a HTTPS URL when server is attached to a Domain

$
0
0

SQL 2014 - When SSRS is installed on a server which is part of a domain, the SSRS install process creates two URL's,  a "https" URL and the regular "http" URL. Has anyone else seen this scenario with SQL Server 2014?  Why is the "http"s URL being created?

Note: When the https URL is being creates, the rsreportserver.conf parameter is set to 2. The SSRS http URL will not work.

<Add Key="SecureConnectionLevel" Value="2"/>

Thanks

Joe

is there a compatibility issue between chrome and RM

$
0
0
Hi. We run 2008 R2.   A user asked me to observe sudden weird behavior as she renders reports in chrome via RM. I looked at the version of chrome she has installed.  It is 49.0.2623.110 m.  Basically the report generated nothing.  No headers, nothing.  Using the same link in internet explorer renders the report fine.  Firefox is fine too.

Can't send email through SQL Server Reporting Services.

$
0
0

Platforms

SQL Reporting Server (Win Server Standard)

Exchange (Windows 2012, Exchange 2013)

Reporting Server has stopped sending emails.  The Error message  beside the Subscription that "Failure sending mail:  The transport failed to contact to the server."

The Eventlog on the Reporting Server shows Event ID 122 "Scheduling and Delivery Processor cannot connect to the SMTP server w12-ch-ex1 that is used for email delivery"

From the same Reporting Server, I use telnet to send an email to myself with the same settings as what is in the configuration as the Report server, using the same smtp settings and sending email address and I can send an email every time.  This is to test the Report server smtp settings and to verify that the report server is set as an email relay.  Again, no issues sending emails in this fashion.

"Sometimes" when I stop and then restart the Reporting service, emails will go through via the reporting service, but this isn't consistent.   Sometimes if I recreate a subscription, then the email works for awhile, maybe even for 2 or 3 notices...and then it stops.

Nothing had really changed as far as I know and then all of a sudden the users started getting inconsistent reports and then it just stopped.

Any troubleshooting advice/steps would be appreciated.


Brian Clanton


SSRS - Show chart data on click

$
0
0
So, I've searched and found a lot on showing the detail for a particular data point in a chart on the same report (hidden table) as the chart.  That is not what I am looking to do.  

I have a dashboard report made up of a bunch of sub reports that display charts. All I want to do is when a user clicks anywhere in a chart, is to go to another report (which would be a subreport) showing a table of the same data in the chart.  I don't want to show/hide anything on the dashboard as there is no room and it doesn't really make sense.  

Obviously, there would need to be a way to get back to the main (dashboard) report. 

I created a subreport already by taking the chart I use as a subreport and changing it into a table. I just am not sure how I trigger this.


call report service from wcf service

$
0
0

I have a wcf service from which need to call report service to genrate report. this wcf service will be called by multiple types of clients (windows, web, etc.) and each client will have its own rendering type - excel, pdf, html.  so wcf will return bytestream to caller and client will decide type..

my question is about how tocall report service from wcf. i checked this msdn link. but i cant use reportviewer control in service. how will url work with lot of input parameters?is there any way other than url option to call reort servce. 

https://msdn.microsoft.com/en-us/library/ms153697.aspx

thanking in advance

"Transparent" is not a valid BackgroundColor?

$
0
0

I have set the Fill expression for a TextBox to the following:

=iif(IsNothing(Fields!Modeled.Value), "Yellow","Transparent")

Now when I Preview my report I get the following warning:

  [rsInvalidColor] The value of the BackgroundColor property for the text box Modeled is Transparent, which is not a valid BackgroundColor.

Every other textbox has default fill color "Transparent."  What am I doing wrong?

SSRS migration issue

$
0
0

guys,

how can I migrate reports from SSRS 2008 to SSRS 2014. After migration, do those reports change as SSRS 2014 version? Need I take any other action?

how to show 0.00 value when textvalue=Previous(textbox value)

$
0
0

hi all,

   i have an expression like =(Fields!adjustment.Value) whose value is 0.00 for all the rows

so, i decided to show 0.00 only on top row..so in visibility(show/hide) i kept the expression as

=(Fields!adjustment.Value = Previous(Fields!adjustment.Value))

for all other textboxes this type of formuls working good. since this Fields!adjustment.value=0.00, its not showing in first row also...for all the rows i'm getting blank.

my expectation is on the first row i should get 0.00 and rest rows as blank..

pls help ,its urgent

thanx in advance..


lucky

how to divide the report horizontally and vertically

$
0
0

hi all,

 i need a report where i need to divide the report columns  horizontally and vertically as below image..

3*3

 need to divide the tablix rows as 3 tablix horizontally and 3 tablixes vertically.. pls help..


lucky

how to display page number starting from given number

$
0
0

hi all,

 Till now i'm using page number in header and footer so that the page number starts from 1

="Page " & Globals!PageNumber 

but now i need page number starting from what number i needed

i have one parameter in which values come from drop down as 1,2,3,4,5..etc

now if select parameter value as 1 my page number should start from 1..if i select 2 it should start from 2...etc

how can i acheive this..

pls help

thanx in advance..


lucky


Create SSRS RDL with filters for Presto DB

$
0
0

Hi

We are building RDL to connect Presto DB. We want to create report with filter.  When we execute, we are getting below error

"An Error occurred while executing the query.Error [HY000][Teradata][Presto][1060] Presto Query Error: Line 1:65 No Viable alternative at input'@' (1)"

Query Used to generate the report is

SELECT DISTINCT id from detail_table where uid =@param order by id

Thanks
Abbas

Custom Color VBScript Works for Background But Not Foreground?

$
0
0

I have a textbox with two expressions in it that shows a total and a percentage in it. It's this format:

TOTAL (percentage) . . .  for example 956 (8.35%)

I wrote a quick function to parse out the percentage from the text-box value as a decimal and then return a color based on the parsed out value:

Public Function ColorCodeDown(s As String) As String
   'Parse out percent
   Dim First As Integer = s.IndexOf("(")
   Dim Second As Integer = s.IndexOf(")")
   Dim MyPercent As Decimal = Convert.ToDecimal(s.Substring(First + 1, Second - First - 1))

   'Get a color based on value
   Dim MyColor As String

   IF MyPercent > 0.90 Then
	MyColor = "#2FA385"
    ElseIf MyPercent > 0.80 Then
	MyColor = "#32B15D"
    ElseIf MyPercent > 0.70 Then
	MyColor = "#38BF9D"
    ElseIf MyPercent > 0.60 Then
	MyColor = "#3DD16B"
    ElseIf MyPercent > 0.50 Then
	MyColor = "#F0C427"
    ElseIf MyPercent > 0.40 Then
	MyColor = "#F29C22"
    ElseIf MyPercent > 0.30 Then
	MyColor = "#E37B1C"
    ElseIf MyPercent > 0.20 Then
	MyColor = "#D14F16"
    ElseIf MyPercent > 0.10 Then
	MyColor = "#E44233"
    Else
	MyColor = "#BE3023"
  End If

  Return MyColor

End Function

This function works as expected when setting the background color property on the textbox =Code.ColorCodeDown(Me.Value), however doing the same thing to the color property just colors it black. Additionally, setting the tooltip to =Code.ColorCodeDown(Me.Value) gives the expected hex value when you hover over it.

Any ideas? Thanks in advance!

Custom Assembly stopped working in SSRS 2012

$
0
0

We have a custom assembly that works fine in SSRS 2008 R2.

We recently upgraded to SSRS 2012. Now the custom dll no longer works.

We are using this custom Dll in a report expression and it fails.

This Dll works fine when i use it Inside the BIDS and reports run fine under BIDS.

Is there some security change that were implemented on this report expression in SSRS 2012 , preventing our existing dll to stop working.


~~ Mark it as Answer if you find it correct~~

How to show the difference between column data

$
0
0

Hello All, 

I am trying to figure out a way to show the difference between current column data and previous column data for the same row ? If there is no previous row available then it should show "0" there. 

so here for 2011 , next to sales data column will have 0 as a difference. For 2012 , Territory ID 1 will have 89670475.47 as difference there.

Any help is appreciated !

Report in VS 2015 won't deploy to SSRS 2014

$
0
0

I created a new report in Visual Studio 2015. I set the properties of the project to deploy to SQL Server 2014. When I deploy it, though, it still says that the report was created in a newer version of Reporting Services and errors out. This only applies to the report itself, my shared datasource deploys just fine.

How can I deploy my report?

Thanks!

Viewing all 10045 articles
Browse latest View live


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