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

Creating a Data Driven Subscription in SSRS 2017 with the destination Null Delivery Provider fails with "DeliveryErrorException: A delivery error has occurred.";

$
0
0

Full message : library!ReportServer_0-1!1190!03/15/2019-14:14:24:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.DeliveryErrorException: , Microsoft.ReportingServices.Diagnostics.Utilities.DeliveryErrorException: A delivery error has occurred.;

The Environment is Windows 2016 and SQL 2017 with CU13.  

Features on the VM include .Net. 

SSRS is 2017.  

When I create a data driven subscription in this sequence I get the error.  

E-mail delivery is okay.  

  1. Manage Report
  2. Subscriptions
  3. Type of subscription:  Data-driven subscription
  4. Destination:  Null Delivery Provider
  5. Set up dataset using shared datasource.  Enter a query and tested connection with success
  6. Click on Create subscription button and get this error “An error has occurred.  A delivery error has occurred’


David z


Group by and adding sub total and total to the report

$
0
0

Hi,

Please help me with this requirement

I have a Case table with a Status field and would like to display the table as shown below can anyone help me please.

Thank you in advance

ssrs 2012 report parameters not being displayed at the end of the report

$
0
0

I am working on an ssrs 2012 report where I want to display all the parameter values at the end of the report. In most cases this always works for most reports that I am working on.

However this report is made of lots of rectangles with all the information embedded in tablixes when each rectangle. This report also displays run date and page numbers on the footer of the report.

I  tried to place the parameters Tablix between the last rectangle and the footer and the parameters Tablix did not display. I then also tried to place the parameters report Tablix within a rectangle of itself and that did not work.

Thus I am wondering if you can suggest what I can do to have the parameters Tablix values display at the end of the report. The Tablix is pointing to a dataset that is not really needed just to fix Tablix requirement.

MS Datazen

$
0
0

Hi 

I would Like to know if there is any Mac version for Microsoft Datazen software for Mac or not?

Is this software free or not?

SSRS REPORT SERVER INTEGRATION WITH SAP HANA ODBC SOURCES

$
0
0

HE LLO ANY ONE HAVE THE EXPERIENCE IN INTEGRATIONG SQL SERVER REPORT SERVERS WITH SAP HANA.

FACING THE BELOW ERROR SCREWING UP.

How do I resolve error, "(IM002) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"

tried systm dsn BELOW IS ERROR

  • error has occurred during report processing. (rsProcessingAborted)
    • Cannot create a connection to data source 'DEV1'. (rsErrorOpeningConnection)
      • ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application


How to display a title outside the tablix, where a title is is a group break?

$
0
0

I created a table which for each bank displays some data. I want to create title with a name of the bank, like:

        Bank 1

acct  balance

111    $1.00

222    $1.11

         Bank 2

acct  balance

110   $1.00

222    $2.11

When I create a placeholder - the option is First(Field...) but I want to show each field on break of the group.

Any suggestions?

Thanks,

zb

Performance Point Dashboard Deployment

$
0
0

I Created a basic Dashboard using Performance Point and i tried to deploy it, however upon preview after deployment, i receive

HTTP 403 Forbidden Error, 'The website declined to show this webpage, most like causes: This website required you to log in.

Appreciate your urgent support.

In SSRS, Cascading parameters only the last ordered parameter greys out

$
0
0

Hi 

I have cascading parameters in my report. When the user selects @C from report dropdown rest of the two parameters should grey out. Currently only the last ordered parameter greys out. If I swap the order of the last parameter then the other one greys out. Issue is in the last pic. When C is selected I want both parameters to be greyed out. In first picture, I have mentioned Null for both when C is selected  Can somebody please help 


JG





SSRS Report Builder DateDiff Same Colume with different criteria

$
0
0

(Question 1)







IDP1P2

1             
A1/1/2018

 B2/1/2018

 C5/1/2018

2             
T6/1/2018

 E3/1/2018






How can we calculate datediff A & B, B & <g class="gr_ gr_37 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="37" id="37">C ,</g> T & E within the same column?

Tried using DateDiff(Lookup( function but P1 parameter are variables and different with ID.

(Question 2)

Can/How we do a subtraction within 2 DateDiff in 2 subreports?

Thanks!


Word wrap issue while exporting the SSRS report into Excel

$
0
0

Hi,

I am also facing the same issue. I have tried both CanGrow / CanShrink properties with combination of true/false values. But still same issue i am facing. The text length is 2000 characters. There is no merged cells. The report is working fine in PDF. Same issue i am facing in both Word and Excel. 

SSRS Drill Through

Opening report builder error "The value of Action was not recognized. Valid values are: New, Edit."

$
0
0

Hello,

Everything was working fine. Until i installed visual studio 2017. I already have visual studio 2015 and eveerything was fine so I didn't think it would be an issue.

I have SSRS  2017 installed. 2016 report builder. With SQL 2017 Express installed.

When i try to edit the report in report builder, i get the following error message   "The value of Action was not recognized. Valid values are: New, Edit."   Report builder opens in  a blank window. I have downloaded the report to the desktop and then open it with report builder and it opens fine.

I have tried a repair install of ssrs, report builder.

Any ideas?

Thanks in advance.

SSRS Migration SECURITY question

$
0
0

Hi There, My goal is to migrate all my reports from one server to a new server and SQL on current prod is 2014 and new server will have 2016. My SSRS is of native mode on both servers. I am doing this in parallel, so rollback would be easy jic. I have read articles to backup and restore ReportServer and ReportserverTempdb databases followed by encryption key. My question here is does this take care of all components related to reporting services? Can anyone respond on security? Does this include all reports, users, roles if any. Please let me know anything I have to backup and move to new server apart from backup and restore process.

Sincerely

RRR

Need to split column values.

$
0
0

Hi 

I have a column which has the values as ( Sales, Finance, Other). But in SSRS i want to display as below

Sales

Finance

Other.

I used  =Split(Fields!Impacted_External_Functions.Value,",").GetValue(0) as expression. But i am getting only Sales. 

Any help is appreciated.


cvsuman

How to remove NaN

$
0
0

Hi, 

I have several places to calculate percentage and i wonder how i can modify the code to remove NaN. Thank you.

= Count(Fields!SNAP_NOTICE_COMPLETE.Value)/ReportItems!CLIENT_ID1.Value

= Count(Fields!SNAP_NOTICE_COMPLETE.Value)/ReportItems!CLIENT_ID6.Value

= Count(Fields!JV290_PRINT_IND.Value) / ReportItems!CLIENT_ID6.Value


SSRS chart does not show all data

$
0
0

Hi,

I have a column that have values like 0.5# , 0.7#,1.5,0.7 etc but when i add it to bar chart values then it shows blank for those rows that have # in it. I have tried Cstr and Cdec but not helping. Any ideas?

Thanks in advance.

Getting an error when trying to cache a SSRS Report which has a Shared Data Source and Data-sets

$
0
0

Hi All,

I have a SSRS Report and I am trying to create a Cache on this Report.

This Report has a shared Data source and setting of this data source is as follows:

Name: DW

Connection

TYPE: Microsoft SQL Server

CONNECTION STRING: Data Source=InstanceDW\DW;Initial Catalog=MY_DW

Credentials

As the user viewing the report.

I run the report it is working perfectly. 

But When I try to create a caching I am getting error

Cache copies of this report and use them when available

Cache expires on a schedule

Report-specific schedule

At 3:00 PM every day, starting 18/03/2019

An error has occurred.

The current action cannot be completed. The user data source credentials do not meet the requirements to run this report or shared dataset. Either the user data source credentials are not stored in the report server database, or the user data source is configured not to require credentials but the unattended execution account is not specified.

When I change Data Source Setting to 

Using the following credentials

Type of credentials

Windows user name and password

User name

Password

Log in using these credentials, but then try to impersonate the user viewing the report

It works.

As we are having Row Level Security Implemented We want to keep this option:

Credentials

As the user viewing the report

Please can you suggest what setting we need to change to make Caching work with Data Source setting "As the user viewing the report"


We have Configured the Unattended Execution Account

Configure the Unattended Execution Account

Check this thread: Error scheduling report


Can't manually create ReportServer database, why?

$
0
0

I installed SSRS feature on an existing SQL2008 Server, but when I go to Reporting Services Configuration Manager and try to manually create ReportServer database, I get the following issue:

When I click on the 'Error' next to 'Running database script', the following error message displays:

System.Data.SqlClient.SqlException: profile name is not valid
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.ReportingServices.Common.DBUtils.ApplyScript(SqlConnection conn, String script, ICommandWrapperFactory commandWrapper)
   at Microsoft.ReportingServices.Common.DBUtils.ApplyScript(String connectionString, String script)
   at ReportServicesConfigUI.SqlClientTools.SqlTools.ApplyScript(String connectionString, String script)

The ReportServer database gets created, but no objects (tables, sp's, etc) get created and no ReportServerTempdb is created.

Both the SSRS and SQLAgent Service are running under 'NT AUTHORITY\Local Service' startup account.

How can I troubleshoot this error and resolve it, in order to get ReportServer & ReportServerTempdb created and populated correctly?

Thanks in advance,


Phil Streiff, MCDBA, MCITP, MCSA

SSRS performance understanding with multiple datasets

$
0
0

I have two major questions on the SSRS performance. I am in the process of consolidating 10 SSRS report (10 summary RDLs and 10 Detail RDLs with each report having ~4 tablix). Each report hits a stored procedure to get the results. Now we have consolidated all tablixs into one RDL and have created a new parameter where user can select which report he wants to open and accordingly that tablix is displayed through visibility property. Now in terms of performance I want to understand whats better. Questions Below:

  1. After consolidation, In one RDL we have 10 datasets hitting 10 different procedure. Should I consolidate all the procedures into one and run the section of the procedure as per user selection of report from parameter using IF Else conditions. Example User selects report A then in the procedure IF @report = A --Code for A-- ELSE IF @report = B --Code for B--. If I do this, will I be able to maintain cache for each of the 10 reports.?

  2. For the 10 detail RDLs which again has its own 10 different detail stored procedures. Is it a good idea to consolidate all the detail Tablixs into one and show/hide the tablix as per the user selection of the report from report parameter. Basically, I will pass the report name as a parameter through Action property and then show/hide tablixs with IIF conditions. OR should I keep 10 different RDLs for detail reports. I have that option open. What will be better for performance.


JG

What are the specifics and basics of connecting Serilog to a MSSQL database?

$
0
0
What are the specifics and basics of connecting Serilog to a MSSQL database?  Here is what I have so far.  Can you please tell where I am going wrong?

In the app.config I have:

        <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
        <startup> 
            <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
        </startup>
      <connectionStrings>
        <add name="LogConnectionString" connectionString="Data Source=data.dev.db.com,14330;Integrated Security=SSPI;Database=DNA_Logs;"
          providerName="System.Data.SqlClient"/>
      </connectionStrings>
    </configuration>

In the C# code I have:

    public Guid transactionGuid = Guid.NewGuid();

    public string transactionGUIDString = string.Empty;

    public StringWriter TraceLog = new StringWriter();

    public void HelloLog()
    {
        this.transactionGUIDString = transactionGuid.ToString("B").ToUpper();

        var logger = new LoggerConfiguration()
            .MinimumLevel.Debug()
            .Enrich.WithProperty("TransactionId", this.transactionGuid)
            .WriteTo.MSSqlServer("LogConnectionString", "Serilog_Logs")
            .WriteTo.TextWriter(TraceLog)
            .CreateLogger();

        // Output logs
        logger.Information("Hello, Serilog!");
    }

And the database table is configured like this:

[![enter image description here][1]][1]


  [1]:

So I have a few questions.  First of all, since the database table is technically named "dbo.Serilog_Logs" shouldn't the C# code use this table name instead of just "Serilog_Logs"?

I found some sample code for Serilog but it only writes to the console.  I want to modify this sample code to write to the MSSQL Server.  I wonder how the columns of the table are supposed to be configured.
Viewing all 20764 articles
Browse latest View live


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