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

Required users to install ActiveX control after patching SSRS 2012

$
0
0

Currently I’m struggling with how to distribute ActiveX control for SSRS 2012 after SQL Server binary patch.

Recently the SQL server 2012 for SSRS has been upgraded from SQL Server 2012 sp2 to sp3cu4.

When we had some test on reports after this upgrade, we found that report users need to install ActiveX control when they click “print” icon on the report. This needs users to be local admin to install the ActiveX control. Most of users don't have the local admin permission on their computer.

So I have researched which file should be distributed to users’ computer to install this ActiveX control. But I couldn’t find the solution so far. Actually I found some old posts(regarding rsclient.cab file), but those didn't work for me.

Our environment :

SQL Server version : 2012 Standard sp3 cu4 (64bit) on Windows 2008 Server R2

Client(report users' computer) : Windows XP SP3 or Windows 7 with IE11

If you have any similar experience or know any solution, please give me any advice.

Thank you,



SSRS Mobile Report Publisher - Deployment

$
0
0

If I read the SQL Server 2016 documentation correctly, I need the SQL Server 2016 Enterprise version to develop Mobile Reports with SSRS Mobile Report Publisher (Previously, Datazen).

Am I able to deploy these reports after they are developed with the Enterprise version to my customers who have SQL Server Standard Version of SQL Server 2012 or SQL Express version?  The mobile reports being developed will require access to their SQL server DB which are SQL Server 2012... will this work?

Thanks,

Diane

My SSRS report is excluding rows with negative values. why?

$
0
0

I have a data set query. I run it and I see all my rows as expected.

When I create a matrix/tablix and remove any grouping, i am missing the rows that contain negative values. What could cause this?


-- Sam Carney

Must declare the scalar variable error when using a Table Variable

$
0
0

I am trying to use a table variable in order to do a left outer join later on in the dataset query. However, when I try to create the table variable, I get an error message saying I must declare the scalar variable.  The @Analyst_Name is a parameter set within SSRS.

The code runs just fine in Management Studio.

-- Create table var to hold analyst list

DECLARE@AnalystTableTABLE

(

AnalystNamenvarchar(100)

)



-- Add each comma-separated analyst as its own record in the table

WHILELEN(@Analyst_Name)>0

BEGIN

IFCHARINDEX(',',@Analyst_Name)=0

BEGIN

INSERTINTO@AnalystTableVALUES(LTRIM(@Analyst_Name))

SET@Analyst_Name=''

ENDELSE

BEGIN

INSERTINTO@AnalystTableVALUES(LTRIM(SUBSTRING(@Analyst_Name,0,CHARINDEX(',',@Analyst_Name))))

SET@Analyst_Name=SUBSTRING(@Analyst_Name,CHARINDEX(',',@Analyst_Name)+1,LEN(@Analyst_Name))

END

END



-- To validate data in Table Var

SELECT

*FROM@AnalystTable

SSRS Subscription Control by External Fields

$
0
0

Hi,

i have created a Subscription for SSRS Report  to be run for every 3 hrs.

Now i wanted to control  the  subscription  execution with Current Date.If Current Date  falls between Start Date and End Date(which are maintaining in external Data Source) then only Execute the subscription .Otherwise Disable/Inactive the Subscription.

Please help me.

Thanks in Advance.

Thanks

Suresh Govindu

Filter dataset based on SharePoint group membership

$
0
0

I have a SharePoint 2013 farm with SSRS integrated mode. I'm building several reports based on sites and lists however users do not see all the items in lists. The items that a user can see are filtered automatically in SharePoint based on security group membership.

If I create a report that queries a list, users will see items they should not see. The users who will run reports do not create items, they only see items created by other users.

How can I filter items based on what the user sees in SharePoint? I know I can get the current user in SSRS but I do not seem to find a way to use this UserId to filter data.

Thanks in advance


Rene Alvarez

Creating development environment using already deployed code

$
0
0

Hi

We have QA environment and Production environment. We normally develop the code in QA , test and then deploy to production. So production version working fine. Something happened to QA and now QA is old version. 

I was to get all the code from production (.rdl , shared data sources , .rss etc all files) to QA , which when deployed in a environment exactly behave like production.

is there any way i can reengineer the code using already published code ?

Best

Pal

Forms Authentication in SSRS with Membership Provider

$
0
0

Hi,

I have been following few blog post. about enabling forms auth. in SSRS, it has been validating the users successfully but i have still not configured seamlessly. I have following problem

1. After enabling Forms Auth, i can  not deploy the report, every time i need to deploy, first i need to convert it into Windows Auth mode and then revert back Forms Auth

2.  How to apply the roles to users in Forms auth so they can access Report manager Site.


Thanks, Parth


How to change data source password in ssrs report

$
0
0

Hi,

I have created SSRS report, I have stored the data source credential when create a SSRS report. But now my database password has been changed. So I am not able to view the report. How can I update password in data source. I am trying to update password on the report server, but there is no success. I am getting the error 'Login failed for user testuser'.

How can I update password without re-deploying report on report server.

Upgrade TFS 2012 to 2015: Warehouse Db issue - None of the 2012 execution results got backed up inUpgrade TFS 2012 to 2015 Warehouse Db issue. None of the 2012 execution results got backed up in 'dbo.TestResultView' & '[dbo].[FactTestResult]'..

$
0
0

Hello All,

I have recently upgrade TFS version of my project from 2012 to 2015. Everything is working fine with respect to upgrade, including the reporting services (reports which are by default provided in reporting server by Microsoft). However I have few custom reports created in reporting services which are not working as per the expectations. One of the reason for it is execution results done in TFS 2012 for the test plan i.e. test cases are not updated in TFS 2015 warehouse DB. If I check 2012 warehouse DB it has all the results for execution still not in tfs 2015. Table and view which I checked for it is -

Upgrade TFS 2012 to 2015 Warehouse Db issue. None of the 2012 execution results got backed up in 'dbo.TestResultView' & '[dbo].[FactTestResult]'. Interestingly other tables in warehouse DB - tfs 2015 has data as per the expectation. I am not sure why the results table and views are not updated.

To get this data update, I have tried to re-createwarehouse database and the analysis service database. However it seems to have the same data as earlier and nothing for results table and view.

Any suggestion / Solution to solve this problem.

Thanks,

Ahetejazahmad Khan.


Ahetejazahmad Khan.

SSRS List control- export to excel not working

$
0
0

Hi All,

I have a SSRS(2008 R2) report which has List control grouped on field and inside the List control there is table which repeat and grouped based on the grouping user select from the parameter (Number of tables inside list control based on the parameters)

the report looks fine in report manager but when it's export to excel it's shows random behavior i.e.

1.no gap between the group (I wanted this) see row# 9,18

2.extra rows which not properly showing in hide (row# 13,22) in yellow color.

is there any way to avoid this random behavior after new group inside the list it's should return 1 row gap.

Thanks in advance.

Zaim Raza.


http://zaimraza.wordpress.com/

SSRS 2014 how to stop refresh report on parameter changed

$
0
0

I have report with multiple parameters, in the report page, some of them are dropdownlist, some of them are textbox, and checkbox. I found that when one of dropdown selected item changed, the report was refresh automatically. 

I have code to call SetParameter for report viewer. 

For now, I want to cancel this auto refresh report event, only when user click button to generate report, the new report can refresh with all new parameters. 

Do you have any solution for it?

In SQL2008, SSRS works like my expected case, no refresh when parameter is changed from Report page UI. 

But SQL2014, it is refreshed. 

How to read database credential from the datasource connection string

$
0
0

Hi,

In SSRS report, how can I change the datasource credential in the connection string, and that come into the affect.

I have created the report and deploy on the Report server. I have saved the credential in default datasource. It will run as expected. Now I have changed my database password. So I am not able to connect to my datasource. How can I change the credential in datasource. I do not want to re-deploy the report.

Please give me the solution.

Http 500 Error When accessing Web Service URL and Report Manager URL

$
0
0

Hi

I am having difficulties accessing Report Server from my machine. 

I am getting Http 500 Error in both cases of accessing Web Service URL and Report Manager URL. 

I have checked all the Reporting Services are running.

I tried with different port, other than default port 80. But no Luck. 

And I cannot log in to Report Server database , the error says: Unable to connect to server. The specified URL might not be valid or there might be a problem with report server version or configuration...

I run all the of them as Administrator.

Please help me solve the problem.

Thanks

Add parameters to shared dataset

$
0
0

I am using sql 2016. On Report Portal how do I add a parameter to an existing shared dataset?

Thanks


SSRS total number of rows print in one page

$
0
0

Hi

I have one report in that need to print in header total rows print in one page the row height is not fixed. I do not want to fix the row par page as well. Is there any function which will give to total row print in every page.

Thanks

Matt Johnson

 

Setting correct scope for a Report Builder 3.0 indicator

$
0
0

I have a report with a top level group containing columns Software title, Licenses and Installed copies and in a child group I have the computer names

I have created an indicator with an expression to set the state.  

=Switch(Fields!Licenses.Value>Fields!Installed_copies.Value,75, Fields!Licenses.Value=Fields!Installed_copies.Value, 50,Fields!Licenses.Value<Fields!Installed_copies.Value,25)

The > and = evaluate ok but the < does not.  I can only imagine that in the child group each computer has one installed copy which evaluates as 50 for one actual license.

I need to evaluate the indicator at the top level parent group (e.g. 1 license < 4 installed copies evaluates as 25)

Thanks

David

SSRS Monday of Previous month frmula

$
0
0

Hello all,

Is there a formula in SSRS to have a Date parameter default to the second Monday of the previous month? 

"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

SSRS 2016: Service not available in Report manager and Report Server

$
0
0

Hi All,

I have installed the developer version of SQL 2016 and when I try to open the report manager outside my company's domain I am getting the below error:

"Windows returned a ERROR_NO_SUCH_DOMAIN error when Reporting Services attempted to call the Windows Authz APIs.If this issue persists Windows may be having issues connecting to the domain. Check the Windows Authz documentation for more information and details on diagnosing issues. Authz method: AuthzInitializeContextFromSid, Error code: 1355, UserName: DOMAIN\XXXXXX. (rsWinAuthzError1355)"

I have installed cumulative update but the issue still remains. If i connect to the domain, I am having no issues in connecting to report server or report manager.

Can you please help us?

Regards,

Ram


Please vote as helpful or mark as answer, if it helps

Viewing all 20764 articles
Browse latest View live


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