Events in SSRS

Hi, 
Is it possible to load a dataset when the report loads and then drive individual controls from it? 
I have a really complex report which uses about 12 stored procedures to fill various tablix controls.  I would like to load a 
dataset into memory and then point each tablix control to it using various aggregate functions.  As far as I can see (using BIDS 2008 / SQL 2008R2) each control has to be pointed at it's own procedure. 
Thanks in advance. 

Hi DaveRstad,
In Reporting Services, dataset represents the result set from running a query command on a data source. There are three types for the Query option:
Select Text to write a query using the query language of the data source.
Select Table to return all the fields in a relational database table.
Select Stored Procedure to run a stored procedure by name.
After selecting Stored Procedure as the dataset query type, we should select or type only one stored procedure name based on the data source. Each dataset relates to only one stored procedure. And each tablix uses only one dataset. This is by design.
If we want to display multiple datasets data in one tablix, we can try to write a new stored procedure to create single dataset containing possible data we want to show. Or we can try to use
subreport or
Lookup function.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Sharepoint 2013 and SSRS how to send reports on date schedule after dw load completes

    Certainly with subscriptions we can generate a SSRS report on a schedule like say every Monday morning at 5 AM PT.   My problem is I want to run those reports but I want to make sure the Datawarehouse completed its load first.  Example if
    for some reason the DW breaks at 4 AM and does not finish the load the Reports should not run.  ONce the DW is finished then reports should run.  The 5 AM is really a place holder for 1st attempt to send reports.  It should keep trying until
    it can send them or Tuesday comes around.
    the only approach I can think of is via the DW with a job and stored procedure you could have it exec anything you want.  Is it possible to exec the reporting services report from sql?  Is there a way from within sharepoint?
    Ken Craig

    Hi Ken,
    According to your you want to fire the SQL Server Reporting Services after the Data Warehouse load data completed, right?
    By default, when a subscription is created, a corresponding SQL Server agent job is created meanwhile. The SQL Server agent job has the same schedule with the shared schedule or report-specific schedule that is using by the subscription.
    The corresponding SQL Server agent job calls stored procedure AddEvent to add an event in SSRS. Then the SSRS notification service fetches the event from SSRS database to deliver the subscription.
    That, we can configure regular shared schedule or report-specific schedule based on the irregular schedule. So in your scenario, you can configure the job steps to fire the subscription after the Data Warehouse load data completed. For the details, please
    refer to the links below.
    http://social.msdn.microsoft.com/Forums/en-US/32bc6d2d-5baa-4e27-9267-96a4bb90d5ec/forum-faq-how-to-configure-an-irregular-schedule-for-report-subscription?forum=sqlreportingservices
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • How to display an "All Day Event" date correctly in an integrated SSRS Report?

    I have two event items in a calendar list in SharePoint 2010. Both items have the same start time and end time. One of them, however, has the "All Day Event" checkbox checked. If I access them through a REST service, this is how the data is
    returned:
    <!-- item 1 -->
    <d:StartTime m:type="Edm.DateTime">2014-03-21T00:00:00</d:StartTime>
    <d:EndTime m:type="Edm.DateTime">2014-03-25T23:55:00</d:EndTime>
    <d:AllDayEvent m:type="Edm.Boolean">false</d:AllDayEvent>
    <!-- item 2 -->
    <d:StartTime m:type="Edm.DateTime">2014-03-21T00:00:00</d:StartTime>
    <d:EndTime m:type="Edm.DateTime">2014-03-25T23:59:00</d:EndTime>
    <d:AllDayEvent m:type="Edm.Boolean">true</d:AllDayEvent>
    I have a report in the same SharePoint 2010 site that uses SSRS in integrated mode. The data source is the calendar list mentioned above.  The date fields are not formatted, just displayed as them come from the list/database.
    My locale is set to en-US. When I run the report, the start date for item 1 is displayed as "3/21/2014" ('all day' set to false) but the start date for item 2 is displayed as "3/20/2014" which is incorrect ('all day' set to true).
    I did some research online and found out that SharePoint stores all date fields as UTC except for 'All Day Events', which are stored in local time (our servers are in Central Time, but I'm running the report fom Pacific Time, in the US).
    I coudn't find a solution to display the date correctly in the integrated SSRS report. Is there a way, maybe some straightforward formatting, to show All Day Event dates correctly? I tried adding hours but this is inconsistent with daylight saving hour changes.
    I would appreciate any help.
    C#, Sharepoint

    Hi SharpBud,
    The date for all day event stored in SQL in GMT time, the start time for an all day event returns the start time in GMT time, which is not the current time most likely.
    This is a confirmed issue, as a workaround, I would suggest you to use a calculate column for the event for the column, using the following format:
    IF(TEXT(([End Time]-[Start Time])-TRUNC(([End Time]-[Start Time]),0),"0.000000000")="0.999305556",IF([Start Time]=ROUND([Start Time],0),[Start Time],DATE(YEAR([Start Time]),MONTH([Start
    Time]),DAY([Start Time])+1)),[Start Time])
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Catch datetime exception and custom error message in SSRS

    I currently working on create report by using SSRS. I have 2 parameters: [Start date] and [End date] to filter data from database and show it on report. I want to validate 2 datetime parameter as describe above. Please tell me a solution to do this.
    For example:
    When user type the text like: 4/15/2014mmm => System validation thrown a message: [The From Date not correct type]
    But in my case, I want to receive a custom error message by myself.(Look like: [Date Invalid!])

    Hi Brain,
    According to your description, you have a report with two parameters for user to input. Now you want to validate these two parameters and display custom error message when the date is invalid. Right?
    In Reporting Service, it doesn’t provide any interference for us to modify the system error message (the text in grey color). That means we can’t modify the system message when error occurs. However we can create a textbox in this report, use custom code
    and expression to display the custom error message. But this all based on the report is successfully running. So if error occurs during report processing, all the custom code and expression will not work. In this scenario, we find a workaround for you. We
    use custom code to judge if the date is valid, if the users type an invalid date, we return a default value to make sure this report can successfully run. Then we use expression to control the visibility of tablix in this report and create a textbox to show
    the custom error message. Your case has been tested in our local environment. Here are steps and screenshots for your reference:
    Go to Report Properties. Put the code below into custom code:
    Public Shared a As Integer=0
    Public Shared Function IsDate(d1 As String,d2 As String) as Integer
            Try
               FormatDateTime(d1)
               FormatDateTime(d2)
            Catch ex As Exception
                       a=1
            End Try
    return a
    End Function
    Create two parameters. One is StartDate, the other is EndDate. Set the data type of these two parameters Text.
    Create a filter for StartDate, put the expression below into Value:
    =IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,CDate(IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,Parameters!StartDate.Value,"1/1/2012")),CDate("1/1/2012"))
    Create a filter for EndDate, put the expression below into Value:
    =IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,CDate(IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,Parameters!EndDate.Value,"1/1/2013")),CDate("1/1/2013"))
    Ps: In step3 and step4, the date(“1/1/2012”, “1/1/2013”) in the expression are the default we set to make sure the report can successfully process. You can set any date existing in your dataset.
    Use the expression below to set the visibility of the tablix:
    =IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,false,true)
    Create a textbox, put the expression below into it:
    =IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,"","Date invalid")
    Save and preview. It looks like below:
    Reference:
    SSRS Calendar and Date Restriction
    Errors and Events Reference (Reporting Services)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • Kerberos Authentication between Sharepoint 2013 Foundation - SSRS 2012 - Oracle 11g failing with ORA-12638: Credential retrieval failed

    I have set up SharePoint 2013 Foundation, SharePoint Reporting Services and SQL Server 2012 in a single server. I then created a Data Connection to Oracle 11g. Upon testing the connection, it throws the error “ORA-12638: Credential retrieval failed”.
    Given below are the steps of installation and configuration.
    Installation till basic authentication:
    The installation has been done in a
    single server.
    Installed SQL Server 2012 (Developer version).
    Selected only the following features:
    Database Engine Services
    Analysis Services
    Reporting Services – SharePoint
    Reporting Services Add-in for SharePoint Products
    Management Tools – Basic
    - Management Tools - Complete
      2. Installed SQL Server 2012 SP1.
      3. Installed SQL Server 2012 SP2.
      4. Installed SharePoint Foundation 2013.
      5. Created web application (without Kerberos; we did not even create the SPNs).
          The application pool has been configured to use Reporting Services account since it is a single server installation. This account has been registered as a managed
    account.
      6. Created Site Collection.
      7. Verified that Reporting Services is not installed.
      8. Installed SharePoint Reporting Services from SharePoint 2013 Management Shell.
      9. Verified that Reporting Services is installed.
     10. Created a new SQL Server Reporting Services Service Application and associated the Web Application to the new SQL server Reporting Services Service Application.
      11. Verified that SQL Server Reporting Services Service Application and its proxy have started. Reset IIS.
      12. Created a Site.
      13. Created a Data Connection library with “Report Data Source” content type.
      14. Created a Report Model library with “Report Builder Model” content type.
      15. Created a Report library with “Report Builder Report” content type.
      16. Uploaded an SMDL to the Report Model library.
      17. Added the top level site to Local Intranet instead of as a Trusted Site in the browser settings.
      18. Able to create and save a report using Report Builder.
    Hence, basic authentication is working and SSRS is able to connect to Oracle database.
    Next we have to configure Kerberos settings between SharePoint and SQL Server.
    Implementation of Kerberos authentication
    In the Report Server machine, opened the file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\rsreportserver.config  and added the Authentication Types of RSWindowsNegotiate
    and RSWindowsKerberos.
     2.  Set up the following SPNs.
                   a) SQL Server Database Engine service (sqlDbSrv2):
                    setspn -S MSSQLSvc/CER1110:1433 CERDEMO\sqlDbSrv2
                    setspn -S MSSQLSvc/CER1110.cer.demo.com:1433 CERDEMO\sqlDbSrv2
                 In the Delegation tab of the account, selected "Trust this user for delegation to any service (Kerberos only)".
    b) Account: SharePoint Setup Admin account (spAdmin2)
         setspn -S HTTP/CER1110:9999 CERDEMO\spAdmin2
                    setspn -S HTTP/CER1110.cer.demo.com:9999 CERDEMO\spAdmin2
                    In the Delegation tab of the account, selected "Trust this user for delegation to any  service
    (Kerberos only)".
    c) Account: SQL Server Reporting Service account (sqlRepSrv2)
                       setspn -S HTTP/CER1110 CERDEMO\sqlRepSrv2
                       setspn -S HTTP/CER1110.cer.demo.com CERDEMO\sqlRepSrv2
                       In the Delegation tab of the account, selected "Trust this user for delegation to any service
    (Kerberos only)".
      3. Configure the Web Application to use “Negotiate (Kerberos)”.
      4. Logged in as SharePoint Administrator to the SharePoint server and opened the top level site in the IE browser.
         The Event Viewer logged the login process for the SharePoint Administration account as
    Negotiate and not Kerberos.
      5. Implemented Kerberos for Oracle database and client.
         Able to connect to the Oracle database via Kerberos authentication using SQL Plus.
      6. Turn on Windows Firewall.
      7. While testing the site's data connection using Kerberos settings, got the error
    “Can not convert claims identity to windows token. This may be due to user not logging in using windows credentials.”
          Note: The Data Connection for basic authentication still worked.
      8. Created a Claims to Windows Token Service account (spC2WTS2).
      9. Started the Claims to Windows Token Service.
     10. Registered the Claims to Windows Token Service account as a Managed Account.
     11. Changed the Claims To Windows Token Service to use the above managed account.
     12. Verified that the Claims to Windows Token Service account (spC2WTS2) is automatically added to the WSS_WPG local group on the SharePoint box.
          Note: The Reporting Services service account is also a part of the WSS_WPG local group.
     13. Added the Claims to Windows Token Service account (spC2WTS2) to the Local Admin Group on the machine having the SharePoint App Server.
     14. In the SharePoint box, added the Claims to Windows Token Service account (spC2WTS2) in the Act as part of the operating system policy right.
     15. The Claims to Windows Token Service account (spC2WTS2) has the WSS_WPG group configured.
          When the C2WTS service was configured to use the managed account Claims to Windows Token Service account (spC2WTS2) earlier, the spC2WTS2 account was automatically
    added to the WSS_WPG local group on the SharePoint box. The WSS_WPG group in turn is configured in c2wtshost.exe.config file.
     16. Verified that the Reporting Services account is a managed account and part of the WSS_WPG group.
     17. Earlier Service Application Pool - SQL Server Reporting Services App Pool service was associated with the SharePoint Admin account.
          Changed this to associate the Reporting Service account with the Service Application Pool - SQL Server Reporting Services App Pool service.
     18. Changed the delegation of the Reporting Service account to constrained delegation with Protocol Transitioning. This is because we are transitioning from one authentication scheme (Claims) to another (Windows Token).
          For this, the delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use
    any authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
          Note: The Reporting Service account already had an HTTP SPN.
     19. Next, the goal was to make the Claims To Windows Token Service account match the Reporting Service account.
           For this, we created a fake SPN for the Claims To Windows Token Service account since the delegation tab was missing.
           The delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use any
    authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
     20. Restarted the SharePoint server.
     21. Tested the data connection with the Kerberos settings again.
           Got the error
    “ORA-12638: Credential retrieval failed”.
    Can anyone tell me what is wrong with this setup?

    http://www.freeoraclehelp.com/2011/10/kerberos-authentication-for-oracle.html
    Problem4: ORA-12638: Credential retrieval failed
    Solution:  Make sure that SQLNET.KERBEROS5_CC_NAME is set in sqlnet.ora and okinit has been run before attempting to connect to the database.
    Do check 
    http://webcache.googleusercontent.com/search?q=cache:5a2Pf3FH7vkJ:externaltable.blogspot.com/2012/06/kerberos-authentication-and-proxy-users.html+&cd=5&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/

  • Open a PDF File from a SSRS Report

    I have a requirement to include a link of some sort on SSRS reports that opens a PDF file.  If this were being implemented in an Access report, a click event using the Application.FollowHyperlink method will do the trick.  Is there an analogous
    method to accomplish this on a SSRS report, please?

    Thanks to Bipin.P !  Although I do not yet have the product installed with which to work, I found the following in the RDL specs.  So, if SSRS functionality is identical to that of an IsHyperlink textbox, our requirement will be satisfied
    easily. 
    Thanks again to all!
    From the SQL Server Reporting Services RDL (Report Definition Language) Specification document, page 41:
    Action
    The Action element defines a hyperlink, bookmark link or drillthrough action associated with a ReportItem.
    Name
    Type
    Description
    Hyperlink
    Expression (URL)
    An expression that evaluates to the URL of the hyperlink (18)
    (18) The Access IsHyperlink property of Textboxes will be supported via this more general mechanism. The Hyperlink property of the Textbox can be set to the same expression as
    the Value property of the Textbox.
    Implemented on an Access Report on 05/06/2010:
    Set the IsHyperlink property of a Textbox to Yes              
    Set the Value property of the Textbox to =”Open PDF File#C:\UPDATES\HelpFiles\UIU Boot Menu.pdf”

  • Ssrs sharepoint 2013 error: "A delivery error has occurred ...not a sharepoint document library..."

    Greetings SSRS/SharePoint experts,
    SharePoint 2013 with SSRS - Creating a subscription to a report that is in SharePoint
    I'm trying to create a subscription to publish a report to a sharepoint document library.
    I've configured all the settings and on clicking OK get the following error:
    "A delivery error has occurred. ---> Microsoft.ReportingSerives.Diagnostics.Utilities.DeliveryErrorException: A delivery error has occurred. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidExtensionParameter: One of the extension
    parameters is not valid for the following reason: The delivery path is either not a SharePoint Document Library Folder or does not exist in the Share Point farm."
    SQL Server Developer Edition 2012 SP1
    SharePoint 2013 Standard
    Just wondering if anyone has a solution.
    I've tried changing the proxy settings as per this post
    http://social.technet.microsoft.com/Forums/en-US/19817dc7-6725-40d8-befa-1b94099a71bd/sql-server-2012-reporting-services-in-sharepoint-2013-integrated-mode-dilivery-extension
    Workaround is to not use a sharepoint document library but write the report to a windows file share (this works but is not optimal).
    Hoping someone at Microsoft or an expert will come back with something.
    Kind regards
    Gio

    Hi,
    Can you check the SharePoint ULS log located at : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS, and look at the log there when the error occurs?
    You can also check the Application Event Log on the SQL Server to see if there are any additional errors.
    Tracy Cai
    TechNet Community Support

  • SSRS Subscription Problem

    Hi,
    I have scheduled some report in SSRS ( SQL Server 2008 R2) , reports are generated at midnight and saved in a shared folder. It works fine generally, but  On some days it fails,  Job history shows success, but, files are not saved in shared folder.
    What can be possible reason . Kindly help.
    Thanking you in advance.
    Regards,
    Ram

    Hi Ramprosad,
    Based on the current description, I suggest you checking Event table in ReportServer database. If the Event table has no null values, it indicates the subscription data cannot delivery successfully. In this case, please manually restart Agent Job and Reporting
    Services. If it’s not the case, please post the log file to the forum for further analysis.
    Hope this helps.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • SSRS integrated mode in SharePoint 2013

    SSRS integrated mode was working now when i click on SSRS service application it gives internal server error 503. In ULS log i see
    System.Net.WebException: The remote server returned an error: (503) Server Unavailable.   
     at System.Net.HttpWebRequest.GetResponse()    
     at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
    How to fix it? I recreted Service application and started and stopped service too but nothing seems to be working. How to re-install it completely by removing all the services from the Server?
    Also how to switch mode from integrated to native since our end users might decide to go to native if integrated does not meet their business need. I do not see any article to switch from integrated to native mode.
    It is really frustrating to keep fighting with this issue.
    Any help will be appreciated.
    Thanks. 
    Adit

    Make sure the Application Pool driving the SSRS SA is online. Check the System Event Log and Application Event Log on the SSRS server.
    You cannot move between Native and Integrated any longer. You need to just re-deploy SSRS in the native config with a new SSRS database.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SSRS -Could not open Report Manager

    SSRS 2012 , Today Morning when i try to browse report manager for upload some reports it suddenly shows like this
    Could not find file 'C:\Users\ReportServer\AppData\Local\Temp\ryninnec.dll'.
    Please help me to solve the problem ,but i can browse     http://serverip/Reportserver , I could not browse http://serverip/Reports 
    Thanks & Regards Manoj

    1) try open run => rsconfigtool.exe which report manager 
    2) take backup of report server and report-temp database
    3) take backup of encrtion key
    4) then try to check client and web url.
    5) Restart report services and check and confirm.
     try to send event log and report server log.

  • SSRS TechNet Guru News: October Winners Announced

    All the votes are in! 
    And below are the results for the TechNet Guru Awards, October 2014 !!!!
    For a full list of winners,
    see the full blog post, as runners up had to be removed from this post to fit the forum max length restrictions.
     BizTalk Technical Guru - October 2014  
    Agustín Mántaras
    Visual Basic script to deal with BizTalk Suspended Messages
    Mandi Ohlinger: "A quick and easy way to handle suspended messages. I'm a fan!"
    Ed Price: "Great article! Thanks for including an MSDN Gallery link, a See Also section that links to the Wiki portal, and some great example snippets!"
    Sandro Pereira: "Nice script, in my opinion it will be best to write this in PowerShell script. Well written, well formatted (some minor improvements can be made)"
    Johns-305 [boatseller]
    BizTalk: EDI Features Not Just For HIPAA
    Mandi Ohlinger: "A great walkthrough including the screen shots. Nice addition to the Wiki. "
    Ed Price: "Good use of images and color in the code snippets!"
    Sandro Pereira: "Nice start be this article should be explained better. Article format can be improved."
    Steef-Jan Wiggers
    Securing BizTalk endpoints leveraging Sentinet API Management Part 3
    Sandro Pereira: "Another excellent article in this series on Sentinet API Management. Well written, well formatted with nice pictures, great article and I love the topic."
    Ed Price: "Fantastic depth on this article!" 
     Forefront Identity Manager Technical Guru - October 2014  
    Wim Beck
    Event Driven Scheduling of Forefront Identity Manager (FIM) using a Windows Service
    Ed Price: "Fantastic job on formatting, the code, and all the explanations! The TOC and References are a nice touch!"
    PG: "Nice innovative solution, that is a nice add-on to existing solutions. " 
     Microsoft Azure Technical Guru - October 2014  
    Chervine
    Creating and Querying Microsoft Azure DocumentDB
    JH: "DocumentDB is one of my favorite new services on Azure. It's cool to see that someone seems to be excited as I am. Hope that this article is just the beginning of a whole series about Azure DocumentDB."
    Ed Price: "Great use of images and code snippets. Good conclusion! Great topic!"
    Chilbeto
    Publishing Multiple Azure Environments
    TN: "Great "
    JH: "This topic is normally forgotten when talking about Cloud development. I had a hard time to find an appropriate mechanism myself. This article provides one of the better ways how you can deploy multiple environments to Azure."
    Ed Price: "Great overview article. Good diagram at the top! Could benefit from a TOC and References. Good job on the conclusion!"
    saramgsilva
    Microsoft's Windows AppStudio: Add Support For Push Notification
    Ed Price: "Great introduction and incredibly thorough. Great job!"
    JH: "A new article about AppStudio focusing on push notifications. Push notifications in my opinion, when done right, makes an app alive. Would love to see a complete example with all features mentioned in the related articles published
    on GitHub." 
     Microsoft Visio Technical Guru - October 2014  
    Mr X
    Unattended installation of Visio 2013
    Ed Price: "Great job, Mr X! Good use of images!"
    AH: "It gives good instructions with the help of the pictures but its still missing detailed information if some user needs it. Need to provide a wiki/msdn references that are available something like http://technet.microsoft.com/en-us/library/cc179097.aspx.
    Overall decent article"
     Miscellaneous Technical Guru - October 2014  
    Brian Nadjiwon
    How to Create and Use Classes in PowerShell
    Richard Mueller: "Very interesting concepts. It would help to name the objects something like "Jim" rather than "Person", for example. There should be a See Also section, and more links to references."
    Ed Price: "Great topic and explanations of the classes!"
    Andy ONeill
    Visual Studio: Snippetty Tip
    Richard Mueller: "Great idea with some good advise."
    Ed Price: "Great explanations of the code snippets! Fun topic! As is mentioned in the comments and in the article, many people don't know this is possible!"
    saramgsilva
    How to create a Virtual Machine for run Windows 10 Technical Preview
    Ed Price: "Fantastic topic! Good use of images!"
    Richard Mueller: "Good images and a good step by step explanation. Needs links to references and other Wiki articles (See Also). We should try not to use first person."
     SharePoint 2010 / 2013 Technical Guru - October 2014  
    Geetanjali Arora
    SharePoint Online : An Introduction to Office Delve
    TN: "Great wrap-up about Delve"
    Ed Price: "Amazing depth and a great overview to a new topic! Great job on the images and details!"
    GO: "woohooo; a DELVE article. Great work."
    Margriet Bruggeman: "A new topic explained well, I was actually looking for this info!"
    Jinchun Chen: "Great."
    Steven Andrews
    Building a list specific search with JavaScript
    TN: "Great tip for mid-dev"
    Ed Price: "Great job on the descriptions, formatting, images, and See Also section! Check out the great comment from Dan at the bottom of the article!"
    GO: "Nice work Steven. It's definitely a great article.!"
    Margriet Bruggeman: "Great! easy to use solution for a request that is made often"
    Jinchun Chen: "Nice work"
    Dan Christian
    No-code solution to lookup previous item in a list
    Ed Price: "Effective images and helpful video and See Also help round out this great article!"
    GO: "Thanks Dan and as USUAL an usefull article."
    Jinchun Chen: "Nice. If InfoPath Form is accepted, we can use InfoPath Form to achive the goal as well."
    Margriet Bruggeman: "I can tell that effort is taken to explain the idea well"
     Small Basic Technical Guru - October 2014  
    Nonki Takahashi
    Small Basic: Rotation Centers for Shapes of Triangle and Line
    RZ: "Excellent article. This is a must read if you want to make an object move. You need to understand the coordinates and the rotation center."
    Ed Price: "Great use of images!"
    Nonki Takahashi
    Small Basic Known Issue: 26992 -
    GraphicsWindow.GetPixel(X, Y) Doesn’t Work Properly If X Or Y Has after the Decimal Point in Remote
    Ed Price: "Good recommended workaround!"
    RZ: "Yeah, another bug in Small Basic that might get you and need to be fixed :)"
    Nonki Takahashi
    Small Basic: International Resources
    Ed Price: "Oh, yeah. This one is so amazing! Thank you for making this and organizing the resources so well!"
     SQL BI and Power BI Technical Guru - October 2014  
    Visakh16
    Random SSRS Musings 1 : Rowset Concatenation Using Native SSRS Expressions
    MR: "Interesting example of LookupSet function usage"
    RB: "merging columns on a single line with an interesting solution"
    Jinchun Chen: "Good workaround we are generally using."
    Ed Price: "Great descriptions and use of images!"
    Jan D'Hondt
    Dates in Excel files rendered from reports are displayed as plain numbers
    Ed Price: "Great job laying out the sections. The images help convey a lot!"
    MR: "Very short tip that could be useful because of different behavior on iPad and Windows"
    RB: "interesting work-around."
    Anushka Weerakkodyge
    Integrating Power View with SharePoint Server 2010/2013 - Multidimensional Mode
    RB: "nice walkthrough"
    Ed Price: "Great depth in the procedure steps! It's similar to another article (see comment), but it's still a good addition. Good use of images!"
    MR: "This article explains how to install Power View on SharePoint but do not explain that Reporting Services is the tool required for Power View to work - the initial setup is required only whether SSRS has not been installed before.
    Otherwise, it has to be upgraded and then the shortcut can work."
     SQL Server General and Database Engine Technical Guru - October 2014  
    Shanky
    In depth Look at What can Cause Index to be Still Fragmented After Rebuild
    AM: "Well covered."
    Ed Price: "Good job on the explanations, Conclusion, and See Also section!"
    Ronen Ariely
    Representing list of values using a single value
    Ed Price: "Great breakdown of sections! Good formatting on the sections and code snippets! Great interactions in the comments!"
    AM: " Interesting options and walk through."
    Visakh16
    Generate Scripts for Stored Procedures Without Dynamic SQL in SSMS
    AM: "Nice tip for better use of SSMS."
    Ed Price: "Great breakdown of the problem and solution. As Saeid wrote in the comments, "Clear article which shows handy solution!" Good job!"
     System Center Technical Guru - October 2014  
    Alan do Nascimento Carlos
    ALM and IT Operations - Management 360 with System Center Operations Manager
    in 06 Steps
    Ed Price: "Lots of images. Great job breaking up the steps! Could benefit from a TOC and References. Great article!"
    GO: "Thanks for the only article. great btw. :-)"
     Transact-SQL Technical Guru - October 2014  
    Visakh16
    Behavioral Difference of IIf Function in T-SQL Compared To SSRS
    Richard Mueller: "Nicely done with code examples. The "See Also" section should only link to Wiki articles."
    GO: "Wonderfull article thank you!"
    Jinchun Chen: "Interesting comparison "
    Ed Price: "Good topic. Very clean and clear. Great article!"
    JS: "Good writeup, though I would bring the comparison with the table to the top and reference the samples from there."
    Ronen Ariely
    INSTEAD OF Triggers
    Ed Price: "Good depth here. Great explanations of the code! Great job interacting in the comments and improving the article!"
    JS: "Use object qualifiers (schema name to make sure that the right objects will be picked, e.g. dbo.) Outline ab bot more the things what not to do in production! Be aware that although people read this, they tend to use it anyway. If
    triggers are enabled, they are executed once for each batch They are executed each statement not batch, miswording here."
    Richard Mueller: "Good article. The "See Also" should only include Wiki articles. Some of the "Resources" could be moved to "See Also". Grammar needs work."
    GO: "Thanks" 
    Praveen Rayan D'sa
    Find the Database where user defined object located and where it is being referred.
    GO: "This article deserves absolutely a medal THANKS!"
    Jinchun Chen: ""
    Richard Mueller: "Good topic. Grammar needs work. "Caution" states undocumented stored procedure is safe for production, but later states it is not."
    Ed Price: "Great article. We should include the technology in the title. Good descriptions, and great References!"
    JS: "Although the outlined solution is interesting and shows the public the usage of the "new" system views finding the right dependencies, it is not recommended to describe the usage of undocumented features such as sp_msforeachdb
    as there are alternatives, especially in this scenario. You could generate a query using the sys.databases view and let it print out the database name along with the use statement. In addition to this and as the statement has to be run with a high privileged
    account as schema information is secured as well, it should be made safe to SQL injection. In many case in the statements there is just a concatentation of values used. You can easily inject code in here, Also make sure that names / object identifiers are
    quoted with [] in order to allow also special characters like spaces in the names"
     Visual Basic Technical Guru - October 2014  
    .paul.
    Image balloonTips
    Richard Mueller: "Lots of code. Great idea. The "See Also" section should only include links to Wiki articles."
    Ed Price: "Great solution. Good explanations!" 
    .paul.
    Image Arrow Pointers
    Richard Mueller: "Interesting idea. Need more links. Don't use first person." 
    Ed Price: "Creative solution! It would be good to break up the code more, to explain it. Great article!"
    Paul Ishak
    Visual Basic Graphics Frame Class (Easily Converted to C#)
    Ed Price: "Good solution! Could benefit from more explanations of what the code is doing."
    Richard Mueller: "Don't use first person. Could use more description, explanation, and links."
     Visual C# Technical Guru - October 2014  
    Chervine
    Using XML Serialization with C# and SQL Server
    Ed Price: "It goes on for quite a while! Great job breaking out all the code snippets and explaining them well! Could benefit from a References or See Also section. Great TOC!"
    Søren Granfeldt: "In these days of generic data, this serves as a good example of storing unstructured data"
    Margriet Bruggeman: "Through discussion of the topic"
    DB: "Interesting"
    Magnus (MM8)
    C#: Generic Type Parameters And Dynamic Types
    Søren Granfeldt: "Nice example of diving into generic code and extensibility"
    DB: "Good walkthrough of generics and reflection"
    Ed Price: "Important topic! Great descriptions."
    Margriet Bruggeman: "Good, I like the way the article covers various sides of the problem"
    saramgsilva
    File exporter for IEnumerable of T
    Ed Price: "Another great article from Sara! Great job on the TOC and code snippets!"
    Søren Granfeldt: "Great idea; could use a little more generic approach on the formatting of values"
    Margriet Bruggeman: "Nice example of applying generics" 
     Wiki and Portals Technical Guru - October 2014  
    Durval Ramos
    Summit: Principles of International TNWiki Summit
    Richard Mueller: "A great writeup and introduction to this fantastic idea. Well done."
    Ed Price: "Great depth and planning for this event!"
    GO: "This is one of the best Portals that I've ever seen! Thanks"
     Windows Phone and Windows Store Apps Technical Guru - October 2014  
    saramgsilva
    How to Integrate Cortana in the Menu App
    JH: "I got three words for you: I love Cortana! This article shows nicely how to integrate Cortana into your own app. Would love to see more."
    Ed Price: "That's what I'm talking about! Way to go for a "What's Next" topic and nail it! I expect this article to gain a lot of interest. Fantastic article!"
    Carmelo La Monica
    The class GeocodeQuery in Windows Phone 8.
    JH: "Lots of code examples about a feature some apps should be use more. Geocoding becomes more and more important, so this article fits perfectly into this."
    Ed Price: "This is an important class with a lot of possibilities. Great execution on this article! Could benefit from a References or Additional Resources section. Good job wrapping it up with the conclusion."
    saramgsilva
    Export To CSV for Windows Store apps
    JH: "Most people laugh when they hear about CSV export of data. A database would be a better place for the data of an app. In my opinion this is not always true (because CSV is small and can be used in different ways),
    so most apps should have the capability to export data into the CSV file format. This article shows how this can be done."
    Ed Price: "Another very important article. I love the Source link to the MSDN Gallery. Great job!"
     Windows Presentation Foundation (WPF) Technical Guru - October 2014  
    Andy ONeill
    WPF: Entity Framework MVVM Walk Through 1
    Ed Price: "Very well formatted, clear sections, and lots of depth and clear explanations! The TOC, code snippets, Summary, and Further Reading links all help round out this great article!"
    KJ: "awesome" 
    saramgsilva
    How to binding a ResourceDictionary to a Lisbox in apps based in XAML
    Ed Price: "Incredibly clear and fantastic topic! The TOC and Source link to the Gallery item help provide more value!"
    GO: "She did it again. Great article." 
    Shweta Lodha
    PopUps with Interactivity [Prism 5.0]
    KJ: "handy"
    Ed Price: "Good clarity and use of code snippets and images. Could benefit from a TOC and References/See Also. Great job!"
    GO: "Layout could be better, but still valualble article."
     Windows Server Technical Guru - October 2014  
    Richard Mueller
    Active Directory: Generalized-Time Attributes
    Mark Parris: "Very detailed article providing very good information."
    GO: "Top 1 AD article Thanks Richard."
    JM: "This is an excellent article, thanks for your contribution."
    Philippe Levesque: "Good article ! I really liked the note about the whenChanged"
    Darshana Jayathilake
    Some useful features with Windows Group policies
    JM: "This is an excellent article, but I recommend making the title more accurate by renaming it something like "How to configure Applocker using Group Policy" "
    GO: "I like the article; so great written"
    Mark Parris: "A good insight on some GPO settings and their capability."
    Philippe Levesque: "Good visual howto !"
    Mr X
    How to manage Windows Taskbar Items pinning using Group Policy
    Philippe Levesque: "Good subject well explained, already seen users that ask for that in the forum as it's new."
    JM: "This is a good article that would be much more useful if you specify the Windows versions to which the article applies."
    GO: "Merci, Mr X"
    Mark Parris: "Very useful, especially if you need to utilise this capability post deployment."
    -------------------------------- 8< --------------------------------
    A huge thank you to EVERYONE who contributed an article to October's competition.
    Hopefully we will see you ALL again in
    November 2014's listings?
    If you haven't contributed an article for this month, and you think you can create a more useful, clever and better presented wiki article than the winners above, here's
    your chance! :D
    Best regards,
    Pete Laker
    More about the TechNet Guru Awards:
    TechNet Guru Competitions
    #PEJL
    Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to
    TechNet Wiki, for future generations to benefit from! You'll never get archived again, and
    you could win weekly awards!
    Have you got what it takes o become this month's
    TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!

    Congratulations to Visakh, Jan, and Anushka!
     SQL BI and Power BI Technical Guru - October 2014  
    Visakh16
    Random SSRS Musings 1 : Rowset Concatenation Using Native SSRS Expressions
    MR: "Interesting example of LookupSet function usage"
    RB: "merging columns on a single line with an interesting solution"
    Jinchun Chen: "Good workaround we are generally using."
    Ed Price: "Great descriptions and use of images!"
    Jan D'Hondt
    Dates in Excel files rendered from reports are displayed as plain numbers
    Ed Price: "Great job laying out the sections. The images help convey a lot!"
    MR: "Very short tip that could be useful because of different behavior on iPad and Windows"
    RB: "interesting work-around."
    Anushka Weerakkodyge
    Integrating Power View with SharePoint Server 2010/2013 - Multidimensional Mode
    RB: "nice walkthrough"
    Ed Price: "Great depth in the procedure steps! It's similar to another article (see comment), but it's still a good addition. Good use of images!"
    MR: "This article explains how to install Power View on SharePoint but do not explain that Reporting Services is the tool required for Power View to work - the initial setup is required only whether SSRS has not been installed before.
    Otherwise, it has to be upgraded and then the shortcut can work."
    Also worth a mention were the other entries this month:
    Make a dynamic selection from SharePoint list data with the SSIS 2012 OData Source by
    Jan D'Hondt
    RB: "No pics showing, nice post though"
    Ed Price: "Pretty good details. It's missing the images though. Good topic!" 
    Error occurred while the attribute of the dimension from the database
    was being processed–snowflake dimension by
    Jan D'Hondt
    Ed Price: "This is a pretty good writeup. It could be improved with images and references. Good article!"
    MR: "Clarify this behavior is only for Multidimensional models. Moreover, you can handle that by changing configuration settings in Multidimensional project"
    RB: "More of a data problem than a workaround for SSAS"
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to consume the Calendar Exception details from Project Server 2013 to an SSRS report using PSI ?

    Hello,
    Can anyone guide me how to access the calendar exception details from Project Server using PSI?
    I need to extract calendar details of enterprise resources , like exception name, exception type, exception start date and exception end date into my SSRS report hosted in SharePoint 2013 and 2010.
    I would be helpful if I can get a sample of this. I have read through many PSI documents in fact still going through ,what  PSI does and doesn't ,  PSI methods etc. from Project Server SDK and MSDN . Moreover, I
    am a beginner in .NET programming. I am confused and have lots of questions in my mind, like which PSI service should be used in my report(is it  just Calendar.svc), can we pull the details as XML type data source my SSRS report ,are
    there any other configuration settings apart from " setting up an event handler by installing an event handler assembly on each Project Server computer in the SharePoint farm, and then configuring the event handler
    for the Project Web App instance by using the Project Server Settings page in the General Application Settings of SharePoint Central Administration" (as per prerequisites for PSI in SDK) , how can I implement authentication settings
    -(when user with proper SharePoint permission
    can accesses the SSRS report  )
    Kindly bear with me if my questions are not appropriate .
    Please do guide me, and .
    Thanks in Advance!!
    Mridhula
    Mridhula.S

    Hi Brendan,
    Project server reporting database doesn't contain the calendar info. The only supported way to use the PSI to read the calendar info from Published database.
    See this
    reply from Amit.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Reporting Services not automatically starting. System event log 7009, Application event: 18456

    For the past month (since Oct 11,2012)  reporting services (SSRS 2008R2) is not starting after the server is rebooted. The service is set to automatically start and starts manually without a problem.  The system event log contains the following error:
    Event ID 7009: A timeout was reached (30000 milliseconds) while waiting for the SQL Server Reporting Services (MSSQLSERVER) service to connect.
    SQL logs :
    The SQL logs has many "Event 18456 Login Failed, State 38" errors when the database engine starts. I assume clients conections are failing because the databases  aren't online yet. None of these 18456 errors coorespond to the account reporting services
    runs under.
    The SQL logs indication Event 7009 occures before the "ReportingServer" database is online so im assuming there is a dependancy but I don't know how to avoid this.
    This problem is occuring on a number of our servers running SSRS (if not all)
    Any ideas?
    Paul

    Hi A141695,
    For Event ID 7009, you can try to do the steps below to resolve it.
        1. Click Start, click Run, type regedit, and then click OK.
        2. Locate and then click the following registry subkey:
            HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
        3. Right-click Control, point to New, and then click DWORD Value.
        4. In the New Value #1 box, type ServicesPipeTimeout, and then press ENTER.
        5. Right-click ServicesPipeTimeout, and then click Modify.
        6. Click Decimal, type the number of milliseconds that you want to wait until the service times out, and then click OK.
    For example, to wait 60 seconds before the service times out, type 60000.
    Quit Registry Editor, and then restart the computer. For more information about it, please see:
    http://www.sqlservercentral.com/Forums/Topic850540-1550-1.aspx#bm851211
    http://myitforum.com/myitforumwp/2012/08/22/configmgr-2012-sms_srs_reporting_point-component-failure/
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.

  • Possible for using profiler for creating workload for Database Engine Tuning Advisor in case of SSRS reports

    I have SSRS reports with each 5 parameters. Parameter datasets includes statements like WHERE @CategoryKey
    I have 20 tables in SQL Server. We don't have OLAP cube.
    I have created SQL Server Profiler trace. I have clicked all reports during process.
    I have opened Database Engine Tuning Advisor.
     I have selected all tables to Tune.
     Tuning options are Indexes/No Partitioning/Keep all existing PDS
    Result is following:
     14% improvement
     10 recommendations (8 statistic for Calender table and 2 index for Calender)
    Tuning logs:
    S008 exec sp_executesql N'  LongSQLStatment including IN (@CategoryKey) Event does not reference any tables
    S007 Replaced event exec sp_executesql
    My question is that why I did not get any recommendations for other tables that Calender?
    Could it be because of SSRS parameters like @CategoryKey?
    Is it possible at all to use SQL Server profile for creating workload in case of SSRS reports with parameters?
    I have tables and reports like ProductSales, which I suppose should be get indexedbecause of WHERE statements.
     I have where statement like Month and Category and Color.

    Yes it is possible to capture a trace using profiler, but please provide the t-sql behind your dataset before I can answer your question about the DTA recommandations.
    Regards
    Rasmus Glibstrup
    http://blog.sqlguy.dk

  • How to hide pdf in export option in ssrs ReportViewer

    Hi,
    This is the code which is used for ReportViewer 2008 and i need code for ReportViewer 2010.
    so please help me out asap.
       private void CustomizeReportViewer(System.Web.UI.Control reportControl)
                foreach (System.Web.UI.Control childControl in reportControl.Controls)
                    if (childControl.GetType() == typeof(System.Web.UI.WebControls.DropDownList))
                        System.Web.UI.WebControls.DropDownList ddList = (System.Web.UI.WebControls.DropDownList)childControl;
                        if (ddList.ToolTip.Contains("Export"))
                            ddList.PreRender += new EventHandler(ddList_PreRender);
                    if (childControl.GetType() == typeof(System.Web.UI.WebControls.Button))
                        System.Web.UI.WebControls.Button ddList = (System.Web.UI.WebControls.Button)childControl;
                        if (ddList.UniqueID.Contains("ctl00_ContentPlaceHolder1_rptviewerByBrandBySentimentAttribute_ctl06_ctl04_ctl00_Button"))
                            ddList.PreRender += new EventHandler(ddList_PreRender);
                    if (childControl.Controls.Count > 0)
                        CustomizeReportViewer(childControl);
            // This is the event handler added from CustomizeRV 
            // We just check the object type to get what we needed. 
            // Once the dropdownlist is found, we check if it is for the ExportGroup. 
            // Meaning, the "Excel" text should exists. 
            // Then, just traverse the list and disable the "Excel". 
            // When the report is shown, "Excel" will no longer be on the list. 
            // You can also do this to "PDF" or if you want to change the text. 
            void ddList_PreRender(object sender, EventArgs e)
                if (sender.GetType() == typeof(System.Web.UI.WebControls.DropDownList))
                    System.Web.UI.WebControls.DropDownList ddList = (System.Web.UI.WebControls.DropDownList)sender;
                    System.Web.UI.WebControls.ListItemCollection listItems = ddList.Items;
                    if ((listItems != null) && (listItems.Count > 0) && (listItems.FindByText("Excel") != null))
                        foreach (System.Web.UI.WebControls.ListItem list in listItems)
                            if (list.Text.Equals("XML file with report data") || list.Text.Equals("CSV (comma delimited)") || list.Text.Equals("TIFF file") || list.Text.Equals("Word") || list.Text.Contains("PPS"))
                                list.Enabled = false;
    susana w

    Hi God’s Favorite,
    Thanks for your post.
    According to your description, you would like to disable the SSRS rendering format PDF in VS 2010 ReportViewer control, please
    refer to the steps below I demonstrate for you:
    1. Add the method below to your .aspx.cs file as back-end code.
    /// <summary>
    /// Hidden the special SSRS rendering format in ReportViewer control
    /// </summary>
    /// <param name="ReportViewerID">The ID of the relevant ReportViewer control</param>
    /// <param name="strFormatName">Format Name</param>
    public void DisableUnwantedExportFormat(ReportViewer ReportViewerID,
    string strFormatName)
    FieldInfo info;
    foreach (RenderingExtension extension
    in ReportViewerID.ServerReport.ListRenderingExtensions())
    if (extension.Name == strFormatName)
    info = extension.GetType().GetField("m_isVisible",
    BindingFlags.Instance |
    BindingFlags.NonPublic);
    info.SetValue(extension, false);
    2. Choose the relevant Reportviewer control and press F4.
    3.  In the Properties window, click the Events icon, then double click the PreRender item to generate the
    ReportViewer1_PreRender method, I assume your reportViewer control ID is ReportViewer1,
    edit your method like below:
    protected void ReportViewer1_PreRender(object sender,
    EventArgs e)
    DisableUnwantedExportFormat((ReportViewer)sender,"PDF");
    After you complete the steps above, run your project and it works just as you expected.
    Thanks,
    Bill Lu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Maybe you are looking for