ssrs-2008

The request failed with HTTP status 401: Unauthorized IN SSRS

╄→尐↘猪︶ㄣ 提交于 2019-12-29 06:55:21
问题 My Application is in Asp.Net MVC3 coded in C# , i have a SSRS solution in SQL Server Business Intelligence Developement Studio in Visual Studio 2008 , I'm calling the SSRS report through my Asp.Net MVC3 application. My application was running fine a couple of days back but suddenly i'm getting an error as follows: My Error : The request failed with HTTP status 401: Unauthorized. My Attempts My SSRS reports are deployed on my local server . I have my credential properly set in the datasource

SSRS: How to display a hyperlink in sql services reporting

痞子三分冷 提交于 2019-12-28 12:28:41
问题 I'm using SSRS for 2008 R2 to display some data-generated reports. In my database table, I have a cell called Remarks. It usually contains links to software defects. The cell is nvarchar(max) and I've added links such as http://stackoverflow.com. However, when the report is displayed, the link is not clickable as expected. What do I need to do make the link clickable? Many thanks for any help. J. 回答1: Two approaches, the first assumes data is pre-formatted as a URL (e.g. https://www.google

SSRS Images in 3 by 3 format in a matrix

孤街浪徒 提交于 2019-12-26 08:56:05
问题 I have a stored procedure which returns Id, FileContent and description of Images used in a project. I have a requirement to display the images in 3 by 3 format . I know we can do it in a table either vertically or horizontally but how can i get it 3 by 3 like below. Image1 Image2 Image 3 Image4 Image5 Image 6 回答1: this is little bit tricky ... try to get output of SQL query like this Declare @Image AS Table(ImageName Varchar(50)) Declare @N AS INT Set @N=3 -- N X N Matrix Insert into @Image

SSRS stacked column chart legend is Wrong after adding lookset() inside the Action

守給你的承諾、 提交于 2019-12-25 16:59:10
问题 I have Stacked column chart which is working fine. now i added the drill down added parameter Student id i have to pass this id to the next report . this is my chart below you can see that after adding the lookupSet() , legend is wrong This is My code LookupSet( Fields!Year.Value , Fields!Year.Value,Fields!StudentId.Value,"DataSet1") 回答1: By using the Lookup Data Set we can achieve this 来源: https://stackoverflow.com/questions/29430920/ssrs-stacked-column-chart-legend-is-wrong-after-adding

Display the non selected parameter in SSRS

陌路散爱 提交于 2019-12-25 16:46:53
问题 In case of Multi-valued parameters,we usually use join function to display the selected values into a Text-box.But what if I wanted Show only the non selected parameters?IE If there are 10 values in the drop down list of a parameter and I selected the first 5 and wanted to display only the remaining 5 parameter instead of the first 5.What do i do? 回答1: I have created a multivalue parameter with the name Param which has had its labels and values set like so: Label Value ====== ===== Label1 1

Microsoft.Build.Task missing

你说的曾经没有我的故事 提交于 2019-12-25 12:37:10
问题 I am trying to use .Net to load reports into SSRS. When I looked up example code they used the Warning class which, after futher research, seems to be in the Microsoft.Build.Task namespace. My problemis that this library doesn't show up when I try to reference it and when I try to add references it doesn't Microsoft.Build doesn't show in the list of .Net references. What am I doing wrong? The compiler does not recognize the class in the following: Warning[] warnings = Null; 回答1: If your using

SSRS 2008 R2 Check if external image exists on report server

放肆的年华 提交于 2019-12-25 09:42:24
问题 I'm working on an SSRS 2008 R2 report and I'm displaying images dynamically. I would like to hide the image box and display an icon with text that reads "Image not found" if the image doesn't exist on our report server. I've tried a few things with expressions, but I can't get them to correctly return true or false, based on if the image exists or not. The expression I'm using to display the image is: ="/BusinessIntelligence/Drilldown Reports/" + Fields!item.Value + ".jpg" To test if I could

SSRS with custom paging

旧巷老猫 提交于 2019-12-25 09:05:01
问题 I am working on a SQL Server report which shows the data of size 300 K and therefore it is very slow most of the time is spent on the report processing. So I m thinking if I can do some program to get the data from the database per page. This way call from the db and report processing time will reduce. So in other words if I am showing 50 records per page and when I am on page one and click on page 2 or the next button, my report get the data from 51 to 100. When I click on the next button

Set expression for hidden ssrs

穿精又带淫゛_ 提交于 2019-12-25 09:02:15
问题 I want to display only first 10 rows and hide remaining rows in a column. what will be the expression for this (Set expression for: Hidden) in Tablix properties -> visibility -> show or hide based on expression. My dataset name is Top50CustomerSQL; My Column name is Supplier; Expression for this scenario please? SQL Code SELECT s.[CusNo] Supplier, RTRIM(CAST(s.[Customer] AS VARCHAR(50)) ) AS Name, s.[ConcessionNo] Concession, RTRIM(CAST(s.[ConcessionName] AS VARCHAR(50)) ) AS ConcessionName,

Use of 'median' function in calculated field in SSRS

若如初见. 提交于 2019-12-25 08:49:55
问题 According to this it looks like you can use an aggregate function in a calculated field, but if I try and use the median command, I get an error "the value expression for the field =Median( ...what I wrote below..) contains an error: BC30451 Name 'Median' is not declared. I have tried =Median(Fields!name_of_field_I_want_median_from.Value,"dsTheDatasetFieldIsIn") and =Median(Fields!name_of_field_I_want_median_from.Value) neither work N.B. Dataset is derived from MDX 回答1: maybe I didn't