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

Unable to allocate an environment handle

$
0
0

I am using MS SQL Server Report Builder 2014. I've added an Excel Driver and connected it to an Excel file.

When I go to create the data source and test the connection in Report Builder, I get the "handle" error every single time. Any suggestions? 


How do i highlight the header row for three different time dimension

$
0
0

I have a report pull rolling 7 days data , Month to date data , Last four week data 

example:

Group 1Group 2Group 3
4-Jan3-Jan2-Jan1-Jan31-Dec30-Dec29-Dec5-Jan24-Dec17-Dec10-Dec3-Dec

I had three groups as week 1 , 2 and 3

in SSRS how do highlight group week 2 header?

Group 2  is Month to date sales data I used period sale yesterday +1 in the code 

SSRS 2016 - unable to edit Data Driven subscription issue with date parameter

$
0
0

hi there,

I am running SSRS 2016 with the most recent CU in Windows 2016 server.

From 2nd Jan, we noticed that whenever we edit any data driven subscriptions with date parameter it will have the pop up message as below but it bring you to subscription detail page. 

An error has occurred.

Something went wrong. Please try again later.

From the report log:

OData exception occurred: System.FormatException: The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at Microsoft.ReportingServices.Portal.Services.ODataExtensions.ParameterValueExtensions.FormatAsGeneralDateShortTime(String Iso8601Date)
   at Microsoft.ReportingServices.Portal.Services.ODataExtensions.ParameterValueExtensions.ToSoapValue(String webApiValue, ReportParameterType reportParameterType)

Wonder if anyone has similar issue, and if so how do you resolve it? 

Many thanks

Regards

Lee San

RDLC Report-viewer shows blank pages when selecting 3rd page out of 10

$
0
0

Hello Dear,

We face the issue in RDLC report viewer; e.g. when we want to have a report of a 7th page out of 10 pages then it displays one blank page before and after 7th page - so instead of having a one-page report, we are getting a 3-page report - the first page and the last page shows blank but 2nd page displays the required data. 

Let us know your kind feedback.

If you need any additional info please let us know.

Thanks and regards,

Satwadhir

Power BI Report Server cannot upload Branding to the web portal

$
0
0

hi, I copied the example metadata.xml as website instruction “https://docs.microsoft.com/en-us/sql/reporting-services/branding-the-web-portal?view=sql-server-2017”, and package a zip file to upload to my Power BI Report Server, but it failed as below picture. Any suggestion for my uploaded package?

metadata.xml:

<?xml version="1.0" encoding="utf-8"?>  <SystemResourcePackage xmlns="https://schemas.microsoft.com/sqlserver/reporting/2016/01/systemresourcepackagemetadata"  
    type="UniversalBrand"  
    version="2.0.2"  
    name="SEGX brand"  >  <Contents>  <Item key="colors" path="colors.json" />  <Item key="logo" path="logo.png" />  </Contents>  </SystemResourcePackage>  

colors.json copied website instruction, and package "logo.png" in the zip file. Why cannot upload?

error shows:

An error has occurred.

There is a problem with the system resource package.

The system resource package metadata file is invalid.



Permissions on new SSRS users with REST API

$
0
0

Hi, 

I'm currently trying to add permissions on new ssrs users with rest api.

Currently, I can create new user but as soon as this user is connected to SSRS, I get an error message rsAccessDenied.

I've searched on the REST API but I haven't found any solution to add permissions for a user to get access to specific report for example.

Every informations about this will be very helpfull!

Thanks.

Bug in SSRS DateInterval.WeekOfYear

$
0
0

The function DateInterval.WeekOfYear   computes week 53 for 2018  which does not exist.

my full expression is run on 7 of january 2019

= (CStr(format(dateadd("d",-7,now),"yy"))+"W"+right(CStr(100+DatePart(DateInterval.WeekOfYear, dateadd("d",-7,now), vbMonday, vbFirstFourDays)),2))

Results in 18W53

I know it is useless to ask Microsoft to fix anything but keep guys in mind that timedate calculations from Microsoft are not reliable (just as anything they do)  :)

i know there can be bugs but Microsoft is terrible at fixing them. Speak not from my emotion but experience. :)


From Project Techcenter


Datazen publisher for Windows 10

$
0
0

Hi - Can someone please point me download location for Datazen publisher for windows 10 version

thanks


SSRS Parameters

$
0
0

Hello, I have a report that uses a main Parameter for the end user to choose how they would like the report grouped / sorted / displayed. When you first enter the report, and choose the desired Parameter, everything works great, but if you then want to choose a parameter, the dependent parameters do not refresh, so no change to the report. From searching, I see this is how SSRS is supposed to act, but does anyone have a suggestion on how change / hack / get around this behavior other than refreshing the screen between parameter changes?

Main Parameter

Dependent parameter uses Switch function to get proper choice in the Default Choice code

=Switch(
Parameters!Group_Choice.Value = 1,  “N”,
Parameters!Group_Choice.Value = 2,  “N”,
Parameters!Group_Choice.Value = 3,  “Y”,
Parameters!Group_Choice.Value = 4,  “N”
)

The Groups use the Switch command in a similar fashion to dynamically change the Groupings and sorting

Tooltip for Point

$
0
0
I have developed a ssrs map report using visual studio ultimate 2013 . The map is US and maps geospatial points. Each point represents the location of an asset. The map has a tooltip defined so when hovering over any part of the map a summary of counts displays and each individual point has a tooltip to for display individual asset information. This all works fine locally in Report Viewer but when deployed to the Report Server  the tooltip for the individual points does not display. The map tooltip works fine. Any ideas as to what t he problem might be.

Column headers not on each page or staying put while scrolling

$
0
0

Doing up a report and the darn headers would not stay put. I found this question previously asked (https://social.msdn.microsoft.com/Forums/en-US/320a5f33-ca5f-49d7-bd9a-6bb1fd6b15c1/column-header-on-each-page-in-pdf?forum=sqlreportingservices) and followed the link provided (pointing to https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008-r2/cc627566(v=sql.105))

Followed those directions and the bugger headers are still not staying put while scrolling, nor appearing on each page. 

I am on M-soft SQL server report builder 15.0.900.71

Thanks

using if statement in sql reports

$
0
0

I am trying to use a sum and if statement together currently it looks like this and only sums the first potion of the statement disregarding everything after the or:

=Sum(IIF(Fields!meter.Value like  "*E" or  Fields!meter.Value like  "*DEL" or Fields!meter.Value like  "*REC"),1,0))

Thanks in advance for the help! 

ORA-06550 (wrong number or types of arguments in call to 'blah') error from SSRS when invoking Oracle sp with an "OUT" parameter

$
0
0

We are currently experiencing issues trying to connect to Oracle stored procedures from Microsoft SQL Server Reporting Services 2014, receiving the following error anytime we try and run any stored procedure via a report connecting to an Oracle stored procedure: 

ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to '<<procedure name here>>' ORA-06550: line 1, column 7: PL/SQL: Statement ignored 

These stored procedures return an “OUT” SYS_REFCURSOR parameter as required to return a data set to SSRS, and it seems to be that parameter that is causing the issue for all our reports.  

We are running SSRS on a Windows Server 2012 R2 Standard OS, 64 bit, and SSRS is running under a 64 bit configuration.  We have installed the ODAC 64 bit components (64-bit ODAC 12.2c Release 1 (12.2.0.1.1) for Windows x64) for Windows (downloaded from https://www.oracle.com/technetwork/database/windows/downloads/index-090165.html) and also registered the ODP.NET DLLs on the server into the GAC as our reports use this connection method. 

From SSRS on the server, we can successfully make a connection to the Oracle datasource using the SSRS Report Manager.  And from our development machines, where we installed the 32 bit ODAC / ODT Tools for Visual Studio (ODAC 12.2c Release 1 and Oracle Developer Tools for Visual Studio (12.2.0.1.1)) (because Visual Studio uses the 32-bit ODAC components), we can successfully connect to the Oracle database  and execute the reports without the error we are receiving on the server. 

We have already validated that we have the correct parameters in the report, and we have validated that we can connect and execute the stored procedures successfully via SQL Plus and also on our local development machines from the SSRS report.

We are trying to connect to an Oracle 11.2.0.4 database.

We have already tried following the advice and procedures from a number of articles, including those listed in other posts on this site such as "https://social.technet.microsoft.com/Forums/en-US/424f750e-7f58-49e3-bd4a-51e0acdd99a4/not-able-to-use-oracle-sp-in-ssrsgetting-an-error?forum=sqlreportingservices" and "https://social.technet.microsoft.com/Forums/en-US/626c9c6c-1c99-4718-9cb1-054a102701cd/ssrs-calling-a-stored-procedure-error-pls00306-wrong-number-or-types-of-arg?forum=sqlreportingservices&ppud=4".  But as far as we can tell, the ODAC version we have installed on the server (12.2c Release 1) can connect to an Oracle database version 10g or higher (according to https://www.oracle.com/technetwork/topics/dotnet/install122010-3711118.html), and our database is 11.2.0.4 so we should be good, correct?  Or is the Oracle documentation wrong, and in order to connect to an Oracle 11.x database we need the ODAC 11.2.0.3.0 components on the server (even though the ODAC 12.2c components installed on our development machines allow us to run the reports successfully from Visual Studio)?

Anyone have any thoughts?

Thanks in advance.

ssrs optional parameters possible

$
0
0

In an ssrs 2010 or ssrs 2012 report, I am wondering if there is a way for parameters to be visible or not visible depending upon an expression.

In other words, this rdl will allow the user to select which individual report(s) they want to see or all the reports at the same time. Thus if the user select report #2 and only parameter #1 and #4 are needed for that report, is there a way to show only the parameters # ! and #4?

Thus can you tell me if this is possible? If not, can you tell me how to accomplish my goal?

open ssrs report from mvc action menthod.

$
0
0

Hi,

I have requirement to open  report using url from mvc application. Please suggest how to do this.

Here I am  using Report viewer.

when clicking on report1 name as hyper link(as shown below image).Report should open in new window.

In mvc action method code will be 

 public ActionResult GetReport()

           {


            return JavaScript("window.open('http://server/Reports_123/report/Report%20Project1/report1?s:Embed=True')");
        }


Above code not working






SSR Reports wont open in xlsx but it will open in xls format

$
0
0
ssrs 2017 wont export any reports to the newer version of excel or word. Pdf, and all other options work. We can go in the config file and turn on the old version of excel and the reports open up as xls?   Help. we have reinstalled, checked config. This is server 2019

IE hits error when SSRS renders over 80,000 links in the document map section.

$
0
0

Hello All,

We have a SSRS rerport (created in VS 2015), which displays document map and content. The content has about 100,000 rows of data, while there are over 80,000 records to be rendered in the document map section.

 

When bring up the report by using the Internet Explorer Version 11, it hits below error when traced by using F12:

  • "Not enough storage is available to complete this operation" at ScriptResource.axd line "updatePanelElement.innerHTML=rendering"

 

Based on the information in the executionlog2, it shows that both the rendering and GetDocumentMap process have been completed successfully. But, IE still hitting the above error. In contrast, accessing the exact same report by using Edge browser has no problem at all!

 

It appears that this issue is only occuring to IE. We have set the IE cache to 10mb or higher as per suggestion found from the Internet, it doesn’t help.

 

Has anyone encountered this issue before and what is your solution to it?


html tag with ordered list is not rendering properly in SSRS report

$
0
0

Hi,

We are facing issue with html tag specially <ol> tag and <ul> tag is not rendering properly on SSRS report, but in browser it is displaying perfect.

Please provide me best suitable solution to display it on SSRS as it is displaying in browser.

My html text is like below:

<p style="margin-left:0in; margin-right:0in">
This Bullet starts with "1"
<ol start="1">
<li>Size - M</li>
</ol>
</p>

<p style="margin- margin-right:0in"> 
This Bullet starts with "2"
<ol start="2">
<li>Color-Black</li>
</ol>
</p>

<p style="margin- margin-right:0in"> 
This Bullet starts with "3"
<ol>
<li style="list-style-type:none">
<ol start="3">
<li>HI claimed following:</li>
</ol>
</li>
</ol>
</p>

<p style="margin- margin-right:0in"> 
This is unordered list
<ul>
<li style="list-style-type:none">
<ul>
<li>HI claimed following:</li>
</ul>
</li>
</ul>
</p>

HTML Text render in SSRS report and Browser 

SSRS report with both portrait and landscape pages

$
0
0

Can any one say is it possible to have both landscape and portrait pages in single SSRS Pdf report.

For Example: I have a SSRS pdf report with 5 pages, Among them page 1,2 and 4 should be portrait and page 3 and 5 should be landscape pages.

Please let us know whether it is possible or not? if yes how? if not please suggest the alternate solution to achieve above requirement. Thanks. 

 

SSRS Report is showing loading always for large data client

$
0
0

Hi Team-

SSRS report is working fine directly on the SSRS server but when I am running report for large client from local laptop then it is showing keep loading. If the stored procedure is running more than 15 min then it is getting auto rollback from data with TM REQUEST Command.

I have set all the timeout setting on SSRS and DB level but still issue not resolve. 

Large client report is giving failed message in report.


Getting below SSRS error log message -

runningjobs!ReportServer_0-3!a4c!01/07/2019-08:12:35:: i INFO: RunningJobContext.IsClientConnected; found orphaned request r4ptqveifl5gewu2tyz4k545

processing!ReportServer_0-3!a4c!01/07/2019-08:12:35:: i INFO: DataPrefetch abort handler called for Report with ID=. Aborting data sources ...
runningjobs!ReportServer_0-3!1308!01/07/2019-08:12:35:: i INFO: Adding: 1 running jobs to the database
processing!ReportServer_0-3!16f0!01/07/2019-08:12:35:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'ds05_GetReportData'. ---> System.Data.SqlClient.SqlException: A severe error occurred on the current command.  The results, if any, should be discarded. Operation cancelled by user.

runningjobs!ReportServer_0-1!940!01/07/2019-14:11:57:: i INFO: RunningJobContext.IsClientConnected; found orphaned request buek3u5520z3ayj22fdqbo55
library!ReportServer_0-1!940!01/07/2019-14:11:57:: i INFO: CancelableSqlCommand.Cancel not called, connection is not valid
processing!ReportServer_0-1!940!01/07/2019-14:11:57:: i INFO: DataPrefetch abort handler called for Report with ID=. Aborting data sources ...
processing!ReportServer_0-1!1604!01/07/2019-14:11:57:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: [UserCanceled:ReportProcessing], Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: Report processing has been canceled by the user. ;
processing!ReportServer_0-1!1604!01/07/2019-14:11:57:: w WARN: Data set 'ds05_GetReportData': Report processing has been aborted.
processing!ReportServer_0-1!1604!01/07/2019-14:11:57:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: [UserCanceled:ReportProcessing], Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: Report processing has been canceled by the user. ;
processing!ReportServer_0-1!1604!01/07/2019-14:11:57:: e ERROR: Data source 'RAOLAP': Rolling the transaction back.
processing!ReportServer_0-1!1604!01/07/2019-14:13:02:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Failed to roll back transaction for data source 'RAOLAP'. ---> System.Data.SqlClient.SqlException: Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception: The wait operation timed out

Please advice to resolve this issue.

Viewing all 20764 articles
Browse latest View live


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