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

SSRS set up email address subscriptions for all SSRS users


Scatter chart with upper and lower limits and a standard line

$
0
0

Hi All,

I have a requirement that i need to show the data points in a scatter plot and there should be a standard line, upper and a lower bound. I am unable to combine both. 

Please suggest



 


ERROR: Unable to load RS Configuration

$
0
0

When I try to open the portal of Reporting Service I receive this error "HTTP Error 503. The service is unavailable.

After some investigation I have found the following exception on "C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\LogFiles" RSPortal_xxxx.log file

<Header><Product>Microsoft SQL Server Reporting Services Version 14.0.600.744</Product><Locale>en-US</Locale><TimeZone>W. Europe Daylight Time</TimeZone><Path>C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\LogFiles\RSPortal_2018_07_19_14_55_12.log</Path><SystemName>SRVAPP01</SystemName><OSName>Microsoft Windows NT 6.2.9200.0</OSName><OSVersion>6.2.9200.0</OSVersion></Header>
RSPortal!reportserverwebapp!RSPortal.exe!1!07/19/2018-14:55:12:: i INFO: Starting ReportServerWebApp
RSPortal!reportserverwebapp!RSPortal.exe!1!07/19/2018-14:55:12:: e ERROR: Unable to load RS Configuration, error: System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. ---> System.Runtime.InteropServices.COMException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
   at System.Security.Policy.PEFileEvidenceFactory.GetLocationEvidence(SafePEFileHandle peFile, SecurityZone& zone, StringHandleOnStack retUrl)
   at System.Security.Policy.PEFileEvidenceFactory.GenerateLocationEvidence()
   at System.Security.Policy.PEFileEvidenceFactory.GenerateEvidence(Type evidenceType)
   at System.Security.Policy.AssemblyEvidenceFactory.GenerateEvidence(Type evidenceType)
   at System.Security.Policy.Evidence.GetHostEvidenceNoLock(Type type)
   at System.Security.Policy.Evidence.GetHostEvidence(Type type, Boolean markDelayEvaluatedEvidenceUsed)
   at System.Security.Policy.AppDomainEvidenceFactory.GenerateEvidence(Type evidenceType)
   at System.Security.Policy.Evidence.GetHostEvidenceNoLock(Type type)
   at System.Security.Policy.Evidence.RawEvidenceEnumerator.MoveNext()
   at System.Security.Policy.Evidence.EvidenceEnumerator.MoveNext()
   at System.Configuration.ClientConfigPaths.GetEvidenceInfo(AppDomain appDomain, String exePath, String& typeName)
   at System.Configuration.ClientConfigPaths.GetTypeAndHashSuffix(AppDomain appDomain, String exePath)
   at System.Configuration.ClientConfigPaths..ctor(String exePath, Boolean includeUserConfig)
   at System.Configuration.ClientConfigPaths.GetPaths(String exePath, Boolean includeUserConfig)
   at System.Configuration.ClientConfigurationHost.RequireCompleteInit(IInternalConfigRecord record)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   at System.Configuration.ConfigurationManager.GetSection(String sectionName)
   at System.Data.SqlClient.SqlConnection..cctor()
   --- End of inner exception stack trace ---
   at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
   at Microsoft.ReportingServices.Library.ConnectionManager.OpenConnection()
   at Microsoft.ReportingServices.Library.Global.get_SharePointIntegratedFlagFromCatalog()
   at Microsoft.ReportingServices.Library.ServiceController.EnsureConfigurationFromDB()
   at Microsoft.ReportingServices.Portal.Services.Configuration.RsConfigProvider.Load()
   at Microsoft.ReportingServices.Portal.Services.Configuration.PortalConfigurationManager.LoadSettings()
RSPortal!reportserverwebapp!RSPortal.exe!1!07/19/2018-14:55:12:: i INFO: ReportingServiesWebApp is not configured - not listening on any URLs
RSPortal!reportserverwebapp!RSPortal.exe!1!07/19/2018-14:55:12:: i INFO: Ensure the database instance hosting the catalog is running, and URLs are configured via RSConfig tool.

The Reporting Service 2017 was long installed and worked properly.

I suppose the issue could be related to the installation of Framework 4.7.2 but I'm not sure.

I tried to repair, to uninstall and reinstall nothing was happened

Some Helps


RS.exe depends on .NET 3.5 but SQL Server Reporting Services 2017 system reqs don't mention it

$
0
0

Hi

I would have thought the tools provided with SQL Server 2017 Reporting Services (i.e. RS.exe in particular) would have been updated to work with a newer version of the .NET framework in line with the system requirements documented at the download page.

Yet I'm prompted to install .NET 3.5 when I run it.

Are there plans to upgrade it soon?

Distinct if not Max

$
0
0

hey everyone..I Have a table which contain name and score of the some people in many contests.. i need the sum of each people in my table but Distinct if the score is not the maximum score ..how i can do that?
Thanks in advance..

Space Issue at "P.O. Box 29429" on 2016 reportserver

$
0
0

Hello,

We are using 2016 reportserver to generate reports.  we are facing space issue between "P.O. Box 29429" while seeing it on PDF export. Please check attached export. We are unable to see the space between "Box and 29429" on pdf export. But there is a space between them while i am moving the cursor to that place. There is a issue in visibility.

can anyone suggest that what might be the issue..?

Thanks,


S surendra Chowdary

SSRS Report Builder 3.0 - Configure x-axis labels to display date values in quarter-format

$
0
0

Dear all,

i've created a gantt chart with Report Builder 3.0. The x-axis shows date values and bars in the diagram represent the duration of tasks. The diagram works so far correctly. However i would like to adapt the labels on the x-axis: currently it shows shortdate values, i.e. at the start of each year i've "01/01/[year]". I would like to change this into 4 labels per year, indicating the quarter of the year (like "Q[1-4]/[year]"). Could you give me a hint how to achieve this and where to configure this?

Compare following screenshot:

The dataset which is fed into the chart is a list of rows where one row represents one bar (task), the start and the end date are given in the Datetime-colums "TaskStartDate" and "TaskFinishDate".

I hope my description is understandable, if not i will try to clarify.

Thank you and kind regards
Philipp


"P.O. Box 12345" is appearing as "P.O. Box12345 " when use vbCRLF or Environment.NewLine and deploy report to reportServer 2016 (using font family = Calibri)

$
0
0
"P.O. Box 12345" is appearing as "P.O. Box12345" when use vbCRLF or Environment.NewLine and deploy report to reportServer 2016 (using font family = Calibri). Even sometimes, 1 and x get overlap. (while if we use reportServer 2008, then everything is fine).

Row Visibility and Export

$
0
0

In SSRS report, we would like to show only top 10 rows but in export it should show all rows.

As of now if we use row visiblity or filter option it shows top 10 rows in report as well as even after export.

Please let us know if it is feasible or not . If feasible, how we can do it.


Prashant Patil


Report is being generated is not showing

$
0
0

Hi ,

  we are using SSRS 2016 ,My issue is we are not getting "Report is being generated" while generating the report.But report is working .Please tell me how to get the message while generating report?Thanks in advance

Expression to choose value based on field type

$
0
0

I want to set a field value based on the type of related fields the information is coming from. For example, I have two fields ('activity type' and 'case event type'). Activity Type is a standard CRM field and case event type is a custom entity. I want to display the Case Event 'Name' if the activity type = Case Event", otherwise I want to display the activity type (the standard CRM activity types). So far I have:

=IIF(First(Fields!activitytypecodename.Value = "Case Event", (Fields!caseevent_name.Value), Fields!activitytypecodename.Value))

Here is the error code I am getting: 

The scope parameter must be set to a string constant that is equal to either the name of a containing group, the name of a containing data region, or the name of a dataset.
----------------------------
The definition of the report 'Main Report' is invalid.
----------------------------
An error occurred during local report processing.

Creating a 4-D Range chart

$
0
0

I have created the range chart below in SSRS 2015 for 3 workers on one day. But now I want to be able to show the times per worker for other days of the week so that they are all plotted on the same chart.  How do I do this?

Alternatively, I have created a matrix to represent this same data, but that did not look as nice asthetically.  And I doubt that would work for 4 dimensions.

This is the SQL I used to create the dataset for above.

create table Stage_gantt_chart2
(
Worker int
,Sched_Start datetime
,Sched_End datetime
,Sched_Duration decimal(10,2)
,TimeCategory varchar(30)
,TimeCategory2 varchar(30)
)

insert Stage_gantt_chart2 VALUES(1, '2018-09-20 08:00:00', '2018-09-20 09:00:00', 1, 'NVA', 'NVA')
insert Stage_gantt_chart2 VALUES(1, '2018-09-20 09:00:00', '2018-09-20 09:30:00', 0.5, 'INHOME', 'INHOME')
insert Stage_gantt_chart2 VALUES(1, '2018-09-20 09:30:00', '2018-09-20 10:00:00', 0.5, NULL, NULL)
insert Stage_gantt_chart2 VALUES(1, '2018-09-20 10:00:00', '2018-09-20 11:00:00', 1, 'INHOME2', 'INHOME')
insert Stage_gantt_chart2 VALUES(1, '2018-09-20 11:00:00', '2018-09-20 12:00:00', 1, 'DRIVE', 'DRIVE')
insert Stage_gantt_chart2 VALUES(1, '2018-09-20 12:00:00', '2018-09-20 13:00:00', 0.5, NULL, NULL)
insert Stage_gantt_chart2 VALUES(1, '2018-09-20 13:00:00', '2018-09-20 13:30:00', 1, 'NVA2', 'NVA')
insert Stage_gantt_chart2 VALUES(1, '2018-09-20 13:30:00', '2018-09-20 14:00:00', 0.5, NULL, NULL)
insert Stage_gantt_chart2 VALUES(1, '2018-09-20 15:00:00', '2018-09-20 16:00:00', 1, 'DRIVE2', 'DRIVE')

insert Stage_gantt_chart2 VALUES(2, '2018-09-20 08:00:00', '2018-09-20 09:00:00', 1, 'DRIVE', 'DRIVE')
insert Stage_gantt_chart2 VALUES(2, '2018-09-20 09:00:00', '2018-09-20 10:00:00', 1, 'DRIVE2', 'DRIVE')
insert Stage_gantt_chart2 VALUES(2, '2018-09-20 10:00:00', '2018-09-20 11:00:00', 1, 'INHOME', 'INHOME')
insert Stage_gantt_chart2 VALUES(2, '2018-09-20 11:00:00', '2018-09-20 12:00:00', 1, 'DRIVE3', 'DRIVE')
insert Stage_gantt_chart2 VALUES(2, '2018-09-20 12:00:00', '2018-09-20 13:00:00', 1, 'INHOME', 'INHOME')
insert Stage_gantt_chart2 VALUES(2, '2018-09-20 13:00:00', '2018-09-20 14:00:00', 1, 'NVA', 'NVA')
insert Stage_gantt_chart2 VALUES(2, '2018-09-20 14:00:00', '2018-09-20 15:00:00', 1, 'NVA2', 'NVA')
insert Stage_gantt_chart2 VALUES(2, '2018-09-20 15:00:00', '2018-09-20 16:00:00', 1, 'NVA3', 'NVA')

insert Stage_gantt_chart2 VALUES(3, '2018-09-20 08:00:00', '2018-09-20 08:30:00', 0.5, 'NVA', 'NVA')
insert Stage_gantt_chart2 VALUES(3, '2018-09-20 10:00:00', '2018-09-20 11:00:00', 1, 'INHOME', 'INHOME')
insert Stage_gantt_chart2 VALUES(3, '2018-09-20 11:00:00', '2018-09-20 12:00:00', 1, 'NVA2', 'NVA')
insert Stage_gantt_chart2 VALUES(3, '2018-09-20 12:00:00', '2018-09-20 13:00:00', 1, NULL, NULL)
insert Stage_gantt_chart2 VALUES(3, '2018-09-20 13:00:00', '2018-09-20 14:30:00', 1.5, 'DRIVE', 'DRIVE')
insert Stage_gantt_chart2 VALUES(3, '2018-09-20 15:00:00', '2018-09-20 16:00:00', 1, 'NVA3', 'NVA')

/* Next day */
insert Stage_gantt_chart2 VALUES(1, '2018-09-21 08:00:00', '2018-09-20 09:00:00', 1, 'NVA', 'NVA')
insert Stage_gantt_chart2 VALUES(1, '2018-09-21 09:00:00', '2018-09-20 09:30:00', 0.5, 'INHOME', 'INHOME')
insert Stage_gantt_chart2 VALUES(1, '2018-09-21 09:30:00', '2018-09-20 10:00:00', 0.5, NULL, NULL)
insert Stage_gantt_chart2 VALUES(1, '2018-09-21 10:00:00', '2018-09-20 11:00:00', 1, 'INHOME2', 'INHOME')
insert Stage_gantt_chart2 VALUES(1, '2018-09-21 11:00:00', '2018-09-20 12:00:00', 1, 'DRIVE', 'DRIVE')
insert Stage_gantt_chart2 VALUES(1, '2018-09-21 12:00:00', '2018-09-20 13:00:00', 0.5, NULL, NULL)
insert Stage_gantt_chart2 VALUES(1, '2018-09-21 13:00:00', '2018-09-20 13:30:00', 1, 'NVA2', 'NVA')
insert Stage_gantt_chart2 VALUES(1, '2018-09-21 13:30:00', '2018-09-20 14:00:00', 0.5, NULL, NULL)
insert Stage_gantt_chart2 VALUES(1, '2018-09-21 15:00:00', '2018-09-20 16:00:00', 1, 'DRIVE2', 'DRIVE')

insert Stage_gantt_chart2 VALUES(2, '2018-09-21 08:00:00', '2018-09-20 09:00:00', 1, 'DRIVE', 'DRIVE')
insert Stage_gantt_chart2 VALUES(2, '2018-09-21 09:00:00', '2018-09-20 10:00:00', 1, 'DRIVE2', 'DRIVE')
insert Stage_gantt_chart2 VALUES(2, '2018-09-21 10:00:00', '2018-09-20 11:00:00', 1, 'INHOME', 'INHOME')
insert Stage_gantt_chart2 VALUES(2, '2018-09-21 11:00:00', '2018-09-20 12:00:00', 1, 'DRIVE3', 'DRIVE')
insert Stage_gantt_chart2 VALUES(2, '2018-09-21 12:00:00', '2018-09-20 13:00:00', 1, 'INHOME', 'INHOME')
insert Stage_gantt_chart2 VALUES(2, '2018-09-21 13:00:00', '2018-09-20 14:00:00', 1, 'NVA', 'NVA')
insert Stage_gantt_chart2 VALUES(2, '2018-09-21 14:00:00', '2018-09-20 15:00:00', 1, 'NVA2', 'NVA')
insert Stage_gantt_chart2 VALUES(2, '2018-09-21 15:00:00', '2018-09-20 16:00:00', 1, 'NVA3', 'NVA')

insert Stage_gantt_chart2 VALUES(3, '2018-09-21 08:00:00', '2018-09-20 08:30:00', 0.5, 'NVA', 'NVA')
insert Stage_gantt_chart2 VALUES(3, '2018-09-21 10:00:00', '2018-09-20 11:00:00', 1, 'INHOME', 'INHOME')
insert Stage_gantt_chart2 VALUES(3, '2018-09-21 11:00:00', '2018-09-20 12:00:00', 1, 'NVA2', 'NVA')
insert Stage_gantt_chart2 VALUES(3, '2018-09-21 12:00:00', '2018-09-20 13:00:00', 1, NULL, NULL)
insert Stage_gantt_chart2 VALUES(3, '2018-09-21 13:00:00', '2018-09-20 14:30:00', 1.5, 'DRIVE', 'DRIVE')
insert Stage_gantt_chart2 VALUES(3, '2018-09-21 15:00:00', '2018-09-20 16:00:00', 1, 'NVA3', 'NVA')

SELECT *
FROM Stage_gantt_chart2
order by Worker,Sched_Start

 

Ryan D



No responses -- Need urgent help with conditional formating SSRS Report

$
0
0

 have a requirement where I need to display 8 Hr to 20 Hours for Dayworkload and again 20 Hours to 8 for Nightworkload. I have added group by clause for Day and Night workloads but how can I set the horizontal axis to display these depending on the shift ?

X-Axis for DayLoad Min value 8 and Max 20  8,9,10,11,12,13,14,15,16,17,18,19,20

For Night Load Min 20 and Max 8   20,21,22,23,24,0,1,2,3,4,5,6,7,8


sami

Drill through a report by calling the report name in Action expression

$
0
0

Hi,

I am trying to drill through a sub report from the main report of a scatter chart, based on a condition in Action.

The expression I am using is

=IIF(Fields!CustomerID.Color="Red", Globals!ReportName="CustomerDetails", "")

if the color of the data point is red, it should allow me to drill through another report called CustomerDetails else nothing("") should happen.

It doesn't seem to be working.

Please suggest.

Regards

SSRS Failed to save report Maximum request length exceeded

$
0
0

I am trying to add some textboxed in the header of a report and am getting the following error: Any ideas?

System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file. ---> System.Web.HttpException: Maximum request length exceeded.
   at System.Web.HttpRequest.GetEntireRawContent()
   at System.Web.HttpRequest.get_InputStream()
   at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
   --- End of inner exception stack trace ---
   at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
   at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
   at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)


Execute dataset based on one of the parameter value

$
0
0
Friends,

-- I have created two datasets using two different stored procedure for the SSRS report, one fetches "summary" records when the stored procedure executes and other dataset fetches "detail" records 

-- The report has 4 parameters @beginDate, @endDate, @renewalDate, @level , when the user populates all the parameters @level they get to select "summary" or "detail" from the drop down.

-- In the report body I have created two different tables one for summary records and one for details records (cannot do drill through or sub reports) to hold the dataset values

-- Based on the parameter @level = "summary" or "detail" .... how can I execute the stored procedure in the dataset ?

Total amount by Description

$
0
0

Hell

How I can group this table in order to have all the description together by department 410

2016 SP2 CU1 kills SSRS

$
0
0

Hi

I just found that after I installed CU1 on a SQL Server 2016 SP2 which only has the Reporting Services installed, the SSRS service started to crash and the system showed high CPU usage. I can see that it starts to create a lot new files under C:\Program Files\Microsoft SQL Server\MSRS13.%INSTANCE_NAME%\Reporting Services\LogFiles -> Microsoft.ReportingServices.Portal.WebHost_DATE-N-TIME.log. From the ReportServerService_DATE-N-TIME.log I can see that the web host service is crashing every time the web site gets accessed ->

appdomainmanager!DefaultDomain!1b48!06/10/2018-21:44:16:: e ERROR: Child Process Died. Restarting it. Check the log for further information: C:\Program Files\Microsoft SQL Server\MSRS13.%INSTANCE_NAME%\Reporting Services\ReportServer\bin\..\..\RSWebApp\Microsoft.ReportingServices.Portal.WebHost.exe
appdomainmanager!DefaultDomain!1b48!06/10/2018-21:45:00:: i INFO: Attempting to start WebApp service: C:\Program Files\Microsoft SQL Server\MSRS13.MSSQL01RS\Reporting Services\ReportServer\bin\..\..\RSWebApp\Microsoft.ReportingServices.Portal.WebHost.exe
appdomainmanager!DefaultDomain!1b48!06/10/2018-21:45:03:: e ERROR: Child Process Died. Restarting it. Check the log for further information: C:\Program Files\Microsoft SQL Server\MSRS13.%INSTANCE_NAME%\Reporting Services\ReportServer\bin\..\..\RSWebApp\Microsoft.ReportingServices.Portal.WebHost.exe

BTW: The executable mentioned in the logs - Microsoft.ReportingServices.Portal.WebHost.exe - is the one causing the high CPU load.

Once I uninstalled the CU1 the machine started to work as normal. I repeated the install and uninstall three times and can say that the problem is related to CU1.

Anyone facing the same problem or has an idea what's wrong?

Thanks and greetings

dialsc


Consuming REST Web Service in SSRS

$
0
0

I want to consume a REST webservice in SSRS report. Is it possible? I have seen the SOAP examples like in this blog http://wcompute.org/2012/03/27/ssrs-an-example-of-how-to-consume-a-web-service-without-coding/#comment-87

Is it possible to do the same using REST? 

Appreciate any help on this

thanks

SSRS parameter issue

Viewing all 28687 articles
Browse latest View live


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