Hi,I wonder if this is possible in SSRS ... I use the 2012 version (Data Tools).I have a report that triggers a stored procedure. See below.Within this SP there are 2 insert statements getting data from 2 other SP's.When I make a dataset referring to the main SP below, SSRS does not show me any fields at all.Is this because it's a SP with insert statements and nested SP's?At the end of the SP I make a select so it should see all the fields.The parameters @month and @costcenter are multivalue params.I use a special function to convert the multivalues, selected in the report, into a string to pass it correctly to the query (comma separated).[code="sql"]USE [TestDB]GO/****** Object: StoredProcedure [dbo].[_Pink_SP_StandingsRegisterDataset] Script Date: 15-4-2014 13:31:30 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOALTER PROCEDURE [dbo].[_Pink_SP_StandingsRegisterDataset](@year INT,@month NVARCHAR(50),@costcenter NVARCHAR(500),@GLaccount NVARCHAR(9))ASBEGIN/* Remove existing content*/DELETE FROM _Pink_TB_StandingsRegister/* Add records part 1 */INSERT INTO _Pink_TB_StandingsRegisterEXEC _Pink_SP_StandingsRegister @year, @month, @costcenter, @GLaccount/* Add records part 2 */INSERT INTO _Pink_TB_StandingsRegister ( Type, Row, Year, Month, YearDatetable, MonthDatetable )EXEC _Pink_SP_StandingsRegisterDatetable @year/* Select all records */SELECT *FROM _Pink_TB_StandingsRegisterENDGO[/code]
↧
Report with stored proc running multiple stored procedures with insert statement
↧
Report Builder 3.0 Problem with filter using IN operator
HiWe have SSRS 2012 and using Report Builder 3.0 and am having problems using the IN operator in a filter.(assume that I am looking for matches to 1W or 2W)First, set the filter is very tricky, I am only able to make it work if a set an equation to "1W", "2W" and immediately save and leave the filter. Second, If I ever go back to the filter, even to just look at it, the report builder will add quote marks so the value now is ""1W"" ""2W"" and of course the filter does not work.Have others seen this and is there a work around?Thank youTom D
↧
↧
SSL Certificate for SSRS
Hi, I need some help on getting an SSL certificate for SQL Server Reporting Services. I've been trying to get it working but I find that the certificates that I import into the certificate store do not have a private key and therefor will not bind in Reporting Services. I have scoured the Internet in every which way and to my surprise, there seems to be no up to date directions for requesting and loading a certificate for an encrypted connection in the modern (post IIS) SSRS. I have been using the below process to create a csr which the security team uses to create a certificate.Is the below process missing a step? If so what, if not, how do I bring the certificate that is issued to me into the certificate store so that it includes a private key?I just can't seem to grap the process in any of the available documentation. Appreciate any help.1. Open the management console (click Start > Search programs and files > mmc.msc).2. Open your Local Computer certificates (click File > Add/Remove Snap-in... > Certificates > Computer account > Next > Local computer > Finish).3. Select Certificates (Local Computer) > Personal > Certificates.4. With the Certificates folder for the Local Computer highlighted, click Action > All Tasks > Advanced Operations > Create Custom Request. This will open the Certificate Enrollment wizard.5. In the Certificate Enrollment wizard:6. On the Select Enrollment Policy screen, under Custom Request, select Proceed without enrollment policy and click Next.7. On the Custom request screen, for template, choose "(No template) Legacy key" from the drop-down menu, and leave "Suppress default extensions" unchecked.8. For Request format, select PKCS#10.9. Click Next.10. On the Certificate Enrollment screen, click Details, then click Properties. This will open a Certificate Properties dialog box.11. On the General tab, enter a Friendly name and Description for your certificate.12. On the Subject tab13. Select Common Name from the Type menu, enter your fully qualified DNS name for the value, and click "Add >".14. Optionally, add Subject Alternative name values, if you need them.15. On the Extensions tab16. Expand "Key usage" and add "Digital signature" to the selected options, and verify that "Make these key usages critical" is checked.17. Expand "Extended Key Usage (application policies)" and add "Server Authentication" and "Client Authentication" to the selected options, and verify that "Make the Extended Key Usage critical" is checked.18. On the Private Key tab19. Expand Cryptographic Service provider and uncheck "Microsoft Strong Cryptographic Provider (Signature)". 20. Check box for "Microsoft RSA Schannel Cryptographic Provider"21. Expand Key Options and select "2048" from the Key size drop-down menu.22. PK use: Exchange23. If you will need to export the certificate to use on another host, select "Make private key exportable".24. Click OK.25. On the Certificate Enrollment screen, click Next.26. Enter a file name for your CSR (e.g. certname.req), click Enter27. Select "Base 64" as the File Format.28. Click Finish.
↧
Errors in SSRS logs
Hi,I am trying to run a report on using SSRS 2008 and II7 my report runs fine in my ssrs manager, when I try to run my application I am getting 403 forbidden on my application and below is what I see in my SSRS log( enable verbose logging to get more details)ANY HELP WOULD BE APPRECIATED. Warning (Tablix1.Hidden) : The Hidden expression for the tablix ‘Tablix1’ uses a numeric aggregate function on data that is not numeric. Numeric aggregate functions (Sum, Avg, StDev, Var, StDevP, and VarP) can only aggregate numeric data. [rsAggregateOfNonNumericData]chunks!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: ### ID=ad306e22-5edf-4b18-9a73-9b911f6487f5, Length=0, CompressedLength=0, TimeCompressing=0, TimeUncompressing=0, Ratio=0, Buffering=0, Permanent=Truechunks!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: ### ID=4dda249c-de3b-45ae-8d4d-35bd3309ca4c, Length=0, CompressedLength=0, TimeCompressing=0, TimeUncompressing=0, Ratio=0, Buffering=0, Permanent=Falsechunks!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: Committing shared chunk transaction for snapshot '4dda249c-de3b-45ae-8d4d-35bd3309ca4c', Permanent=False.library!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: Transaction commit.library!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: Transaction begin.library!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: Caching secondary streams...cache!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: Cache content:Key: ChunkSegmentCache:aa1d3137-40bb-e311-8abe-bf729ac39ed0 Cached item: Type: Microsoft.ReportingServices.Library.SegmentCacheEntry Expires: 12/31/9999 11:59:59 PM Estimated Size: 31 KBKey: ChunkSegmentCache:ab1d3137-40bb-e311-8abe-bf729ac39ed0 Cached item: Type: Microsoft.ReportingServices.Library.SegmentCacheEntry Expires: 12/31/9999 11:59:59 PM Estimated Size: 31 KBKey: ChunkSegmentCache:d1e35f30-b6c4-e311-8abe-bf729ac39ed0 Cached item: Type: Microsoft.ReportingServices.Library.SegmentCacheEntry Expires: 12/31/9999 11:59:59 PM Estimated Size: 0 KBKey: ChunkSegmentCache:ac1d3137-40bb-e311-8abe-bf729ac39ed0 Cached item: Type: Microsoft.ReportingServices.Library.SegmentCacheEntry Expires: 12/31/9999 11:59:59 PM Estimated Size: 3 KBKey: ChunkSegmentCache:a91d3137-40bb-e311-8abe-bf729ac39ed0 Cached item: Type: Microsoft.ReportingServices.Library.SegmentCacheEntry Expires: 12/31/9999 11:59:59 PM Estimated Size: 31 KBKey: ChunkSegmentCache:cce35f30-b6c4-e311-8abe-bf729ac39ed0 Cached item: Type: Microsoft.ReportingServices.Library.SegmentCacheEntry Expires: 12/31/9999 11:59:59 PM Estimated Size: 0 KBKey: ChunkSegmentCache:cde35f30-b6c4-e311-8abe-bf729ac39ed0 Cached item: Type: Microsoft.ReportingServices.Library.SegmentCacheEntry Expires: 12/31/9999 11:59:59 PM Estimated Size: 0 KBlibrary!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: Transaction commit.runningjobs!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: Thread pool settings: Available worker: 100, Max worker: 100, Available IO: 100, Max IO: 100runningjobs!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: Spawning new thread for a work item.runningjobs!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: ThreadJobContext.EndCancelableStaterunningjobs!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: ThreadJobContext.WaitForCancelException enteredrunningjobs!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: ThreadJobContext.WaitForCancelException finishedrunningjobs!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Executing user callbacksession!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Adding report with path 'MYREPORT Path' to session DBchunks!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: ### CreateChunk('GroupTree', Main) this=4dda249c-de3b-45ae-8d4d-35bd3309ca4c, #ReadChunks=0, #WriteChunks=0library!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Transaction begin.chunks!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Open|Create Segmented Chunk (4dda249c-de3b-45ae-8d4d-35bd3309ca4c, False, GroupTree, '0', Create)chunks!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Creating chunk (4dda249c-de3b-45ae-8d4d-35bd3309ca4c, False, GroupTree, '0'chunks!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: ### CreateChunk('Metadata', Main) this=4dda249c-de3b-45ae-8d4d-35bd3309ca4c, #ReadChunks=0, #WriteChunks=1chunks!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Open|Create Segmented Chunk (4dda249c-de3b-45ae-8d4d-35bd3309ca4c, False, Metadata, '0', Create)chunks!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Creating chunk (4dda249c-de3b-45ae-8d4d-35bd3309ca4c, False, Metadata, '0'runningjobs!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: RunningJobList.RemoveJob: 4qhhb445qnwt1j3djbpes255 was removedbufferedresponse!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: HttpResponseStream suppressed one and only flushbufferedresponse!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: Closed HttpResponseStreamwebserver!ReportServer_0-1!804!04/15/2014-10:50:58:: i INFO: Processed report. Report='MYREPORT Path', Stream=''library!ReportServer_0-1!804!04/15/2014-10:50:58:: v VERBOSE: Disposing StreamFactory:22050476-c6c3-4968-867a-9a63b866440brshost!rshost!804!04/15/2014-10:50:58:: v VERBOSE: HttpPipelineCallback::EndOfRequest(): continue pipeline=0x000000000027DB00.rshost!rshost!738!04/15/2014-10:50:58:: v VERBOSE: ThreadContinuePipeline: processing request on pipeline=0x000000000027DB00, state=2, IOError=0, node=0.rshost!rshost!66c!04/15/2014-10:50:58:: v VERBOSE: HttpPipeline::DisconnectCallback: releasing pipeline=0x000000000027DB00.rshost!rshost!ca4!04/15/2014-10:50:58:: v VERBOSE: ThreadContinuePipeline: processing request on pipeline=0x000000000027DB00, state=0, IOError=2250, node=0.rshost!rshost!ca4!04/15/2014-10:50:58:: v VERBOSE: State machine disconnected pipeline=0x000000000027DB00, state=4 ...rshost!rshost!ca4!04/15/2014-10:50:58:: v VERBOSE: HttpPipeline::DoStateDisconnected: releasing pipeline=0x000000000027DB00.rshost!rshost!ca4!04/15/2014-10:50:58:: v VERBOSE: HttpPipeline::ReleaseOnce: releasing pipeline=0x000000000027DB00.chunks!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Closing segmented chunk (4dda249c-de3b-45ae-8d4d-35bd3309ca4c, False, 'Metadata')processing!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: ScalabilityCache Processing|GroupTree Done. ExecutionId: vso32q55l0sz1a450py3my55 AuditedHeapSerialized: 0 KB. Serialization Time 0 s. AvgSpeed NaN KB/s. StreamSize 0 MB. FinalAuditedHeapSize 4 KB. LifetimeFreedHeapSize 0 KB.chunks!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Closing segmented chunk (4dda249c-de3b-45ae-8d4d-35bd3309ca4c, False, 'GroupTree')chunks!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: ### ID=4dda249c-de3b-45ae-8d4d-35bd3309ca4c, Length=0, CompressedLength=0, TimeCompressing=0, TimeUncompressing=0, Ratio=0, Buffering=0, Permanent=Falsechunks!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Committing shared chunk transaction for snapshot '4dda249c-de3b-45ae-8d4d-35bd3309ca4c', Permanent=False.library!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Transaction commit.session!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Finished serializing reportrshost!rshost!804!04/15/2014-10:50:58:: v VERBOSE: Destroying pipeline=0x000000000027DB00, callback=0x0000000000DCE520 ...session!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Saved report snapshot to session in a background thread. Key="myaccount";vso32q55l0sz1a450py3my55;MYREPORT path;<Parameters />library!ReportServer_0-1!73c!04/15/2014-10:50:58:: v VERBOSE: Transaction commit.library!DefaultDomain!73c!04/15/2014-10:52:26:: v VERBOSE: Transaction begin.library!DefaultDomain!73c!04/15/2014-10:52:27:: v VERBOSE: Transaction begin.library!DefaultDomain!73c!04/15/2014-10:52:27:: v VERBOSE: Transaction begin.library!DefaultDomain!73c!04/15/2014-10:52:27:: v VERBOSE: Transaction begin.library!DefaultDomain!73c!04/15/2014-10:52:27:: v VERBOSE: Transaction begin.library!DefaultDomain!73c!04/15/2014-10:52:27:: v VERBOSE: Transaction begin.
↧
SSRS Subscription Failure
Hi In the Report subscription, am getting the error as “Failure Writing file: An Error has occurred during report processing” . However the same subscription getting completed after 20 minutes. Can you please help me to fix why this intermediate error message being updated in the status when report actually running it in background ?Actually I have created data alerting on the failures, hence it sending out the fake alerts after getting the error message. Thanks in advance. Thanks Jey
↧
↧
SSRS Resolution Issue - Line Chart
I created a chart to layout some data from one of my tables. When rendering the chart, the font and vertical/horizontal axis's look fine. However, the lines are rendering at a very low resolution and because a few of them are close together, they blur together and it causes problems reading the data. Any way to increase line resolution and/or make the lines look more distinct?Edit: Low resolution meaning extremely aliased.
↧
ssrs text at last page of the report
In my report i am using one tablix and one text box. Text box always bottom of the last page, like signature. Here i am not using footer concept. Now i want to display signature at bottom of the last page. incase my table contain 5 records it should display first page bottom, in case of data going on multiple pages report should display last page of the report. How can i solve this?
↧
Install SSRS 2012 with SQL Server 2008r2
We have sql server 2008r2, and reporting services 2008r2. My question is simple. Can we upgrade reporting services to 2012 without having upgrading our instance of sql server. Just need to know compatibility.Thanks - K8
↧
Change Chart/Legend Colors
Hi guys,I really need your help on this as I'm doing a presentation soon.I have a chart which uses this expr. to color the chart:=IIF(Fields!OTIF___Request_Date.Value < 95, "DodgerBlue", "LawnGreen")This works great, but the chart legend below the chart shows just LawnGreen in the little colorsquare together with the legend text. Even when the chart is both DodgerBlue and lawnGreen (both above 95 and below 95). Is there anyway to manipulate the Chart legend by using an expr. or something and be able to show both colors in the little Colorsquare. It's a bit misleading only to show the LawnGreen.Hope it make sense..Thomas
↧
↧
SQL/SRSS Newbie Assistance Needed :)
Hi all:Ok, I'm somewhat new to SQL/SRSS and could really use some help in getting started on something I"m tasked with below. If anyone can chime in to point me to the right path, I'd be very thankful for. I am trying to create a report that summarizes the total count of transactions that each salesperson has processed per a given month.A transaction is defined when there is a $ value populated in the "Sold" column. Ie. if there is an amount in the row table for the salesperson, it means that a transaction was done.The report would be simple:Salesperson Number of TransactionsJohn 5Jane 8 Robert 9Rick 15 Mary 0Would someone be able to direct me to the steps required to generate the above report? Not sure what the query would be, so if someone could help me on that that'll be great. I'm thinking that after the dataset is completed, all I would need to do is bind it to the new report correct?Thanks!
↧
Windows File Share Delivery/ SSRS 2008 R2
Hello All,I was aware that a subscription could send a report to a file share but just got into the specifics. I assumed the SSRS service account would need permissions but I see there is a different model.In the subscription setup the end-user needs to enter in a user name and password. I don't particularly like this model. Clearly my users can't enter in their own username because their password expires.What's the best practice here? Do I create a AD user with no password expiration and then hand that account over to end users?
↧
SSRS Grouping
Hi, I have a requirement in SSRS as shown in the attachment. Please suggest me how can i achieve this. Attachment Name : 1. Data_set_from_SQL.png (Data set from SQL query)2. Expected_Result_from_SSRS (Expected output in SSRS 2005/2008)Thanks in advance.
↧
error logs/error information
I am a newbie to SSRS. I am running SSRS 2012 on a remote VM that points to a database (via DSN) on another remote server. I have recently deployed my first report to the server, but when I run that report, I see the two user-selectable parameters and no report. No matter what selections I make, the page stays blank. Obviously some kind of error. I don't have access to the server running SSRS to see the error logs. Is the error information also contained in the Reportserver database on the ssrs server? I can query from that. Any other places I should be looking for helpful error info?
↧
↧
Problem: Execute and Save SSRS Report through Console App
I think here is a problem, in path of report- // Path of the Report - XLS, PDF etc. string fileName = @"Dev\SalesSupport\TestWethose Invoiced Transaction.rdl"; // Name of the report - Please note this is not the RDL file. string _reportName = @"TestWethose Invoiced Transaction"; Please suggest me, from where to search for path of report in order to assign it here in fileName
↧
Report - SubReport
I have two reports that Point to the same Sub Report.On The Sub Report I have a text that says : Return to Main Page.But I don't know How to return to respective main report since the sub report is the same.Main Report FileName : Owner Main Report : ApplicationSubReport : Details.So, Under Details Report ,text says "Return to Main Page".What should I have in Actions so that it points to respective Main Report.P.S : Main Reports dont have any parameters.
↧
SQL Server 2008R2 Matrix Report
Hi,I am using Matrix in report.When calculating row total i do not want to include particular column in total if that column is populated in matrix.Please help me....
↧
Creating/Testing Subscriptions without a private mail server
I'm testing in SSRS 2012... I have seen posts showing how to use gmail as a mail server for reporting (I think Lowell posted it). Can I test subscriptions with that? (No, I'm not trying to build a spam bot!) I do have a copy of Win 2008 Server that I use for some development, but most of my work is on Win7. Do I need a Server OS to do this? (If I'm asking a dumb question, just send me to a link to read up!)Thanks!Pieter
↧
↧
troubleshooting a screwy install of SSRS 2012
I installed SQL 2012 and created a named instance, and no matter what, I can't seem to get SSRS to deploy reports properly. I can create them all day, but when I try to deploy, it fails.I have not set an execution account. Should I just create a dummy account with minimal permissions and assign that to the Reader role in SQL Server? If it matters, deployment fails even if I'm logged into the computer as local admin. What stupid thing am I missing, and how do I fix it?Thanks! If it's easier, send me to a website... Can I just reconfigure this easily?Thanks!Pieter
↧
Report STyle
I need to graphically display the following :Location Capacity FreeCapacityEurope 500 250Asia 400 50Africa 400 300I saw somewhere like a bar which was half shaded with another color.I tried to replicate with the above fields but Bar chart gets all messed up as all these are calculated fileds such as Location Capacity FreeCapacityEurope EUCapacity EUFreeAsia ACapacity AFreeAfrica AFCapacity AF_FreeHow can I resolve this?
↧
Report Server Front End
Hi Folks,I am working as a DBA and we have a project on BI for development of a cube and building ssrs reports on top of it.While we have succeeded to publish report on SSRS, we need to enable these reports to our partners over internet. Since we want to build custom authentication for all partners, we are looking to have a nice front end of the reporting server but we do not have any .Net developer to design the website for front end.My questions are:1) What options do I have to publish these reports over internet2) Is there any 3rd party website which can host our reports but then in that case how will the reports read the data from my servers which are not open for internet?Please guide me if you have done something similar.ThanksChandan Jha
↧