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

IIF statement to set width of a field

$
0
0

Need some help.

I have a date field (ex. 01-24-2017) from a query. And I have them split to display each MM DD YYYY.

Designing SSRS report. I need to set the width for DD to be 10 characters long. So it displays like so:

____24____

The underline is not an issue.

Here is my field name:

=First(Fields!ForfeitureDY.Value, "DataSet1")

Any help would be appreciated.

Regards,

jr7138


jer




SSRS Report Header freeze pane on Excel

$
0
0

My report header (with default setting) is appearing as freeze pane when I export in excel. Can anyone help me to find solution where it won't appear as freeze . I do not  want the header to be repeated while I scroll in excel. 

SharePoint List Connection Type (SSRS) with no Default Sharepoint View

$
0
0

Hi,

I am getting my data via the new Reporting Services 2008 R2 Sharepoint List Data Connector - this works. However, the data being returned is subject to any Filters defined on the Sharepoint Current Default View.

This is really a big problem as often you want to report on the entire dataset but the default view seen by Sharepoint Site Users often does not have to include certain items.


An example is Reporting on a "Service Request" List.. Once a service request has been marked as closed the site users really don't have to see these service request anymore but it should still be possible to report on the closed service requests.

In my opinion Connector should pass all list data to the Reporting Server who should then do the processing.

Please tell me there is a workaround or is this a bug?

Regards,

Albert

WMIProviderException: An error occurred when attempting to connect to the report server remote procedure call (RPC) end point

$
0
0

I am getting the following error message while trying to configure a database for a Reporting Service Server.  Both SQL Server and Reporting server are 2012 named instances.  I have 2014 instances as well on the same server.

Exception details...

Microsoft.ReportingServices.WmiProvider.WMIProviderException: An error occurred when attempting to connect to the report server remote procedure call (RPC) end point. Verify that the Report Server Windows service is running, and then retry the operation.

 ---> System.Runtime.InteropServices.COMException (0x800706B3): The RPC server is not listening. (Exception from HRESULT: 0x800706B3)
   --- End of inner exception stack trace ---
   at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.ThrowOnError(ManagementBaseObject mo)
   at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)
   at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)

Can someone help me on this please?

Cannot read the next data row for the data set

$
0
0

Hi,

My report runs fine when I view in VS, data shows fine when I run the query in the data window, but when I publish it to the server, I get the above error. I am running SQL server 2005 RTM and I have re-deployed the entire solution.

Any ideas?

Get data update by executing stored procedure

$
0
0

Hi,

I have wrote a sql query to generate a SSRS report and it is getting data from 3 different tables. Now I want to execute a stored procedure first before getting and showing data in SSRS. This stored procedures are already written and it updates table and it takes around 3-4 minutes to update those tables. 

Is there a way I can do it in VS, like executing SP first, wait for 3-4 minutes until table got updated and then get data from tables? Which is convenient. Please explain and show how to do it.

Thanks



Querying calculated FromDate ToDate parameters in a MDX report

$
0
0

In a my MDX report, I have created two date parameters, FromDate and ToDate.
The related query seems like this:
SELECT NON EMPTY { [Measures].[Amount] }
ON COLUMNS FROM ( SELECT ( STRTOMEMBER(@FromDate, CONSTRAINED) : STRTOMEMBER(@ToDate, CONSTRAINED) )
ON COLUMNS FROM [myCube]

Before to apply the two dates to the query I must query a SQL view to get the min date respect to FromDate and the max date respect to ToDate.
How can I solve this issue in a simple manner? With code, that I know a little?
For this issue, can I continue to use the query design tool or I adjust the MDX query manually?
Thanks

SSRS Sub report from Aggregate date

$
0
0

Hi, I have a dataset which has details like this

Name, Department, Student address, Year, campus

student id ,JOHN,  Physics,          Toronto, 2017, city campus

Michael, Chemistry      Montreal, 2016, outer campus

Michael, Chemistry      Montreal, 2016, rural campus

so on

My requirement is to create a 

1:- Main report to show the number of students for each department by year ( report has a parameter campus,  can be city or outside or rural )

It is simple I have added Year as column group and row group as Department and using countrows() function  in ssrs expression

here is the first report snapshot ( user has select two campuses rural and city )

2:- Now the second requirement is to have a sub report ( drill through )

like if a user clicks on number 12 above. he should get the details of all students from 2016 and physics department.

I tried creating a subreport  having input variables ( for department and year, campus ) can accept multiple values

In Main report I added action and tried to pass these parameters to sub report

But in subreport,  i am getting just one campus id as input ( I expect  record 2016 and physics department  or campuses  ( chosen as parameter in main report) should be passed to sub report  how to do that


ReportViewer control for WinForms - can I copy text?

$
0
0

I am using the ReportViewer control for Windows Forms, and I would like to be able let my users copy text from the report. Is there any way to configure this? At the moment, the text is not selectable.

Thanks,
Erick

Version mismatch Found 164, expected 163

$
0
0

Hi There,

SQL 2014 SP2-CU2-GDR (lastest version)

We are currently facing an issue with our development SQL server.
All databases are giving the following error on Reporting services:

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 '164'. The expected version is '163'. (rsInvalidReportServerDatabase)

Most people have this error, but it would find 163 and expected 164. But it's the other way around for some reason.
We tried deleting the record, like suggested but it just adds the 163 back once restarted.

Help and advise is more then welcome!


SSRS Drop down list customization

$
0
0

Hi,

I have added parameters to the report, functionally it is working properly but it is getting value name from the table. I want to customize name in drop down without changing it in table.

i.e. Drop-down Values --> X and P, I want to show XYZ and PQR instead of X and P.

Thanks in advance. 

Error in builting reports (MS Visual Reports 2008).

$
0
0
Hello.
I have an SSRS 2008 R2 report.

My sql query contains function "GROUP BY".
When i display report(chart) it display error:Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope.
How can i fix it?

How to set calendar for month and year in SSRS parameter

$
0
0

Hello Everyone,

Could you please suggest how to set month and year parameter for specific column in SSRS report.

In my current parameter I am getting the parameter in below format which I do not want.

Thanks in advance.

KB3197984 Fixed in SP3 CU6 or CU7

$
0
0
There was an issued identified in SQL Server 2012 SP3 CU5. The CU affected SSRS in SharePoint Integrated mode, causing alerts or subscription not to work as expected (KB 3197984). Has this issue been resolved in either CU6 or CU7?

"Something Went Wrong" - Trying to add a new Data Source (SQL Server 2016)

$
0
0

Hello all,

We have just deployed SQL Server 2016 Reporting Services, including the cumulative update to one of our UAT servers. Upon accessing the SSRS Web Portal and clickingNew > Data Source, we get the error "Something has gone wrong. Please try again later".

Is anyone able to assist me with getting to the bottom of this issue? Error log is below for reference.

Thank you in advance!

Tom.

Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!12!08/04/2016-16:25:38:: e ERROR: [ifiru6gy]: OData exception occurred: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Microsoft.SqlServer.ReportingServices.SoapExceptionStrings.resources" was correctly embedded or linked into assembly "Microsoft.ReportingServices.Portal.Services" at compile time, or that all the satellite assemblies required are loadable and fully signed.
   at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at Microsoft.SqlServer.ReportingServices.SoapExceptionStrings.Keys.GetString(String key)
   at Microsoft.SqlServer.ReportingServices.SoapExceptionStrings.get_MissingEndpoint()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.MissingEndpointException..ctor(Exception inner)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListExtensions(String extensionType)
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapRS2010Proxy.<>c__DisplayClass41.<ListExtensions>b__40()
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapAuthenticationHelper.ExecuteWithWindowsAuth[TReturn](SoapHttpClientProtocol soapClient, IPrincipal userPrincipal, Func`1 func)
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapAuthenticationHelper.ExecuteWithCorrespondingAuthMechanism[TReturn](SoapHttpClientProtocol soapClient, IPrincipal userPrincipal, Func`1 func)
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapRS2010Proxy.ListExtensions(IPrincipal userPrincipal, String extensionType)
   at Microsoft.ReportingServices.Portal.Repositories.SystemService.ListExtensions(IPrincipal userPrincipal, ExtensionType extensionType)
   at Microsoft.ReportingServices.Portal.ODataWebApi.V1.Controllers.ReportServerInfoController.ListExtensions(ExtensionType extensionType)
   at Microsoft.ReportingServices.Portal.ODataWebApi.V1.Controllers.ReportServerInfoController.DataExtensions()
   at lambda_method(Closure , Object , Object[] )
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext().
Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!12!08/04/2016-16:25:38:: i INFO: [ifiru6gy]: 10.0.10.141: GET /api/v1.0/reportserverinfo/model.DataExtensions - Response 500 - 0:00:05.2307216


Changing background colors of table cells (Visual Studio Reports 2008)

$
0
0

Hello
I have a report in Visual Studio Reports 2008.
I created datasets to select values from ReportParameter (Place).
Selected data from ReportParameter (Place) is used for displaying the report.

How can i change background color of table cells which equals to selected value from ReportParameter (Place)?


Incorrect building of chart (MS Visual Studio Reports 2008)

$
0
0

Hello.
I have an SSRS 2008 R2 report.
I use data bellow to build a chart:

Incorrect building of chart:

I want to get that chart:

How can i fix it?

SQL Server 2016 Publish Power BI Reports on SSRS

Cannot Connect to Database with Configuration Management Console or SQL Management Studio

$
0
0

We have a simple site, one server with SQL 2012 and SCCM 2012 SP1. One day, without any obvious changes, the Configuration Management Console Stopped Connecting.  The error from SmsAdminUI.log:

Error Code:
ProviderLoadFailure
\r\nSystem.Management.ManagementException\r\nProvider load failure \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()\r\nManagementException details:
instance of __ExtendedStatus

On the SCCM Server itself, the SQL Server will not start.  The same account can start other instances on the same server.

I then tried to login in with SQL Management Studio.  None of the domain accounts can login and the error:

Cannot connect to <server\instance>

A network-related or instance-specific error occurred while establishing a connection to the SQl Server. The server was not found or was not accessible...

No connection could be made because the target machine actively refused it.

I checked the "SQL Server (databasename)"  It will not start. The same account can start other instances on the same SQL server.

I tried to run setup again to restore settings and it hung, but the Configmgrsetup.log  showed:

INFO: Retrieving current site control image... $$<Configuration Manager Setup><01-31-2017 15:35:30.863+300><thread=25548 (0x63CC)>

*** [08001][10061][Microsoft][SQL Server Native Client 11.0]TCP Provider: No connection could be made because the target machine actively refused it.~~ $$<Configuration Manager Setup><01-31-2017 15:36:31.528+300><thread=25548 (0x63CC)>

*** [HYT00][0][Microsoft][SQL Server Native Client 11.0]Login timeout expired $$<Configuration Manager Setup><01-31-2017 15:36:31.528+300><thread=25548 (0x63CC)>

*** [08001][10061][Microsoft][SQL Server Native Client 11.0]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. $$<Configuration Manager Setup><01-31-2017 15:36:31.528+300><thread=25548 (0x63CC)>

*** Failed to connect to the SQL Server, connection type: SMS ACCESS. $$<Configuration Manager Setup><01-31-2017 15:36:31.529+300><thread=25548 (0x63CC)>

rsProcessingAborted & rsErrorOpeningConnection

$
0
0

Dear All,

After I deploy my SSRS report to Windows Server 2008 R2 and I click on the reporting that I uploaded to the server, can't show the report that I want, it caused the following error:

An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'MYDCBDataSource'. (rsErrorOpeningConnection) For more information about this error navigate to the report server on the local server machine, or enable remote errors

May I know how to solve this problem?

Thank you.


I&amp;#39;m newbie in enterprise as developer.

Viewing all 10045 articles
Browse latest View live


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