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

Is it possible to show CRM custom field into Outlook Client ?

$
0
0

Hi All,

How can we sync the CRM custom field data to any field of Outlook Client?

Like i have custom field in crm called Primary account (not using OOB Parent Account field of CRM) & want to map this PrimaryAccount value to Outlook Client field (Any field like "Parent Account" currently its shows blank because we are not using it in CRM.)

Is it possible to map this Outlook Client Parent Account field to Primary Account field.

Kindly help me on this ASAP :(

Thanks in Advance

Sharique.


Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError)

$
0
0

Hi experts, I get this error:

 

Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError)

 

 

The flow of the parameter is like this:

Then I have a dataset that is

 

select distinct LocaleCode from et_report..DimLocale

where CountryFullName in (@CountryFullName)

 

 

Testing it manually it goes perfect:

Then I have this parameter that will use the previous dataset:

Then I use it on the final SP that gets executed to show the actual report:

 

@Localevarchar(255),

 

 

andl.localein(@Locale)

 

 

 

So, why do I get that error??

Mobile reports uses 'Nothing' parameter value when executing a dataset with a parameter allowing nulls with a "(null") value

$
0
0

I have a dataset that allows a null value to be passed, and defaults to "(null)". The data type is date/time.

When I deploy this dataset and execute it from the SSRS folder (by navigating to the dataset, clicking on "Manage" then "Data Preview" then "Load Data" the SQL that is generated looks like this:

exec mySP @EffectiveDate=NULL

When I try to load the dataset into a mobile report, an exception is thrown. The SQL that is generated looks like this:

exec mySP @EffectiveDate=N'Nothing'

Naturally, the value "Nothing" cannot be converted to a date/time, so SQL Server throws an error:

Error converting data type varchar to date.

How do I configure this parameter so that the mobile report understands the data type and provides a NULL value rather than the "Nothing" constant?


Question on SSRS numbers that are the same in a report

$
0
0

The question i have is that after creating an SSRS report for invoice information I m having an issue with the invoice numbers and totals. Do i need to create a function to take for example a invoice number of 123 with amount 100 and invoice with same number since related to same company in our data base invoice number 123 and another amount of 50 what would the function need to be under invoices to both combine the invoice numbers and display only one invoice of 123 with a total of 150 ?


How to proxy custom authentication when loading mobile report in an iframe

$
0
0

Since ReportViewer 2016 does not support mobile reports, it is suggested instead that we load the mobile report in an iframe using rs:rsEmbed=true. The rsEmbed parameter is not very useful, since it only suppresses the display of the top SSRS folder ribbon.

When we use ReportViewer, we can easily proxy authentication in the code-behind by assigning custom credentials to a propertyReportViewer object.

ReportViewer1.ServerReport.ReportServerCredentials = new CustomCredentials();

However, when loading the mobile report in an iframe, we don't have access to a "ReportViewer" object.

Is there a way to provide custom authentication for the mobile report when there is no report viewer?

What is wrong in this expression ?

$
0
0

I have following expression. My parameter paramEmployeeType is a multi valued parameter. If I only pass  All Resource Types to my parameter then it throws error but it works when I pass multiple values. 

How can I fix this error ?

=IIF(InStr(Join(Parameters!paramEmployeeType .Value, ","), "All Resource Types") > 0,"All Employee Types",Left(Join(Parameters!paramEmployeeType .Value,","),InStrRev(Join(Parameters!paramEmployeeType .Value,","),",")-1))

How to display values based parameter values in ssrs

$
0
0

Hi Folks,

Iam using Adventureworksdw2008.


Param:

Category: Bikes,Accessories,cloths,components

Period :  Year  Quarter Month

if i select year  it should be multiple years i.e 2005 to 2006

if i select Quarter  it should be multiple  Q1 to Q4

If i select month it should be jan to dec

FROMDATE TO TODATE

HOW TO ACHIVE THIS 

SSRS Client-Side Printing with RSclientprint.cab

$
0
0

Hi,

  Recently our security staff has removed admin rights to our laptops which caused an issue with printing from SSRS.  I found the fix and installed the RSclientprint.cab from SSRS 2012 on pushed out to all laptops.  It broke printing in an app that was printing from SSRS 2014.  My question is if RSclientprint is release specific or if just the latest works with backward compatibility?

Thanks

Pam


ssrs 2008 r2 export to excel issue

$
0
0

Can you tell me how I can find out what is wrong with an export to excel file from an ssrs 2008 r2 report?

In a new existing ssrs 2008 r2 report, I am exporting the file to excel and I am getting the following errort message when I try to open the excel spreadsheet, "We found a problem with some content in 'reprt.xls'. Do you want to try to recover as much as we can? If you trust the source of this workbook, click Yes'.

When I click the 'yes' button much of the data is gone. The excel spreadsheet is in a protected mode.

ssrs report page break based on parameter state

$
0
0

Hello All,

I have a report where it has 2 parameter state (US states) and month end date.

i have 6 column headers 

State parameter is multivalue parameter and it has select all option.

If i choose select all states or multiple states parameter option, i need to get each state data on each page.

data should be break on each state

page 1 - state 1 data

page 2 - state 2 data

Can anyone helps me out with the solution? 

many thanks :)

SQL 2012 Forms Authentication Error

$
0
0

Hi All,

I implemented the Forms authentication in SQL 2012 by following the steps provided below website.

https://msftrsprodsamples.codeplex.com/wikipage?title=SS2012!Security%20Extension%20Sample

Currently I cannot access the Report Manager, I added some part of the log file which mentions about the errors.

For the 2nd error, I have the UILogon.aspx in the ReportManager/Pages folder but I don't know why I am getting it.  How can I solve this?

Thanks,

1)     library!ReportServer_0-2!13f0!12/30/2016-11:27:51:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.AuthenticationExtensionException: , Microsoft.ReportingServices.Diagnostics.Utilities.AuthenticationExtensionException: The Authentication Extension threw an unexpected exception or returned a value that is not valid: . --->System.NullReferenceException: Anonymous logon is not configured. userIdentity should not be null!
   at Microsoft.Samples.ReportingServices.CustomSecurity.AuthenticationExtension.GetUserInfo(IIdentity& userIdentity, IntPtr& userId)

2)   ui!ReportManager_0-1!fd8!12/30/2016-11:27:55:: i INFO: Unhandled exception: System.Web.HttpException:The file '/Reports_SQLEXPRESS/Pages/UILogon.aspx' does not exist.

Reports are not applying the specified format to calculated measures

$
0
0

I have several SSAS databases is SQL Server 2014. The development tool is SQL Server Data Tools for Visual Studio 2013. When running reports in Report Builder 3.0 the calculated measures are not adhering to the format string. Here is an example:

I have a calculated measure named [Defects per Active Day] defined as follows:



The Script view is as follows:

CREATE MEMBER CURRENTCUBE.[MEASURES].[Defects per Active Day]
 AS IIf([Measures].[Active Day Count] = 0, NULL, [Measures].[Defect Count] / [Measures].[Active Day Count]), 
FORMAT_STRING = "0.0", 
VISIBLE = 1; 

When creating a report using Report Builder 3.0, the query designer wizard indicates the proper format (0.0):

However, when running the report the format is ignored. The data is displayed with many decimal places:

I know that I can edit the text box properties in the table, but this is being deployed for non-technical users to run. I appreciate any ideas as to what I'm doing wrong or how I can work around this. Thank you.

SSRS 2014 RSclientprint compatible with SSRS 2012

$
0
0

Hi,

   Our security team removed admin rights to our laptops, which resulted in ActiveX errors when printing from SSRS 2012.  I found the fix and loaded the SSRS 2012 .cab file and registered the .dll.  This fixed our issue and was rolled out to all laptops.  Unfortunately, one of our apps uses SSRS 2014 and the print broke.  I located the SSRS 2014  .cab and installed it on their laptops.  Is the .cab file release specific?  Is the 2014 .cab backwards compatible?  And is this a change that will need to be added to any upgrade or SP patches?

thanks

Pam

SSRS 2014 Report Viewer controls and data not working/rendering in Chrome and Safari

$
0
0

I have a functioning ASPX application with an embedded report viewer control. I am upgrading the application from SSRS 2008 to 2014 report viewer.

I have made all the changes and the page renders correctly in Edge.

In IE, 11 it renders the data and the controls work, but the data is missing page headers.

In Chrome it doesn't render the data and the controls do not work.

In Safari, the controls work, but the calendar controls are missing and it appears to render blank pages of data, 1 of 3 and I can page through the blank pages.

Thanks...bc

Truble run areport with parameters

$
0
0

Hi,

I get trouble run a report with parameters in Oracle Database.

No issues with the report removing the parameters(StartDate and EndDate)

After I enter Startdate and EndDate:

Failed to evaluate the FilterExpression of the DataSet ‘Dataset1’. (rsFilterEvaluationError)
----------------------------
An error has occurred during report processing. (rsProcessingAborted)

Thanks!


Connect multiple data sets to the same internal parameter and show one page per record

$
0
0

Hi,

I'm using SSRS 2016 and Visual Studio 2012.

I'm trying to create a layout for an Invoice, when the layout contains multiple data sets (header, lines, additional data) that should all be connected by the same Invoice ID.

The issue begins when it's not a single Invoice - it's multiple invoices per date range.

Meaning, The user fills in the input parameters: From Date + To Date

He receives a list of Invoices, but each Invoice is in a separate page with its own data.

2 Questions:

  1. How do I connect all data sets to be based on the same ID in the specific page ? (something like Join)
  2. How do I design the layout so each page will contain a different Invoice ID with all its relevant data from other data sets ?

Thank you very much in advance !!! :)

Yael


Upgrade to "REPORT VIEWER 2012 RUNTIME" without intalling it

$
0
0

Hello,

I have report viewer 2010 redistribution installed on the server. And now I want to upgrade to report viewer 2012.

I have updated asp.net code project with report viewer 2012 with nugget package.

Will it work if I copy report viewer 2012 binary with in bin folder of published version of asp.net code without installing report viewer 2012 on server?

Thanks,
Syed

SSRS Forms Authentication

$
0
0

Hi All,

I implemented forms authentication in SQL 2012(BI edition). After I put the user name/password and click the register button in the report manager URL I am getting SQL Network Interfaces, error: 25 - Connection string is not valid.

If i try to open report server URL this time I am having file does not exist error. I added below the output from log file which can give more description. For the 2nd error I tried some solutions that I found online by modifying GetUserInfo in AuthenticationExtension.cs but no luck. Some people also mention about .pdb file for error but I don't know how to understand and solve if it is the reason for error. I am quite confuse at this point, any help will be appreciated.

1) The report server encountered an unhandled exception in HttpApplication. ---> System.Web.HttpException: File does not exist.

2) The Authentication Extension threw an unexpected exception or returned a value that is not valid: . ---> System.NullReferenceException: Anonymous logon is not configured. userIdentity should not be null!

SSRS return status code 12002.

$
0
0

Hello,

I have running SSRS Report which runs for 1 hours and after 1 hour it's failed with message as

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12002.

I have googled this error and try all option but still it's failing.

Thanks,

Gajendra kumar Sharma

Who will be crowned the First SQL BI Guru of 2017!!

$
0
0

Time for a fresh start!

[The Guru is the means of realisation. "There is no knowledge without a teacher."]

We're looking for the first Gurus of 2017!!

All you have to do is add an article to TechNet Wiki from the field of your interest. Something that fits into one of the categories listed on the submissions page. Copy in your own blog post, a forum solution, a white paper, or just something you had to solve for your own day’s work today.

A snippet you share can make you a January 2017 TechNet Wiki Guru in your favorite category and this is official Microsoft TechNet recognition!

HOW TO WIN 

Please copy over your Microsoft technical solutions and revelations to TechNet Wiki.

Add a link to it on THIS WIKI COMPETITION PAGE (so we know you’ve contributed).

Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.

If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once "on our radar" and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!

Winning this award in your favorite technology will help us learn the active members in each community. 

Feel free to ask any questions below.

More about TechNet Guru Awards.


Thanks,

If my reply is helpful please mark as Answer or vote asHelpful.

My blog | Twitter | LinkedIn

This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Viewing all 20764 articles
Browse latest View live


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