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

Displaying ReportName that is generated in ssrs tool

$
0
0

We are trying to display the report name  in a label that is generated in the parameter section in ssrs. Let me know if any possibility is there to add a label in the parameter section for displaying the name of the report in ssrs tool. If any method is there please send the information for doing it.

Thanks in Advance


SQL 2012 SP1 Enterprise (SSRS in SharePoint mode): Reporting Services scale-out deployment is not supported in this edition of Reporting Services

$
0
0

Hello,

SSRS in SharePoint mode is driving me insane.

We are recreating a SharePoint 2013 (SP1) farm in a test environment with the following set-up:

  • 2 SP Web FrontEnds
  • 2 SP Application Servers
  • 1 SQL Server

At both SP APP Servers, we installed SSRS (SQL 2012 Enterprise w/ SP1) in SP integrated mode.

We managed to start the SSRS SP service at the first SP APP Server. However when we try to start it on the second APP Server, we get the following error:

"Reporting Services scale-out deployment is not supported in this edition of Reporting Services. This edition only supports one instance of the SQL Server Reporting Services Service in the farm.  The SQL Server Reporting Services service cannot be started on this server unless it is stopped on all other servers in the farm. "

Now I can't stress this enough: This is a SQL Server 2012 SP1 Enterprise. This is the image we got from our MSDN subscription. There is no mistake here.

Could someone please advise why SP might think this version of SSRS is not the correct one?

Thanks in advance for your help.

Regards,
P.


Display mean value in chart legend

$
0
0

I generated a line chart in SSDT 12 using the following query:

SELECT FCP, NFS, TimeIndex
FROM Controllers
WHERE ControllerName LIKE 'Controller-A'

Then I created a trend line using the guide here. In step 5 of the guide it says to set the legend text to 'Average'. How do you set it to display the mean value?

Thanks in advance
Adam

Getting error : This operation is not supported on a report server that runs in native mode

$
0
0

Hi,

I have installed SQLServer2008 Standard Edition in my system.

Using SSRS 2008.

I have added http://<serverName>/ReportServer/ReportService2006.asmx as web reference in my project.

If i consume any method in ReportingService2006 am getting below error . 

This operation is not supported on a report server that runs in native mode. ---> Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode.

How to solve this problem?

Thanks,

Thangakumar

SSRS code not working properly

$
0
0

Hi

I am trying to use this code to calculate and give me a value representing a  percentage of LoggedTerritoryGoal.Value of a specific month. But it is not working I am getting the full LoggedTerritoryGoal.Value. can someone take a look at this and advice me.

=IIF(Month(Parameters!EndDate.Value) > MAX(Fields!MonthNmbr.Value),
(Fields!LoggedTerritoryGoal.Value / 12 * MAX(Fields!MonthNmbr.Value)),
(Fields!LoggedTerritoryGoal.Value / 12 * Month(Parameters!EndDate.Value))
)

pass multi value parameter to sub report in Drill through report, ssrs

$
0
0
I have two reports 1 is subreport and other is main report. Date Field are placed in both reports. i have groups in main report, one group is task. In the task fields one persons is working in 3 project, two project are same company and 1 is for other and it give me count for each project. I want when i click on link it send multivalue parameter to subreport and it just show matching records.

Asif Mehmood

Populate chart using sql query

$
0
0

Hello,

I have some sql queries that I run in a database. This queries uses the "Sum case" method.

I'm trying to create a rdlc file in order to report a pie chart.

But I don't know how can I configure the Chart on the rdlc file to get the data.

My queries are like this:

            Dim Pesquisa As String = "SELECT Origem," _& "      SUM(CASE WHEN Qualidade_Passagem = 'Otimo' THEN +1 ELSE 0 END) AS Otimo ," _& "      SUM(CASE WHEN Qualidade_Passagem = 'Bom' THEN +1 ELSE 0 END) AS Bom ," _& "      SUM(CASE WHEN Qualidade_Passagem = 'Regular' THEN +1 ELSE 0 END) AS Regular," _& "      SUM(CASE WHEN Qualidade_Passagem = 'Ruim' THEN +1 ELSE 0 END) AS Ruim" _& "      FROM Atendimentos where Data Between '" & Datainicial.Date.ToString("MM/dd/yyyy") & "'  and  '" & Datafinal.Date.ToString("MM/dd/yyyy") & "'" _& "      GROUP BY Origem" _& "       ORDER BY 1"

But I can't insert this query in the right place...

How can I do that?


Valdirnm

Weather Forcast in SSRS report

$
0
0

Is there any way to show weather forecast in SSRS report?

I know NDFD has a service for free to get weather information but the output is in XML. I am looking for a solution like "Google Static Map API" which allows us to embed a map image in SSRS report.

I am looking forward to embed 5 day weather forcast in SSRS report.


Access is denied if not local admin on server

$
0
0

I'm working on deploying SSRS. Currently, the only people that can access the reports are those who are local admins on the actual server. Anyone that is not a local admin on the server gets the following:

Server Error in '/Reports' Application.

Access is denied.

Description: An error occurred while accessing the resources required to serve this request. You might not have permission to view the requested resources.

Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists). Ask the Web server's administrator to give you access.

If I add them as a local admin on the server they can then access the reports. However, we don't really want our domain users having access to this server. They are added to the site settings as a system user, their roles are set to view reports, folders, resources, and manage subscriptions. They are set to read, execute, list, traverse the SQL folders on the server, but not write. I'm not sure what I'm missing to make this work. Any help would be greatly appreciated as I'm relatively new to SSRS! Thanks!

Reporting Services in both SharePoint 2013 connected and native mode?

$
0
0

Is it possible to configure Reporting Services (SQL Server 2014) to support both SharePoint 2013 connected mode and local Report Server in native mode on the same server using multiple instances of RS? The reason for this setup is to avoid having to purchase SharePoint Enterprise CALs for other users than analysts and still be able to publish standard reports to all employees.

  • Management and analysts -> Custom reports published through SharePoint 2013 Enterprise (SP2013 ECALs and SQL Server 2014 core license). Data alerts and Power View enabled if possible.
  • All employees -> Standard reports published through Native Mode Report Server (SQL Server 2014 core license). Possible subscriptions.

I find the official documentation a bit lacking in this area but can't find anything stating against the above. It would be greatly appreciated if someone could confirm before planning the installs.

What I'm aiming for is somewhat similar to the "2 Tier Topology" described at: Example License Topologies and Costs for SQL Server 2014 Self-Service Business Intelligence

With the difference that there is a separate SQL Server 2014 server used both by SharePoint and as a standalone BI-server.

  1. SharePoint EE + SQL Server 2014 EE
    • Excel Services
    • SSRS Add-in (Reporting Services, Power View)
    • SQL Server DB for SP Content, Configuration and Service Application DB:s
  2. SQL Server 2014 EE - SharePoint + Standalone for BI
    • SSRS SharePoint Mode
    • SSRS Native Mode
    • SSAS (Not in SharePoint mode, skipping PowerPivot for now. Would Power View still work?)
    • SQL Server DB for Data Warehouse

= 1 x SharePoint EE Server Licence, 2 x SQL Server 2014 EE Server Licenses?

Deployment Topologies for SQL Server BI Features in SharePoint - Actually gives a good overview in the section "PowerPivot for SharePoint 2013 and Reporting Services Three Server Deployment". Just remove PowerPivot Service from Server 1 and change the Analysis Services in Server 2 to a regular native multidimensional mode. Server 2 would also be used for native Reporting Services.

Fallback or even beneficial option to install SSRS in SharePoint mode on the SQL Server instance used for content and configuration?



SSRS2012 : User '' does not have required permissions

$
0
0

I finished implementing the Microsoft SSRS2012 security/authorization extension sample as documented here.

The Login seems to work but then right after login, I get authorization error on http://devsql3/Reports/Pages/Folder.aspx

"User '' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed. "

class Folder Page

.

.

private void Page_Init(object sender, EventArgs e)

{

.

.

  if (!base.RSUser.HasPermission("Read Properties")) 
  {
                if (flag)
                {
                    throw new InsufficientPermissionsToRoot(this.Page.User.Identity.Name);
                }
                throw new AccessDeniedException(this.Page.User.Identity.Name);
   }

 

"

I can look at Identity.Name but it is empty in code as well as the error message.  It's like there is a problem with the FormsAuth.  How do you troubleshoot this issue?

thanks

How can i get the rows which is opposite side of another ?

$
0
0

I want to get the rows is opposite side of another depending on column value in the same 'JV_REF'

This is my example table 

----------------------------------

SET NOCOUNT ON;
USE tempdb;
GO
CREATE TABLE dbo.Account (

JVID int NOT NULL IDENTITY PRIMARY KEY,
JV_REF nvarchar(10) ,
ACCOUNT_CODE nvarchar(10) ,
DEBIT decimal(10 , 2),
CREDIT decimal(10 , 2)

);

GO
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV001' , '01' , 100 , NULL );
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV001' , '02' , NULL , 100 );
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV002' , '01' , 100 , NULL );
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV002' , '03' , 50 , NULL);
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV002' , '02' , NULL , 150);
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV003' , '01' , 100 , NULL );
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV003' , '03' , 50 , NULL);
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV003' , '02' , NULL , 100);
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV003' , '04' , NULL , 50);

GO

SELECT * FROM dbo.Account  

DROP TABLE  dbo.Account;

--------------------------

Thanks

Debugging SSRS client side script

$
0
0

Hi eb

I would appriciate your recomendations for debbuging SSRS client side functionality

especially when it is embedded in web applications like performancepoint dashboards. 

Was any one succesfull in using IE developer tools script debbuger

- or any other tool fot this matter?

For example 

I would like to put a breakpoint on the function which opens the plus sign next to row groups and step into its 

code but dont know how to locate it inside the script that is presented to me in IE script debbuger...

IE dev tools should be usefull on debuging specific user issues.

Does visual studio have other usefull methods for debugging SSRS reports - I am interested especially

in debugging SSRS functions that sometimes do not work as i expect...

TIA!

Rea


SSRS 2012 Tabix

$
0
0

Hi All,

Can anyone please give me the idea to create tablix report like below snapshot in SSRS 2012.



Thanks in advance


Paramesh G


create back button on preview page

$
0
0

I have parameterized report where im trying to input ID to get the data. How do we create back button next to view report on the preview page in SSRS. Any help much appreciated.


Have Chart displayed but want tables when printing

$
0
0

I don't know if this is possible but I thought I would ask.
I have create a chart Report/dashboard. When it runs it displays the data in a bar chart. What I would like is when the user prints this Report/Dashboard the print out will not have the bars on it but look like an ordinary report with tables on it.

Is this possible? If so please let me know how.
Thanks

How can I extract text from a string

$
0
0

Hello,

I have a name column that has both first name and last name joined together as a string. I want to separate them in two different columns as firstname and lastname.

I use Report builder, please help with the query that will separate the string into two diferent columns.

Thanks

'Value cannot be null. Parameter name : s' erro while running ssrs report using reportviewer ASP.NET application

$
0
0

Dear All,

While running ssrs report from asp.net application using reportviewer I am getting error as 'Value cannot be null. Parameter name : s'. Also I have tried with ssrs report which doesn't contain any parameter. Still I am getting that error.

So, please help me to resolve this issue.

Thanks in advance

Issues connecting to SSRS 2012 SP2 through SharePoint 2013 SP1 Central Admin

$
0
0

When trying to open "system settings" for the SSRS Service application in Central Admin, I get the error "The remote server returned an error: (500) Internal Server Error."

Also, when trying to create a new Report Builder Report within SharePoint, I get an error "403 Forbidden".

The ULS log entry for this is:

Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.ProtocolException: The content type text/html of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  <html xmlns="http://www.w3.org/1999/xhtml">  <head>  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>500 - Internal server error.</title>  <style type="text/css">  <!--  body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}  fieldset{padding:0 15px 10px 15px;}   h1{font-size:2.4em;margin:0;color:#FFF;}  h2{font-size:1.7em;margin:0;color:#CC0000;}   h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}   #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;  background-color:#555555;}  #content{margin:0 0 0 2%;;}  .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;;}  -->  </style>  </head>  <body> <div id="header"><h1>Server Error</h1></div>  <div id="content">   <div class="content-container"><fieldset>   '. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. 
    at System.Net.HttpWebRequest.GetResponse() 
    at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     --- End of inner exception stack trace ---    Server stack trace:  
    at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding) 
    at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) 
    at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) 
    at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) 
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown at [0]:  
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) 
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 
    at Microsoft.ReportingServices.ServiceContract.IReportServiceManagement.GetSystemProperties(ICollection`1 properties) 
    at Microsoft.ReportingServices.SharePoint.SharedServiceProxyHelper.<>c__DisplayClass9.<GetSystemProperties>b__8(IReportServiceManagement mchannel) 
    at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.DoManagementChannelCall(Action`1 caller) 
    at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.get_SystemProperties() 
    at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.LoadSettings() 
    at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.OnInit(EventArgs e) 
    at System.Web.UI.Control.InitRecursive(Control namingContainer) 
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
    at System.Web.UI.Page.HandleError(Exception e) 
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
    at System.Web.UI.Page.ProcessRequest() 
    at System.Web.UI.Page.ProcessRequest(HttpContext context) 
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Any ideas on what might be the issue would be greatly appreciated.

SSRS - Is there a multi thread safe way of displaying information from a DataSet in a Report Header?

$
0
0

 In order to dynamically display data in the Report Header based in the current record of the Dataset, we started using Shared Variables, we initially used ReportItems!SomeTextbox.Value, but we noticed that when SomeTextbox was not rendered in the body (usually because a comment section grow to occupy most of the page if not more than one page), then the ReportItem printed a blank/null value.


So, a method was defined in the Code section of the report that would set the value to the shared variable:

public shared Params as String

public shared Function SetValues(Param as String ) as String
Params = Param
Return Params 
End Function

Which would be called in the detail section of the tablix, then in the header a textbox would hold the following expression:

=Code.Params

This worked beautifully since, it now didn't mattered that the body section didn't had the SetValues call, the variable persited and the Header displayed the correct value. Our problem now is that when the report is being called in different threads with different data, the variable being shared/static gets modified by all the reports being run at the same time. 

So far I've tried several things:

- The variables need to be shared, otherwise the value set in the Body can't be seen by the header.

- Using Hashtables behaves exactly like the ReportItem option.

- Using a C# DLL with non static variables to take care of this, didn't work because apparently when the DLL is being called by the Body generates a different instance of the DLL than when it's called from the header.

So is there a way to deal with this issue in a multi thread safe way?

Thanks in advance!


 
Viewing all 10045 articles
Browse latest View live


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