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

SQL Server 2017 Reporting Services Error create datasource / upload rdl

$
0
0

Hi,

I am experiencing issues with my SQL Server 2017 Reporting Services Installation Version14.0.600.1453(October 2017) on my local computer. I'm able to access the SSRS Webportal and can create folders and KPIs without any issues.

However, I'm prompted by an error message if I try to create a new datasource or upload a report file (.rdl):

An error occurs, please retry.

The RSPortal_2020_01_22_14_27_15 has the following ERROR entry:

2020-01-22 12:41:17.2122|ERROR|81|OData exception occurred: Microsoft.SqlServer.ReportingServices2010.RSConnection2010+MissingEndpointException:

Error connecting reportserver, verify conncetion informations and verify that the reportserver runing a compatible version.

---> System.InvalidOperationException:

Client found request-contenttype is '', expecting 'text/xml'.


Some more details:

On my local computer the following Editions are installed:

- SQL Server 2016 developer edition incl. SSRS

- SQL Server 2017 developer edition

- SSRS 2017

- Power BI-Reportserver Version 1.6.7236.4246 (September 2019)

My local windows account is member of SSRS roles: Systemadministrator, Systemuser and
Report-Generator, Browser, Publisher, Content-Manager, My reports
Each SSRS Server configuration has a different WebService-URL, Webportal URL.

Reportserver databases are hosted on a local MS SQL Server 2017 Server.

Credentials for the Reportserver Database are set to a local Windows account.

That windows account on the SQL Server 2017 is member of the roles db_owner, public, RSExcecRole for the Reportserver databases.

Authentication (rsreportserver.config) is set to: RSWindowsNTLM

Anyone experienced the same issue and knows how to troubleshoot?

Thanks in advance, Bodo




 

SSRS : Displaying Data in Maps rpeort

$
0
0

Hi guys - I have a report where it has values State, Current Count, payments etc..

I want to create a USA map displaying the values State and Current Count from my SSRS Data Set. On the each state on Map it should highlight the State name and Current Count. For Example : State: TX / Current Count : 100

I was able to create the Map and selcted the option 'Usa by State exploded' and selected the 'Analytical map' and mapped only StateFp with StateCode (from my Dataset) and selected the fields to visualize but its not showing the data. 

This is how my data is : 


Please help

How to delete a saved and hidden column in Microsoft Project - column shows in extracts

$
0
0
Hi. I have read that a column in Project CANNOT be deleted. I inherited a very long project plan. The issue is someone duplicated a column, saved it and hid it. The correct column which contains date gets updated. The plan visually is fine. However the problem is when a row is copied and pasted into excel or outlook, the duplicate column which is full of incorrect dates pastes into the extract. Adding the column back in mirrors the correct column.  Unfortunately the data was not deleted prior to the save. This is causing a massive problem on extracts as it's showing a column with correct info and one that has incorrect info. Is there ANY way to fix this. THANKS ALL!

SSRS Matrix not displaying all values

$
0
0

I have a simple matrix as shown below : 

KPIs          Dec-2019             Nov -19             Oct -19         .....

KPI-1          Value                    Value                Value      

KPI-2           Value                   Value                 Value

.... 

as the months are continuously changing (rolling last 6 months) I have to use Matrix. 

The problem is despite the stored procedure returning full set of data (even if I use Tablix all the data is there) , some values are not showing up . I have tried everything, funny thing is that if change the sorting order of KPIs and Months the missing value change from month to month. it means the data is there, it's just not showing up! 

I am running out of ideas here, have you seen anything like this? 

Virtual Directory is Reports_SSRS

$
0
0

I have installed SQL2017 SSRS and the virtual directory is Reports_SSRS so all my URLs are the same. My colleague installed on a different server and the virtual directory is just Reports, as usual.

Why did mine default to a different name, any ideas please?

Get this message - Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database

$
0
0

Hi Folks!

I just did a in-place upgrade from 08 to 12.

Every thing seems to be working okay but I do have two concerns.

1. Every time I restart the SQL server (VM) it gives me this message"Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database".

When looking at services, it is running.

I find this error in server manager.

It never happens again until I restart.

What impact would this service have on my system?

2. The other issue is that the only application we use with this SQL server is having problems sending out email to my SMTP server. It has been working for years and now it has stopped. Would the Report Server Windows Service have anything to do with it?

This is a "big deal" since we send all of our invoices by email and now it's not for working 4 days now.

I would appreciate any comments or suggestions.

Thank you very much,

Jim


Jim Hedge

Conversion failed when converting date and/or time from character string. Warning: Null value is eliminated by an aggregate or other SET operation.

$
0
0

Hi All,

In my code i have an expression like below

max(CASE WHEN R.NAME='approved' THEN 
r.approved_on ELSE NULL END) over(partition by p.person_nbr) AS 'ApprovedDate'

The r.approved_on is a string value like (20200117). I am using this in SSRS and is causing issues when i am using this as date parameters. I have tried this in SSMS 


CONVERT(varchar(10),cast(r.approved_on AS date), 101) 

And when in SSMS i declare the @startdate and @enddate and apply the where clause (where r.approved_on between @startdate and @enddate) i a getting this error

Conversion failed when converting date and/or time from character string. Warning: Null value is eliminated by an aggregate or other SET operation.

Please advice

Thanks

Reporting Services Export to Excel xlsx - number/percentage formatting don't work on an iPhone (in Outlook E-Mail Excel preview)

$
0
0

Hello everyone,

first of all, everything works fine on Windows Server and Windows 7/10 in Excel 2010 and Office 365. Unfortunately the formatting is lost on the iPhone in Outlook's Excel file preview and I think not just in the preview:


So in the whole report it's 0%, -0%, 1% in every line.
0% (0.08xxxx) is supposed to be 8 %.
24,138.78 is supposed to be 24,139 (minor issue)
Our business statistics are sent via Reporting Services as excel files (xlsx).

The formatting of numbers is done via Field Property "Format: #,0"
The formatting of percentages is done via Field Property "Format: 0.0 %" in:

- Visual Studio Pro 2017 (MS RDL Report Designer template)
- Microsoft SQL Server 2014 (SP3) (KB4022619) - 12.0.6024.0 (X64)
- Sep  7 2018 01:37:51
- Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)

I can sort of fix the percentages if I format the percentages not in the field property but in the expression: e.g. "Format(Value / Value, "0.0 %")
But this way the decimals are lost and it's not a real number in Excel anymore.
FormatPercentage(), and expressions like P1 in expression or field property don't work either.

The problem is the formating the fields receive after the excel export:


Why does reporting services "add" the [$-en-CA, 1] in front of the format?
When I change the "[$-en-CA, 1]0,0 %" format to "0,0%" in Excel and resend it , everything works fine on the iPhone.
It shows "[$-en-CA, 1]0,0 %" in Outlook 365 or "[$-11009]0,0 %" in Excel 2010, resp.

Thank you very much in advance, I hope you can help me or fix this issue.

Best regards,
Anna



SSRS Report With Subreports

$
0
0

Hi

I have a report and after changes to add extra criteria it would appear the parameters are not being passed to all the other sub reports.

I have checked all the parameters required and they exist as you would expect. The reports are working fine individually.

Using SQL Server 2012 , SSRS Reports with Sharepoint 2013

Object reference not set to an instance of an object.
----------------------------
An error occurred during rendering of the report.
----------------------------
An error occurred during rendering of the report. (rrRenderingError)

Any help would be appreciated. 

How to ID SSRS reports that haven't been executed?

$
0
0

Hello,

We have a serious case of SSRS sprawl.  Nobody's worked here longer than SSRS has been serving reports and now we have over 2,000 reports and need to start a cleanup effort.  How can we ID reports that have no history in the execution log?  I know about the 60 day default retention period and how to change it.

Thanks,
Eric

Accessing SSRS on the internet problem...

$
0
0

Hi everyone,

i have a problem loading my SSRS report that is in my MVC application. in the dev pc it works fine, the report is loading under the application webpage. (http://localhost/reports)

when i deployed the application in the prod server to be accessible online (ex. www.example.com/reports). the report page redirect to the SSRS interface  (www.example.com/reports/browse) and with some permission error. what am i doing wrong?

please share your knowledge in solving this problem.

Thank you.

What is the stand/road map for your RDL standard paginated reports.?

$
0
0

What is the stand/road map for your RDL standard paginated reports.? We couldn’t find any clear picture of the upcoming releases about paginated reports. In my understanding, you are mainly focusing on Power BI.

Whether the SSRS RDL reports are mobile reports.?

Both RDLX and RDL  have same paginated rendering behavior? 

The remote endpoint requires HTTP authentication scheme 'NTLM'

$
0
0

Unable to connect to the MBAM Recovery and Hardware service.

Error Code: -2143485922

Details:

The remote endpoint requires HTTP authentication scheme 'NTLM'

Event ID: 18 Source MBAM


Vishal

Add users via SSMS

$
0
0

Hello, 

We have inherited a SQL server along with reporting services.  Have sysadmin rights on the instance but we cannot access any reports via the browser.  Thought there would be a way of adding via a connection to "Reporting Services..." in SSMS but things like SSRS properties and "New System Role" are all greyed out.  

I have added myself as a user with db_owner rigths to ReportServer and ReportServerTempDB and re-connected but nothing has changed. 

Is this possible and if so what have I missed? 

  

How to display only the selected deparment parameter

$
0
0

Hi,

How do I only display the selected department(s) activation?e.g. I selected the Emergency department, but in the top table it still displayed as if I selected all the departments? I have attached my code. Thanks in advance.

ALTER PROC [dbo].[GHS_usp_MyChart_Activations_byDep_detail] ( @in_StartDate date ,@in_EndDate date ,@Department varchar (MAX) --,@Act_Type varchar(max) --activation type ) AS SET NOCOUNT ON BEGIN SET NOCOUNT ON; --use local variables to Parameter de-sniffing. Use relative dates for local date parameter. Need to add a conversion if want to display dates in the RDL declare @lv_StartDate datetime set @lv_StartDate = @in_StartDate declare @lv_EndDate datetime set @lv_EndDate = @in_EndDate set transaction isolation level read uncommitted --unlock tables --New Activiations in the time range IF object_id('tempdb..#new_acts') IS NOT NULL DROP TABLE #new_acts; select pmsh.PAT_ID , p.PAT_NAME , max(pmat.ACSS_TIMESTAMP) as 'CodeCreateTime' , max(pmsh.myc_stat_hx_tmstp) as 'MYCTime' --MyChart activation time , emp.NAME as Activation_Employee , p.pat_mrn_id into #new_acts from Clarity.dbo.pat_myc_stat_hx pmsh inner join Clarity.dbo.pat_myc_acss_trk pmat on pmsh.PAT_ID = pmat.PAT_ID and pmat.MYC_ACSS_ACTION_C =1 inner join Clarity.dbo.patient p on pmsh.pat_id = p.pat_id Left Outer Join Clarity.dbo.CLARITY_EMP emp on pmat.MYC_ACSS_USER_ID = emp.USER_ID left outer join clarity.dbo.clarity_dep as cdep on pmsh.Department_id = cdep.department_id where pmsh.myc_stat_hx_tmstp >= @lv_StartDate and pmsh.MYC_STAT_HX_TMSTP<dateadd(day, #found_nomatch="" #found_nomatch;="" #new_acts="" #step2="" #step2;="" 'ed="" 'ed%'="" 'ed'="" 'ip="" 'ip%'="" 'ip'="" 'no="" 'no'="" 'op="" 'op%'="" 'op'="" 'patient="" 'yes'="" (="" ('0'="" (1000,1003,101,105,106,120,1200,1201,1214,1215,1216,1217,1218,1220,1221,2,201,210,2100,210011013,2101,2102,210771,210781001,210781002,210781003,210781004,2109071101,2502,2508,2509,3,51,52,53,81,90,61)="" (61,105)="" (@department,','))="" (@department,',')))="" (pe.appt_status_c="2" (select="" )="" ,abs(datediff(hour,s.myctime,="" ,acct_basecls_ha_c="n.ACCT_BASECLS_HA_C" ,acct_class="n.Acct_Class" ,activation_in_clinicoradm="case" ,activation_type="case" ,department_name="n.DEPARTMENT_NAME" ,final_adm_datetime="case" ,final_disch_datetime="case" ,har.disch_dept_id,dep.department_name,="" ,myctype="n.MycType" ,n.*="" ,pat_enc_csn_id="n.PRIM_ENC_CSN_ID" ,pe.pat_enc_csn_id,="" ,peh.department_id,="" --="" ---regina="" --and="" --find="" --found="" --inactivated="" --not="" --patient="" 1,="" 1-24-2020="" <="" @lv_enddate)="" [clarity].[dbo].[udf_splitparameter]="" a="" a.*,="" a.activation_type="IP" a.order_visit="1" aa="" aa.*,activation_in_clinicoradm="case" aa.codecreatetime,="" aa.myctime)<="4" aa.order_visit="1" abs(datediff(hour,s.myctime,="" acct_basecls_ha_c="" acct_class,="" acct_class,map.base_class_map_c="" activated="" activation="" activation'="" activation_in_clinicoradm="Yes" added="" adm_date_time,="" after="" allow="" and="" as="" before="" by="" cdep.department_id="" clarity.dbo.clarity_dep="" clarity.dbo.hsd_base_class_map="" clarity.dbo.hsp_account="" clarity.dbo.pat_enc="" clarity.dbo.pat_enc_2="" clarity.dbo.pat_enc_hsp="" clarity.dbo.pat_myc_stat_hx="" clarity.dbo.zc_acct_basecls_ha="" clarity.dbo.zc_acct_billsts_ha="" clinic="" closest="" coalesce(pe.checkin_time,="" coalesce(pe.checkout_time,="" coalesce(peh.hosp_admsn_time,="" codecreatetime,s.myctime="" date)="" datediff(hour,="" dep="" department="" department_id="n.DISCH_DEPT_ID" desc="" disch="" disch_date_time,har.hsp_account_id,="" distinct="" div="" drop="" else="" email,="" emp.name="" end="" final_activation_basetype="case" for="" from="" group="" har="" har.acct_basecls_ha_c="zbc.ACCT_BASECLS_HA_C" har.disch_date_time))="" har.disch_date_time)))="" har.disch_dept_id="dep.DEPARTMENT_ID" if="" in="" in(select="" include="" info="" initiated'="" inner="" into="" is="" join="" left="" letter="" like="" long="" map="" map.base_class_map_c="1" match="" match'="" mychart="" myctype="case" n="" n.codecreatetime,="" n.myctime)<="4" n.pat_id="" no="" not="" null="" null)="" object_id('tempdb..#found_nomatch')="" object_id('tempdb..#step2')="" or="" order="" order_visit="" out="" outer="" outside="" over(partition="" p.pat_mrn_id,="" p.pat_name,="" p1="" p1.myc_stat_hx_c="2" p1.myc_stat_hx_tmstp="" p1.pat_id="" p2="" p2.myc_stat_hx_c="1)" p2.myc_stat_hx_tmstp="" patients="" pe="" pe.appt_status_c="" pe.appt_status_c,="" pe.checkout_time,dep.department_name,="" pe.effective_date_dt="cast(n.CodeCreateTime" pe.effective_date_dt)="" pe.effective_date_dt,="" pe.effective_date_dt,pe.checkin_time,="" pe.effective_dept_id="dep.DEPARTMENT_ID" pe.effective_dept_id,="" pe.enc_type_c="" pe.hosp_admsn_time,="" pe.hosp_dischrg_time,peh.hosp_disch_time,pe.effective_date_dt)="" pe.pat_enc_csn_id="peh.PAT_ENC_CSN_ID" pe2="" pe2.adt_pat_class_c="map.ACCT_CLASS_MAP_C" peh="" peh.adt_pat_class_c,="" peh.hosp_admsn_time)="" peh.hosp_admsn_time,="" peh.hosp_disch_time,="" pmsh.myc_stat_hx_c="1" pmsh.pat_id="" pmsh.pat_id,="" prim_enc_csn_id="" result="" row_number()="" s="" s.*,="" s.activation_type="No Match" s.department_id="" s.myctype="" s.pat_id="" s.pat_id,har.acct_basecls_ha_c,zbc.name="" select="" set="" table="" that="" the="" then="" those="" time="" time_diff,="" to="" update="" user="" visit="" when="" where="" zbc="" zbc.name=""></dateadd(day,>




SSRS api is giving 401 error from postman

$
0
0
When I access the url http://xyz/reports/api/v2.0  directly from chrome , it's working but when I tried to use it from Postman , getting 401 error.

SSRS 2019 Native mode fails to work after running configuration manger

$
0
0

Hello,

     Did a completely new installation of SQL Server 2019 on a Windows Server 2019 machine.  After the installation of SQL Server 2019, downloaded the SQL Server Reporting Services, and ran the installation of SSRS.  I inputed the key for SQL Server and installation completed presenting me with the Configure and customize screen.  I selected Configure Report Server entered the Server Name and selected Connect, with the default of SSRS for the instance name.  I selected the Database and the change database selecting Create a new Report Server Database, going with Native mode and service credentials, which ran through successfully.  I opened Windows Advanced Firewall and created a new Inbound for TCP Port 80, as it was not in use.  On the Configuration Manager I selected Web Service URL, and then Apply.  The Virtual directory was created and assigned, and the URL was then selectable.  I clicked on the link was prompted for Username and Password within IE and then after a few moments, was presented with an error (An Internal error occured on the report server.  See the error log for more details. (rsInternalError) The system cannot find the file specified. (Exception from HRESULT: 0x80070002).  Looking through the Log I see the follow:

ERROR: ServiceStartThread: Exception caught while starting service. Error: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

This does not show anything as to what file it cannot find.  

I tried a repair of SSRS with the same result.  I then uninstalled SSRS, Uninstalled SQL Server, restarted the machine and ran the installs again with the same result.  What is preventing SSRS from working correctly?


Michael R. Mastro II

SQLServer Reporting Service 2017 - Rest API to generate the Report

$
0
0

I am developing DOT NET web Application to generate the report using SSRS(Sql server 2016). Proxy dll is generated for web service "https://<Server Name>/ReportServer/ReportExecution2005.asmx"by accessing SOP API and invoking the method "Loadreport" and "Render" method to generate the Pdf, as referred by 

https://help.k2.com/onlinehelp/k2blackpearl/devref/4.7/default.htm#Reports_Generate_PDF.html

From SQL SERVER 2017 onwards, SOAP API is not supported and REST API to be used, refer the lin

https://docs.microsoft.com/en-us/sql/reporting-services/developer/rest-api?view=sql-server-ver15

I have not seen any API available for generating report, 

 https://app.swaggerhub.com/api/microsoft-rs/SSRS/2.0

Kindly revert on below points,

  • Whether SQL SERVER 2017 support web service "ReportExecution2005.asmx" by accessing SOAP API?
  • If Rest API is available, what is the method name to generate the report. Also share the sample source code.

Regards,

Nandha

Have a column show up in the CSV export but not in printing and not in the report

$
0
0

Hi, I want to add a column to the report called Program. 

I don't want Program to show up in the report or in printing, but have it show up in the CSV. Is this possible?

So far I have tried to use this for column visibility

=iif(Globals!RenderFormat.IsInteractive,False,True)

and then Visibility and Hidden set it to True but then when I export to CSV, Program does not show up. 

SSRS Report is very slow to render.

$
0
0

Hello all,

I am running a report with parameters passing it will get nearly 20000 records. The SSRS report is very slow to load. It's nearly 35 minutes to render that report. when i run the Stored Procedure in MSSQL it's hardly taking 3 to 4 sec to get 200000 records. I follow the below links to solve this problem but the issue is did't resolve.

https://stackoverflow.com/questions/2283943/fast-query-runs-slow-in-ssrs

https://social.msdn.microsoft.com/Forums/security/en-US/1b64454c-96ee-4d3a-95ca-6ef3bd41008e/ssrs-report-running-very-slow-but-query-is-very-fast-in-ssms?forum=sqlreportingservices 

Viewing all 20764 articles
Browse latest View live


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