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

Week Ending Date Text Box

$
0
0

Hi,

How do you get a text box in a report to display a week ending date based on parameters?

Here's what I've tried:

=DateAdd("d", 7 - Weekday(Today), Parameters!DateCreated.Value).ToString("MM/dd/yyyy")

This is close, but it doesn't give the last day of the week selected.


I hear and I forget. I see and I remember. I do and I understand.


Downloading Reports

$
0
0

I found a strange issue and I'm wondering if anyone has ever seen this before.

When I run a report through the reporting portal and download a copy in Excel or other formats, the file name that results from the download seems to change if I have a period in the report name.  If my report is called something like "007. Report Name", the resulting Excel file saves as "007".  If I switch the period to a dash, the report downloads normally as "007 - Report Name"

The name cuts off based on where the period happens to be in the name.  Thanks. 

Viewing SSRS 2016 Reports on MAC

SQL 2016 SSRS Scale - Out Deployment Work Around??

$
0
0

Hello,

I've realized SQL 2016 doesn't have the Scale Out Deployment Option.  I have a Server on the EastCoast with SSRS using the Report/ReportTempDB Databases and would like to have my Server on the West Coast Server use the SSRS database from my EastCoast.  Here is where I am. I installed SSRS on my second sever and pointed it to the Database server on the EastCoast and restored a copy of its encryption key.  Logs say:

e ERROR: Throwing Microsoft.ReportingServices.Library.InvalidReportServerDatabaseException: , Microsoft.ReportingServices.Library.InvalidReportServerDatabaseException: The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is '178'. The expected version is '162'.;

EastCoast is SQL2016 SP1CU14 SSRS2016

WeatCoast is SQL2012 SP3 SSRS2016

SSRS Report Exporting CSV Issues

$
0
0

Hi Team,

I have exported SSRS report to csv format.

I observed below three issues.

1)Text box value not exporting as it is displayed in report.Its appearing as Textbox8...

2)Date value appearing in second row.

3)Column width shrinking,i want to set auto fit.Please suggest how to set auto fit option report.


SSRS export multiple tabs not working while exporting to csv

$
0
0

Hi,

I am exporting ssrs report to excel its displaying with multiple table,but not while exporting to csv.

I have done below steps 

created row group and provided page group.

Please find below attachment

Excel file with tabs

csv file exporting with out tabs






Permissions to create a data source inside the Report Manager portal - SSRS 2014-2016

$
0
0

Hi,

I knew, in according to the official documentation, that for creating a data source inside the Report Manager was enough to belong to the Content Manager role, but it doesn't seem true.

I'm a Content Manager for a Report Manager, but I've obtained an error message like "access denied" during the test connection for a new data source. I can normally a data source if my user is added as a system administrator or a system user inside the Report Manager portal.

Any suggests to me, please? Thanks

SSRS Microsoft Dynamics RDL file data source

$
0
0

Hello

I'm working with a Microsoft Dynamics rdl file, it is a Cheque that I'm trying to redevelop.  All I want to do is move the text boxes around a bit.

When I open the rdl file in SSRS in Visual Studio it loses it data source setting, which I think is stopping it from working in Microsoft Dynamics.

When we try to print to the rdl file it does nothing in Dynamics.

How do I take the rdl file edit it and import it back in to Dynamics?

Regards

SQLSeracher99


Use parameters with "Go To Report" option

$
0
0

Hi -

I have  a main report with three subreports.  I am using the "Go To Report" option, selecting the report I want to go to and trying to add the parameters.   I am not getting a dropdown list of the parameters from my stored procedure, even though I can see them displaying as parameters.  Any suggestions?

Juniormint

unable to create or edit report with help of report builder 2016

$
0
0

I have installed Report Builder 2016 on server where my SCCM 1810 is hosted.

While creating report it throughs error - The Report Builder click-once application does not exist on the report server ‘CM2012.contoso.com’. Ensure that the report builder application manifest exists on the server and try again.

Registry Location - HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Microsoft/ConfigMgr10/AdminUI/Reporting value = ReportBuilder_3_0_0_0.application

Manager\AdminConsole\bin\Microsoft.ConfigurationManagement.exe.config" 
Scroll down to the <ReportBuilderMapping> section. 

<ReportBuilderMapping>

    <add key="11.0" value="ReportBuilder_3_0_0_0.application" /> 
    <add key="10.50" value="ReportBuilder_3_0_0_0.application" /> 
    <add key="10.0" value="ReportBuilder_3_0_0_0.application"/> 
    <add key="DEFAULT" value="ReportBuilder_3_0_0_0.application"/> 

</ReportBuilderMapping>

all required settings are placed still it is giving error.

SQL Server Reporting Services 2017 : test connection to data source succesfully but error when run the report

$
0
0

I have a problem migrating the reporting service from 2014 to 2017. When I test connection in the data source, it says connected. but when I try to run the report, this is the error I got:

  • An error has occurred during report processing. (rsProcessingAborted)
    • Cannot create a connection to data source 'DynamicDB2'. (rsErrorOpeningConnection)
      • ERROR [HY000] [IBM][CLI Driver] SQL1042C An unexpected system error occurred. SQLSTATE=58004 ERROR [HY000] [IBM][CLI Driver] SQL1042C An unexpected system error occurred. SQLSTATE=58004 

      Anyone has encountered this issue before?

      Thank you in advance!

Can't get images to display in report buider

$
0
0

I have a table with a series of text fields and a blob field. The blob field holds the name of .jpg files.  The actual .jpg files are in the same directory as the table.

When I display the fields with Report Builder, I get placeholders for the .jpg files.

I have gone through all the steps with Report Builder to declare the blob field as an image field.

I take it that I need to add some information to the blob field to explain that the .jpg content is a name of a graphic that is found in the same folder on the hard drive.

I am using PHP to build my tables.  If there is some way of actually bringing the graphic into the table that would probably be the best solution.

Any help would be appreciated.


Mike Smith

SSRS Report Tablix hiding

$
0
0

Hi Team,


By using parameter value hiding tablix2 and report should display only one  tablix at a time and when exporting to csv it should show first tablix data.(This is the requirement)


Report with two tablix,provided data from only one data set.

Using below expression for hiding second tablix 

=IIF(Parameters!Country.Value<>"US",true,false).

It is working fine but when exporting to csv its showing second tablix data also.

Above Report report hiding second tablix in preview.

But Csv file showing Data in exported file.

it is happening when hiding based on expression.

I have set hidden property directly True in Visibility section.In this case csv file not exported with second tablix data.

Summarizing above scenarios.

scenario1 : when setting expression for hidden based on the parameter value,then csv file exporting with second tablix data even though report showing first tablix only.

scenario2:when setting expression for hidden directly true,  then csv file exporting with only first tablix  data.




Font color rendering differences between Internet Explorer/Chrome/Firefox

$
0
0

Hi All,

I am observing differences in the way font colors are rendered between Chrome, Internet Explorer, and Firefox.

I have discovered this can be resolved by changing the way the Font color is specified when creating the report.

If the Report.rdl file XML tag for Font color reads:  <Color>Blue</Color>, only Internet Explorer properly renders the text in Blue.  Chrome and Firefox do not.

If the Report.rdl file XML tag for Font color reads: <Color>"=Blue"</Color>, all three browsers properly render the text in Blue. 

In order to do this, I must use the F(x) expression editor to choose my color.  Typically we take the lazy way out and choose directly from the palette, which encodes it the way of my first example.

We are running SSRS 2017, Visual Studio 2017 on Windows 10.

Any ideas?  Is anyone else observing this behavior?

Thanks for your help.

--Dan

How to set up SSRS web portal for users without enabling local admin rights?

$
0
0

Hey all,

I'm just looking for the best way to let my end users to view and run reports on demand from SSRS and interact with the parameters before running. Please let me know if there's a better tool for this. Right now, our outside IT company is saying that there's not a way to provide access to the web portal without enabling admin rights locally for the users, which we can't do for everyone that we want to access these files. 

Our SQL Server and SSRS are hosted on premises, which probably complicates things somewhat. We really only want to use this for users on our local network though. Does anyone have any ideas or workarounds for this situation?


How to add "Design a new report" option to the ReportViewer control in Visual Studio 2017

$
0
0

Hi 
I followed the following steps and added ReportViewer control to the Toolbox. 

Adding Report / Report Wizard to the Add/New Item menu by:

  • Going to Visual Studio menu Tools/Extensions and Updates
  • Choose Online from the left panel.
  • Search for Microsoft Rdlc Report Designer for Visual Studio
  • Download and install it.

Adding ReportViewer:

  • Open solution
  • Open NuGet Package Manager Console
  • Installà Microsoft.ReportingServices.ReportViewerControl.WinForms
  • Right-click in the toolbox and use Choose Items...
  • We need to browse to the proper DLL that is located in the solutions Packages folder, so hit the browse button.
  • Then lib à net40
  • Finally, double click on the file Microsoft.ReportViewer.WinForms.dll (latest version)
  • You should see ReportViewer checked in the dialog.
  • Click OK.

I was able to see ReportViewer control in the Toolbox, but when I add it to the report it is giving me error

"Failed to create component 'ReportViewer'. The error message follows:   "  

So I uninstalled and installed previous version (14.340.80) of the DLL. 

Now,I see ReportViewer but, I am not seeing "Design a new report" option in the ReportViewer tasks.

Please let me know how to add it and let me know what is wrong with the latest version of the DLL

Thanks


Report Subscription - Windows File Share - Not writing file to the shared folder

$
0
0

I was trying to create a report subscription as the steps mentioned in below link.

https://docs.microsoft.com/en-us/sql/reporting-services/subscriptions/subscriptions-and-delivery-reporting-services?view=sql-server-2017

I’ve tried both Standard and Data-Driven Subscriptions. And was trying the Windows File Share.

The issue I’m facing now is that, the report file which is generated by the subscription is not writing to the shared folder I’ve created in the Report Server.

Here is what I did.



  • Made sure the user is in Administrators Group


  • Here is my subscription (Owner and file share access Credentials are same/ same user has access to the Shared Folder as well)


  • I’ve tried adding a File Share account (the same WINDOWS user) as well because that is another option I can choose as shown above in the red highlighted


  • I’ve a question here: You can see it is mentioned in the screen shot above that “an account that is different from the account used for the Reporting Services service account”. This refers to the Service Account I mentioned below?
  • Service Account is set as Virtual Service Account (I don’t know this matters)


  • Always when the report subscription runs throws some ACCESS DENIED Error:
  • “Throwing Microsoft.ReportingServices.Diagnostics.Utilities.WindowsAuthz5ApiException: , Microsoft.ReportingServices.Diagnostics.Utilities.WindowsAuthz5ApiException: Windows returned a ERROR_ACCESS_DENIED error when Reporting Services attempted to call the Windows Authz APIs. If this issue persists the Reporting Services account may not possess permission to perform authentication checks. Check the Windows Authz documentation for more information and details on diagnosing issues. Authz method: AuthzInitializeContextFromSid, Error code: 5, UserName: WINDOWS\TestUser”
  •  I’ve tried several solutions in different forums and they’ll didn’t help (here are some links I’ve gone through):
  1. https://stackoverflow.com/questions/38056889/file-share-delivery-of-ssrs-without-domain
  2. https://support.microsoft.com/en-us/help/842423/a-call-to-the-authzinitializecontextfromsid-api-function-fails-during
  3. https://social.msdn.microsoft.com/Forums/en-US/bdc5b51c-444b-442d-9657-3cf5495e79d0/file-share-delivery-failing#7725882e-d7c6-4b3d-88f6-2620409c3d48
  4. https://www.sqlshack.com/report-subscription-changes-sql-server-reporting-services-2016/
  5. https://social.msdn.microsoft.com/Forums/en-US/3767a04c-0e91-41a0-b568-c01da23791f6/ssrs-2016-email-subscriptions?forum=sqlreportingservices

regarding the error in the ssrs in cascading reports

$
0
0

i have created the report using the adventureworks2012 database to display the reports of the parameters of product name, product category  and product subcategory

using the following steps 
main query 

SELECT DISTINCT P.Name AS PName, PSC.Name AS PSCName, PC.Name AS PCName
FROM Production.Product AS P
INNER JOIN Production.ProductSubcategory AS PSC
ON P.ProductSubcategoryID=PSC.ProductSubcategoryID
INNER JOIN Production.ProductCategory AS PC
ON PC.ProductCategoryID=PSC.ProductCategoryID
WHERE PC.Name IN (@PCName) AND PSC.Name IN (@PSCName)

and parameter query one of categoryname

SELECT DISTINCT Name AS CategoryName 
FROM Production.ProductCategory

and second query of subcategory name

SELECT DISTINCT PSC.Name AS SubCategoryName
FROM Production.ProductSubcategory AS PSC
JOIN Production.ProductCategory AS PC
ON PSC.ProductCategoryID=PC.ProductCategoryID
WHERE PC.Name IN (@PCName)

and third query of product name 

SELECT DISTINCT P.Name as ProductName
FROM Production.Product AS P
INNER JOIN Production.ProductSubcategory AS PSC
ON P.ProductSubcategoryID=PSC.ProductSubcategoryID
INNER JOIN Production.ProductCategory AS PC
ON PC.ProductCategoryID=P.ProductSubcategoryID
WHERE PC.Name IN (@PCName) AND PSC.Name IN (@PSCName) AND P.Name IN (@PName)

and after giving the values in the parameter properties 

it is showing the following error

an error occurred during local report processing, the definition of the report parameters is in valid

the report parameter PName has a default value or a valid name that depends on the report parameter "PName".forward dependencies are not valid.

anyone  help me with the error 

thanks you 

harish

the value expression for the field contains an Error:[BC30198] ')' expected.Overload resolution failed because no accessible 'iif' accept this number of arguments

$
0
0

Hi Folks, 

I am trying to create the new field using calculated field in one dataset. But I am getting the issue. Could you correct me where I am mistaking it.

=IIf(Parameters!Duration.Value="entireweek",
IIf(Parameters!InteractionOf.Value="3",first(Fields!cla_interactiontype1.Value, "DataSet1"),
IIf(Parameters!InteractionOf.Value="1",First(Fields!cla_interactiontype1.Value, "DataSet2"),
First(Fields!cla_interactiontype1.Value, "DataSet3"))))

Thanks for quick response

Immanuel Chelladurai


SSRS(.rdl) Drilldown, Sorting and Drillthrough issues for viewing the report using WCF c# programming

$
0
0

We are using .net c# programming to view the report from SSRS(.rdl) using WCF. 
We have used Report Server Commands (rs:) ShowHideToggle as a parameter for drill-out data.
Could anyone help me how to use ShowHideToggle parameter into Render method of WCF?

When we try to toggle the button, the server simply returns an empty response, nothing shown in the response neither data (same “without drilldown” data) nor error.

We are simply clueless about what is happening.

Moreover, we need to confirm that are we referring to the valid command to use drilldown, drillthrough and sortig for our report?
Could you please share your views to help what we are missing?

Viewing all 20764 articles
Browse latest View live


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