reporting-services

Using the Reporting Services Web Service, how do you get the permissions of a particular user?

丶灬走出姿态 提交于 2019-12-06 12:05:55
Using the SQL Server Reporting Services Web Service , how can I determine the permissions of a particular domain user for a particular report? The user in question is not the user that is accessing the Web Service. I am accessing the Web Service using a domain service account (lets say MYDOMAIN\SSRSAdmin ) that has full permissions in SSRS . I would like to programmatically find the permissions of a domain user (lets say MYDOMAIN\JimBob ) for a particular report. The GetPermissions() method on the Web Service will return a list of permissions that the current user has ( MYDOMAIN\SSRSAdmin ),

Dataset with dynamic columns in tablix/matrix

你说的曾经没有我的故事 提交于 2019-12-06 12:00:32
问题 I have a dataset that can come with 5 columns, columns 6, 7, 10, 20, or even 100. At least two are static, the remaining are dynamic (am making a scale according to a table exists in the database). How can I implement this in Reporting Services? How do I specify the field of tablix that the value is dynamic? The end result would be this: | TITLE | ENUNCIATION | GOOD | VERY GOOD | BAD | VERY BAD | ------------------------------------------------------------- | title 1 | question 1 | 5 | 3 | 1

Does RepeatWith parameter work in SSRS 2008?

痴心易碎 提交于 2019-12-06 11:53:49
Does anyone know if the RepeatWith parameter of a Line works in SSRS 2008? We have a report that has a header, rectangle, and footer. Inside the rectangle is the data table, table1. It is an invoice form that needs to repeat vertical lines not only at the edges of the rectangle, but also to separate the columns of the table, and the lines need to always go to the bottom of the page, so using the right and left borders of the text boxes in the tables won't work. We got this to work in SSRS 2005 by drawing vertical lines inside the rectangle to separate the columns of data, and setting the

SSRS Conditional Formatting

十年热恋 提交于 2019-12-06 11:31:52
I am working on SSRS Ranking report, where Rank 1 should have background of Green and last Rank should have background of Red. Example below: I tried using custom code but that's not working for me as below: SSRS Expression used as below: =Code.RankColour(me.value, 1, Fields!RankName.Value) And RankColor code as below: Public Function RankColourTotals(ByVal Value As Decimal, ByVal MinValue As Decimal, ByVal MaxValue As Decimal) As String Dim strColor As String Select Case Value Case MaxValue strColor = "Salmon" Case MinValue strColor = "LightGreen" Case Else strColor = "Gainsboro" End Select

rsExecutionNotFound error in SQL Server Reporting Services

别等时光非礼了梦想. 提交于 2019-12-06 11:00:29
问题 I have a SQL Server Reporting Services 2005 installation that has worked great for a few years now, but has been giving me occasional glitches recently. I'm using the default reporting services website instead of embedding reports into my application, which has proven a very efficient way to deploy the reports. The OS is Windows Server 2003 and the reports are being viewed on IE8 running XP. It's not a big deal. Refreshing the browser brings the report right up each time. I guess it might be

SSRS: Report label position dynamic

五迷三道 提交于 2019-12-06 10:50:45
I have a report which displays customer address in multiple labels. My customers use windowed envelopes for mailing. I need the address labels position to be configurable. Something like, I'll have a database table which stores the Top/Left position of each label per customer. Based on this table, I need to position the address labels on my report. I thought, it is doable by expressions, but Location property doesn't provides ability to set an expression and make the label's top and left dynamic. Anybody, any ideas, on how to achieve this? As you mentioned, you cannot set an expression for

How to span months and years in SSRS graph axis?

烂漫一生 提交于 2019-12-06 10:33:08
问题 I really like the spanning of Months and Years in the x-axis in the following SSRS graph: How do I do that!? 回答1: Split the dates into several columns in the Dataset: Add those columns as Category Groups of your bar chart: 来源: https://stackoverflow.com/questions/27025206/how-to-span-months-and-years-in-ssrs-graph-axis

Bold the particular text in SSRS

空扰寡人 提交于 2019-12-06 10:15:35
问题 I have one column in my stored proc which contains following data: abcs,defs,CA(5,6);wsdf,kdh,CA(7,8) Now I want only data in brackets to be bold and else everything regular, like so: abcs,defs,CA( 5,6 );wsdf,kdh,CA( 7,8 ) 回答1: Create a custom code function to bold the text: right-click on a non-design part of the report surface, choose Report Properties... and click the Code tab. Enter the following code: Function BoldText(Text As String) As String return Text.Replace("(", "(<b>").Replace(")

FIrst time writing ASP.NET MVC app- need to tie to SSRS and display reports

北战南征 提交于 2019-12-06 10:02:11
Hey everyone.. This is my first time writing an ASP.NET MVC web app, and it's going good. I have no problems there. What I don't have any experience in is SSRS though. Ultimately I want to be able to render reports on my ASP.NET MVC app. I got the report server installed and running, and it's visible within SQL Server Management Studio. I created a test report (.rdl) via Business Intelligence Development Studio, and published it to my report server. It's now there, I checked. My question is how do I tie that into my main application? Do I have to add a reference in my main application to be

Opening Remote RDL with .NET Report Viewer

三世轮回 提交于 2019-12-06 09:50:00
I store rdl's remotely in a sql server database in binary format. I would like to use the report viewer control to display the report. This seems like a simple concept but I keep finding conflicting tutorials which have several different approaches...none of which I can get to work. Am I right in thinking that all I need is the report viewer control to get this working? If so, how is it possible to open a remotely stored .rdl file? I also have a variable which has the rdl content stored in a string...not sure if this helps? So either I can use this string or pull the .rdl from the db... I am a