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

Question on parameters

$
0
0

Hi All,

I have a summary level report and detail level report. I have the same set of parameters on both the  reports. I have created an action on the summary level report, when the user clicks on it will take them to the detail level report. My question is when the user selects certain values in the parameters on the summary level report will that be propagated to the detailed level?

Thanks


Help with creating report

$
0
0

Hi

I am trying to create a report using SQL Report Builder to pull out stats from help desk database

I have not used report builder before and am struggling to get to grips with how to achieve my requirements

I want to show per help desk person a COUNT of calls opened and closed in a set time period - say a week

I'm at a loss as to when to specify what I need in the SQL query, or when to use expressions in the table etc

I can do a query to pull out a count of all tickets per help desk person e.g.

SELECT
  Work_Order_List.ID
  ,Work_Order_List.Status
  ,Work_Order_List.Assignee
FROM
  Work_Order_List

So do I then amend this query to specify date range

AND

Status e.g. Closed, Resolved, In Progress etc

OR do I do that in table in designer as a an expression

OR do I add it as a calculated field in my dataset

All help appreciated

Once worked out basics think I will then be okay


Darren Rose

How to get "cummulative" row count for a Group

$
0
0
CountRows("GroupName") gives me each individual groups total but how can I get the grand total.

Embedding a report in a simple ASP.NET application

$
0
0

Hi,

I'm trying to setup a very asp.net application (following https://docs.microsoft.com/en-us/sql/reporting-services/application-integration/integrating-reporting-services-using-reportviewer-controls-get-started?view=sql-server-2017).

Everything is running on my local machine (SRRS, SQLServer...). I managed to make SSRS2017 runs and created a couple of reports.

When I try to access to the page, I have this simple message " The request failed with an empty response" and the browser console shows the following message

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
http://localhost:24947/Reserved.ReportViewerWebControl.axd?OpType=SessionKeepAlive&ControlID=ef5d4135d9724795bd91be8d6ec3f1cd&RSProxy=http%3a%2f%2flocalhost%3a8989%2freports_portal

When I open the page it shows "OK"

Any help will be appreciated

Thanks



New Reporting services Configuration

$
0
0
I have configured New Reporting Services by doing Restore of SSRS databases from existing server onto new Reports database Instance, restored encryption key on New SSRS . It is scale out deployment.  Everything is working fine. All of a sudden I see 'Symmetric Key" error, I am resolving it by adding Encryption Key again and everything works fine. Don't know what is causing it on the new servers  to lose encryption key?  Please advise.

Error when configuring SSRS for SQL2017 through WMI

$
0
0

I am experiencing few issues when programmatically configuring SSRS for SQL 2017, through WMI. Any help would be appreciated. Thanks.

  1. The GenerateDatabaseCreationScriptWMI method returns a sql script but the script doesn’t execute as no report server Dbs get created. There are no errors on log file either.
  1. To get past Issue # 1, I tried manually executing the script on database, which executes successfully. However, two other WMI methods fail (as part of the our SSRS Configuration process):
    1. BackupEncryptionKey
    • When executing this method with Powershell, the error message returned is:

    {The feature: "The Database Engine instance you selected is not valid for this edition of Reporting Services. The Database Engine does

    report data sources or the report server database." is not supported in this edition of Reporting Services. (rsOperationNotSupported)}

      1. DeleteEncryptedInformation
      • When executing this method with Powershell, the error message returned is:

      {An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk con

      (rsReportServerDatabaseError), The procedure "DeleteEncryptedContent" has no parameter named "@ConfigNamesToDelete".}

        • When investigating this, I noticed this stored procedure in database does not have this parameter.

        SSRS parameters through post method

        $
        0
        0

        Hi Team,

        I want to send parameters through Post method instead of Passing a Report Parameter Within a URL

        .please suggest how to achieve this functionality.

        since i have a lengthy parameters, want to avoid below approach Passing a Report Parameter Within a URL and use post method.

        http://server/reportserver?/Sales/Northwest/Employee Sales Report&rs:Command=Render&EmployeeID=1234

        SSRS in Visual Studio 2017 shows bizarre behavior (blank value for some fields and column width expansion mystery)

        $
        0
        0

        I have VS (Visual Studio) 2017 to develop reports in SSRS.
        The VS 2017 was installed earlier. After the VS 2017, I installed SSDT 2012
        (i.e. VS 2010) as a part of SQL Server 2012.

        I run a simple table report in VS 2017 using SSRS.

        I see the following:

        Clm1   Clm2   Clm 3    Clm 4

                                           x

        x          x         x           x

        x          x         x           x

                              x           x

        x          x         x           x

                                           x

                                           x

        x          x         x           x

        There ought to be data in every field.

        The 'x' indicates data, blank indicates blank value in that field.

        When I run the query in the SSMS database engine, I am seeing data in every field, with no blanks.

        When I run the query in SSRS (SSDT 2012), I see data in every field, with no blanks.

        Even weird, when I expand the column width of any column in VS 2017, I see data like this:

        Clm1   Clm2   Clm 3    Clm 4

                                             x

                                             x

                                             x

                                             x

                                             x

                                             x

        I see data only in column 4 !  

        I tried to refresh and view report many times.

        I have no idea on how to resolve this.

        While data shows correctly in the database engine side and SSDT 2012, there is this weird behavior

        in VS 2017 !

        Any suggestion.

        Sub report to display a large chunk of text data

        $
        0
        0

        I have a LargeText column in a table. I just want to displayShortText column in the  main report. If one clicks that, I want to open a subreport that has just one large text box which can display the LargeText column data from the main report dataset. In my main report I just want to display ID, shortText.

        Select ID, Left(LargeText,100) ShortText, LargeText from Table


        Ranga


        ssrs subscription can not be created

        $
        0
        0
        Hello,
        The ssrs report runs fine.
        It has several parameters
        example: 
        param1, populates param2.
        Param1 is only one item to be selected
        param2 is multi-select

        I have a subscription to send emails for the report.
        subscription works fine if param2 has less than around 1000 items
        subscription can not be set when the param2 has more than around 1000 items and the error I get while creating a subscription for this scenario is: Operation is not valid due to the current state of the object. 

        Any suggestions how to solve this subscription please?
        Thank you

        SSRS parameters through post method

        $
        0
        0
        Hi Team,

        I want to send parameters through Post method instead of Passing a Report Parameter Within a URL

        since i have a lengthy parameters, want to avoid below approach Passing a Report Parameter Within a URL and use post method.

        //server/reportserver?/Sales/Northwest/Employee
         Sales Report&rs:Command=Render&EmployeeID=1234

        once i clicked on view report button it should post parameters to the report server and report should open in new tab.

        In view report button click event , have to set report url and report name ,parameters(dynamically).

        Above approach is possible?If not let me know another approach for using post method.

        If it is possible please suggest how to achieve this functionality through mvc code.

        Note: Here i wont use any ReportViewer.

        Cannot read the next data row for the dataset ClientSales. (rsErrorReadingNextDataRow)

        $
        0
        0
        • Am getting bellow error message while fetching data 

        An error has occurred during report processing. (rsProcessingAborted)
        Cannot read the next data row for the dataset ClientSales. (rsErrorReadingNextDataRow)
        Invalid attempt to call Read when reader is closed.

        Also am change site settings also

        

        Please help on this issue

        Thanks Bala Narasimha

        Error Log:

        ERROR: An exception has occurred in data set 'DataSet_Name'. 
        Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the dataset DataSet_Name. 
        ---> System.InvalidOperationException: Invalid attempt to call Read when reader is closed.

        processing!ReportServer_0-8!115c!02/12/2019-10:15:36:: e ERROR: An exception has occurred in data set 'DataSet_Name'. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the dataset DataSet_Name. ---> System.InvalidOperationException: Invalid attempt to call Read when reader is closed.
           at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout)
           at Microsoft.ReportingServices.DataExtensions.DataReaderWrapper.Read()
           at Microsoft.ReportingServices.DataExtensions.MappingDataReader.GetNextRow()
           --- End of inner exception stack trace ---
           at Microsoft.ReportingServices.DataExtensions.MappingDataReader.GetNextRow()
           at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.ReadOneRow(Int32& rowIndex)
           at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.ProcessRows()
           at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.Process()
           at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.ProcessConcurrent(Object threadSet)
        processing!ReportServer_0-8!115c!02/12/2019-10:15:36:: i INFO: DataPrefetch abort handler called for Report with ID=. Aborting data sources ...
        processing!ReportServer_0-8!115c!02/12/2019-10:15:36:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the dataset DataSet_Name. ---> System.InvalidOperationException: Invalid attempt to call Read when reader is closed.
           at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout)
           at Microsoft.ReportingServices.DataExtensions.DataReaderWrapper.Read()
           at Microsoft.ReportingServices.DataExtensions.MappingDataReader.GetNextRow()
           --- End of inner exception stack trace ---
           at Microsoft.ReportingServices.DataExtensions.MappingDataReader.GetNextRow()
           at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.ReadOneRow(Int32& rowIndex)
           at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.ProcessRows()
           at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.Process()
           at Microsoft.ReportingServices.OnDemandProcessing.RuntimeAtomicDataSet.ProcessConcurrent(Object threadSet)
           --- End of inner exception stack trace ---;

        syntax to check multi value parameter in OR condition

        $
        0
        0

        Hi ,

        Could some one help in below case.

        i have to taken reporting entity and enterprise desc based on some filter condition values from different data sets and those values i have to compare with values in another data set

        created 2 dummy parameters and passed above 2 values under default values.

        below is the condition need to validate in different dataset.

        =IIF((
        (Fields!Reporting_Entity.Value=Parameters!Dataset1_Reporting_Entity.Value)
         OR
         (Fields!Enterprise_Desc.Value=Parameters!Query31_Enterprise_Desc.Value)),"True","False")

        above Parameters!Dataset1_Reporting_Entity & Parameters!Query31_Enterprise_Desc  are multi valueparameter, but its giving syntax errors.

        Can some one help how to check value in available or not  in multivalue parameter 

        Regards,

        Bhavani

        Sum by column group in Report Builder/SSRS not working

        $
        0
        0

        Hi,

        I have a report like this

        storeGroup_AGroup_BTotal 
         QtyBonusQtyBonusQtyBonus
        A21024234
        B82205142896233
        C50247 
        D10 41 
        E1001211 
        A31061237 
        B2900130 
        C40125 
        D4102443 
        E43051048 
        A13051119 
        B70128 
        C109328918118 
        D310102142 
        E40081648 
        A80 48 
        B90 49 
        Total485#Error67#Error  

        But i have a cuple of issues

        1. The total for Bonus column for GroupA Products is #Error

        the formula for Bonus Column is:

        =IIF(Fields!GrupaProdus.Value = "Group_A", IIF(Fields!Qty.Value > 250, Fields!Qty.Value * 4, IIF(Fields!Qty.Value > 150, Fields!Qty.Value * 3.5, IIF(Fields!Qty.Value > 100, Fields!Qty.Value * 3, IIF(Fields!Qty.Value > 50, Fields!Qty.Value * 2.5, 0)))),IIF(Fields!GrupaProdus.Value = "Group_B", Fields!Qty.Value * 2, 0))

        and for column total i've used this

        =sum(IIF(Fields!GrupaProdus.Value = "Group_A", IIF(Fields!Qty.Value > 250, Fields!Qty.Value * 4, IIF(Fields!Qty.Value > 150, Fields!Qty.Value * 3.5, IIF(Fields!Qty.Value > 100, Fields!Qty.Value * 3, IIF(Fields!Qty.Value > 50, Fields!Qty.Value * 2.5, 0)))),IIF(Fields!GrupaProdus.Value = "Group_B", Fields!Qty.Value * 2, 0)))

        but i am getting # error. If i use only 1 IFF  condition for group_A, the colum total works, but i need to use all those condition

        in sql select the qty values are formated as decimal,

        i've tried using val in front of field value - val(Fields!Qty.Value) but i am getting same #Error

        2. How can i get  a total column for  Bonus columns

        meaning Total Bonus = Bonus column Group_A+Bonus column Group_B

        Thank in advance!

        B

        SCCM 1802 Reports are failing intermittently with "error: 0 - The wait operation timed out" error.

        $
        0
        0

        Hi Team,

        Please help me with below error.

        My Environment:

        Server 1 – SCCM 1802 Standalone Primary Site Server

        Server 2 – SCCM Database Server (SQL Server 2016 SP2 Enterprise Edition x64) with SSRS & SCCM Reporting Servicing role

        Issue Description:

        When I run any SCCM report sometime it runs properly or some time it fails with below error. After failing, if I rerun the report it runs properly.


        Solution Tried:

        1. For testing purpose I installed new SSRS instance & SCCM Reporting Service on Server 1 & on this Server all reports runs properly & runs fasters than on Server 2.
        2. Since reports are running properly on Server 1, I have uninstalled & reinstalled SSRS on Server 2 with below steps but issue still exists,
          • Uninstalled SCCM Reporting Service Role
          • Uninstalled SSRS instance
          • Deleted ReportServer & ReportServerTempDB databases
          • Deleted “MSRS13.MSSQLSERVER” folder from “D:\Program Files\Microsoft SQL Server\”
          • Rebooted Server
          • Installed & configured SSRS
          • Installed SCCM Reporting Service Role
          • Rebooted Server

        Log File Errors: (Path: D:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\LogFiles\ReportServerService__02_07_2019_16_35_24.log)

        I see below errors in log file when report fails,

        library!ReportServer_0-1!141c!02/07/2019-17:33:43:: i INFO: Call to GetItemTypeAction(/ConfigMgr_Mgr/Administrative Security/Administration activity log). User: BNG\sccmadm.

        library!ReportServer_0-1!11a4!02/07/2019-17:33:53:: i INFO: Call to GetItemTypeAction(/). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!4a70!02/07/2019-17:33:53:: i INFO: Call to GetItemTypeAction(/). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!23ec!02/07/2019-17:33:53:: i INFO: Call to GetDataSourceContentsAction(/ConfigMgr_Mgr/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!442c!02/07/2019-17:33:53:: i INFO: Call to GetDataSourceContentsAction(/ConfigMgr_Mgr/{39B693BB-524B-47DF-9FDB-9000C3118E82}). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!b54!02/07/2019-17:33:53:: i INFO: Call to GetPropertiesAction(/ConfigMgr_Mgr, PathBased). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!3b48!02/07/2019-17:33:53:: i INFO: Call to GetItemTypeAction(/). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!1ba4!02/07/2019-17:33:53:: i INFO: Call to GetDataSourceContentsAction(/ConfigMgr_Mgr/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!4a70!02/07/2019-17:33:53:: i INFO: Call to CreateDataSourceAction({5C6358F2-4BB6-4a1b-A16E-8D96795D8602}, /ConfigMgr_Mgr, True). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!11a4!02/07/2019-17:33:53:: i INFO: Call to GetDataSourceContentsAction(/ConfigMgr_Mgr/{39B693BB-524B-47DF-9FDB-9000C3118E82}). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!442c!02/07/2019-17:33:53:: i INFO: Call to CreateDataSourceAction({39B693BB-524B-47DF-9FDB-9000C3118E82}, /ConfigMgr_Mgr, True). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!2d10!02/07/2019-17:33:53:: i INFO: Call to ListTasksAction(Catalog). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!b54!02/07/2019-17:33:53:: i INFO: Call to SetPropertiesAction(/ConfigMgr_Mgr). User: NT AUTHORITY\SYSTEM.

        processing!ReportServer_0-1!141c!02/07/2019-17:33:59:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) ---> System.ComponentModel.Win32Exception: The wait operation timed out

           --- End of inner exception stack trace ---

           at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)

           at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)

           at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)

           at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)

           at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)

           at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

           at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)

           at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)

           at System.Data.SqlClient.SqlConnection.Open()

           at Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapperBase.Open()

           at Microsoft.Report

        processing!ReportServer_0-1!141c!02/07/2019-17:33:59:: e ERROR: Data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_': An error has occurred. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) ---> System.ComponentModel.Win32Exception: The wait operation timed out

        processing!ReportServer_0-1!141c!02/07/2019-17:33:59:: e ERROR: An exception has occurred in data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) ---> System.ComponentModel.Win32Exception: The wait operation timed out

        processing!ReportServer_0-1!141c!02/07/2019-17:33:59:: i INFO: DataPrefetch abort handler called for Report with ID=. Aborting data sources ...

        processing!ReportServer_0-1!141c!02/07/2019-17:33:59:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: [AbnormalTermination:ReportProcessing], Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) ---> System.ComponentModel.Win32Exception: The wait operation timed out

           --- End of inner exception stack trace ---

           at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)

           at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)

           at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)

           at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)

           at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)

           at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

           at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)

           at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource

        processing!ReportServer_0-1!141c!02/07/2019-17:33:59:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) ---> System.ComponentModel.Win32Exception: The wait operation timed out

           --- End of inner exception stack trace ---

           at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

           at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)

           at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)

           at System.Data.SqlClient.SqlConnection.Open()

           at Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapperBase.Open()

           at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.<>c__DisplayClass5.<OpenConnection>b__4()

           --- End of inner exception stack trace ---;

        processing!ReportServer_0-1!141c!02/07/2019-17:33:59:: e ERROR: Data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_': An error has occurred. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) ---> System.ComponentModel.Win32Exception: The wait operation timed out

        processing!ReportServer_0-1!141c!02/07/2019-17:33:59:: e ERROR: An exception has occurred in data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) ---> System.ComponentModel.Win32Exception: The wait operation timed out

        processing!ReportServer_0-1!141c!02/07/2019-17:33:59:: i INFO: DataPrefetch abort handler called for Report with ID=. Aborting data sources ...

        processing!ReportServer_0-1!141c!02/07/2019-17:33:59:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: [AbnormalTermination:ReportProcessing], Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) ---> System.ComponentModel.Win32Exception: The wait operation timed out

           --- End of inner exception stack trace ---

           at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

           at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

           at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)

           at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)

           at System.Data.SqlClient.SqlConnection.Open()

           at Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapperBase.Open()

           at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.<>c__DisplayClass5.<OpenConnection>b__4()

           --- End of inner exception stack trace ---

           at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.<>c__DisplayClass5.<OpenConnection>b__4()

           at Microsoft.ReportingServices.Diagnostics.Utilities.DefaultActivitiesFactory.CreateSyncActivityAndReportResult(RSActivityType activityType, Action action)

           at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.<>c__DisplayClass2.<OpenDataSourceExtensionConnection>b__0()

           at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.HandleImpersonation(IProcessingDataSource dataSource, DataSourceInfo dataSourceInfo, String datasetName, IDbConnection connection, Action afterImpersonationAction)

           at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.OpenDataSourceExtensionConnection(IProcessingDataSource dataSourceObj, String connectString, DataSourceInfo dataSourceInfo, String datasetName)

           at Microsoft.Reporti

        library!ReportServer_0-1!3b48!02/07/2019-17:34:53:: i INFO: Call to GetItemTypeAction(/). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!1ba4!02/07/2019-17:34:53:: i INFO: Call to GetItemTypeAction(/). User: NT AUTHORITY\SYSTEM.

        library!ReportServer_0-1!4a70!02/07/2019-17:34:53:: i INFO: Call to GetDataSourceContentsAction(/ConfigMgr_Mgr/{5C6358F2-4BB6-4a1b-A16E-8D96795D860

        Thanks,


        MG





        High Quality JPG image not display in export to PDF from SSRS

        $
        0
        0

        Hi,

        I have a report that contains embedded high quality JPEG image of 300 dpi,

        why does this image look fine in SSRS viewer and export to Word/Excel, but it is disappeared when exporting to PDF?

        Please suggest.

        Regards,

        WFX

        Problem with grouping multiple Chart and table objects inside a rectangle container

        $
        0
        0

        Hi all

        I'm not a particularly experienced SSRS report creator - I've done a few very basic things before. Now I'm trying to create a slightly more sophisticated report and coming up against some layout issues. I've trawled various articles across the internet but can't seem to find exactly what I'm looking for. I'm using Visual Studio 2017 (15.5.5) with SSRS plug-in 15.0.900.163.

        Scenario: I want to create a report with three "pages", each one displaying the results from one of three datasets. Each of the three pages will have the same format, a table to the right-hand side of the page, and three separate charts (so three tables and nine charts in total for the entire report). I think this is known as "soft" page breaks, is that the correct terminology?

        Where the problem is occurring is trying to group together all the objects for one "page". I have created a rectangle object, and set the page break properties so that BreakLocation = End. I've then created the table and chart objects inside the rectangle. When I review the properties of each of the table / chart objects the Parent property is set to "Rectangle4", which is the correct name for the rectangle object (I've tried this a couple of times already).

        However, when I preview the report, only the first chart object and the table display on the "page", and the second (and also subsequent) charts appear on the next page. I don't understand why I cannot get those additional charts to display in the same space as the first, even though they are apparently all in the same container. Am I missing a property or properties that should be set to force this behaviour? If it helps, the size of the table when previewed is longer than the vertical height of all the chart objects combined, but I have also tried moving the charts around within the rectangle to see if placement made a difference - I couldn't change the behaviour.

        Any suggestions or advice would be gratefully received!


        Reportviewer tool for SSRS

        $
        0
        0

        Hi,

        I am using Angular 4 as front end and WEB API (.NET) as a back end. For Report creation I am using SSRS report builder (.rdl) file. I am looking for an open source report-viewer. I have tried syncfusion and ngx-ssrs-reportviewer to view my report.  Syncfusion is not open source but ngx-ssrs-reportviewer is opensource. The problem I am facing using ngx-ssrs-reportviewer is authentication. 

        Can anyone help me in getting me a nice tool (better be open-source) ?

        Thanks in advance


        manisha

        Problems after upgrading report form SSDT 2010 to 2015

        $
        0
        0

        Today I upgraded some reports from SSDT 2010 to 2015. Most of them seem to be OK although the one that I most want to work on has developed problem. When I switch to the Preview Pane I get the errors message "An error has occurred during local report processing".

        The report worked immediately after importing but started to produce this error after some simple changes where made. Thinking the obvious, I deleted the project and replaced it with a fresh copy of the SSDT 2010 version, but now I get this error before any changes are made. The report continues perfectly well in SSDT 2010, and when deployed to a Report server.

        Compared to the other reports in the project this report has a lot more columns (about 50) and is the only one based on the  List object, the others are Table or Matrix reports, I try to stay away from List. It is basically a pretty simple report though.

        There are no errors and just a few warnings, some to with overlapping objects and one that says "Custom parameter layout was removed from the report. SQL Server 2014 Reporting Services and earlier do not support custom parameter layout." which refers to another report.

        Any suggestions on what to do would be much appreciated.

        EIDIT. On the off chance, I tried something that worked. I created a new project, copied the report RDL file to it and added it to the new project. Now it works.  I can only think that some corrupted information about the report was caches somewhere outside the report project folders which survived even after I deleted the original report folder and copies in a fresh one.


        R Campbell


        Lookup function returns first record, but I want the last.

        $
        0
        0

        Hi,

        I have two SharePoint lists defined as Datasets in SSRS. 

        List 1| Dataset 1 - Project Information - Contains one item.  

        List 2 | Dataset 2 - Project Status Reports - Contains multiple items. 

        These lists are joined by primary/foreign key called site_id that create a one to many relationship: 

        Project Information 1 - N Project Status Reports 

        In SSRS I am trying to create a table using Dataset 1 that pulls the ONLYthe last status report from Dataset 2.  

        Using Lookup function, I appear very close, however, it returns the first status report and not the last.

        If you can advise I would greatly appreciate it. Thanks. 


        Viewing all 28687 articles
        Browse latest View live


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