I am trying to implement custom forms authentication with SSRS 2016.
Within this article, a reference is made to the SQL Server Reporting Service Product Samples.
It appears that the latest supported version on the samples page (with regards to security extensions) is SSRS 2012. I have successfully applied the information gathered on the samples page to a SSRS 2014 instance. However, it looks as though the file system structure has changed a bit for SSRS 2016 (read, there is no longer a ReportManager folder) which seems to invalidate the instructions provided by the samples page.
Does anyone know where I can find updated procedures for establishing custom authentication?
We stumbled upon a thread on the MSDN forums located here. This thread has had quite a bit of activity including responses from the product team.
For anyone having issues with getting a custom security extension to work with SSRS 2016 in the next couple of weeks, please have a look. After that, it is my understanding that all of this information will be included in the documentation when the product is in a RTM state.
I recently did this work.
I searched in many sites. This example works for me:
https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample.
Below, under the example of the project, there is a deployment manual.
Note, in my case, the web portal did not work without assigning machineKey in the files:
...\Reporting Services\ReportServer\web.config
...\Reporting Services\RSWebApp\Microsoft.ReportingServices.Portal.WebHost.exe.config
In general, everything as described in the manual. Not missing a single step.
The site I used to generate the key:
http://www.developerfusion.com/tools/generatemachinekey/
I hope this info helps someone.
I think you dont have a problem with get username and password or generating user token, some changes about Security Extentions in SQL Server 2016 refers CheckAccess function in IAuthorizationExtension interface.
In the following links you can find changes and sample codes especially for implementing a Security Extension for SQL Server 2016.
Implementing a Security Extension
Configure Custom or Forms Authentication on the Report Server
Authorization in Reporting Services
IAuthorizationExtension.CheckAccess Method (String, IntPtr, Byte[], CatalogOperation)
Related
I'm just about to deploy my first LS2013 app (Desktop only). I have a dev and live SQL Db (external DB's only), so the connection string changes depending on which server I want to connect to
I'd ideally like a way for the user to be able to choose dev or live that set the connection string. i don't think that's possible. Regardless of that, i'd like to be able to indicate somewhere (ideally menu bar, but if not in a splash screen) the name of the SQL server they are connected to.
Anyone know how to get some details of the current connection in C#?
Thanks
Mark
You need to write a simple WCF RIA Service that returns a simple DTO with the environment data that you want. On the server you have access to 'WebConfigurationManager.ConnectionStrings' and plenty other information. The MSDN docs on this are here:
Guidelines for creating WCF RIA Service for LightSwitch
The latest version of LightSwitch included in VS2013 update 2 has support to dynamically change the connection string based on the user or any other criteria that you choose like a web.config setting.
Unfortunately this information is still undocumented and the LightSwitch team will do a blog post about this in the near future, so keep a look out on the LightSwitch MSDN website. You could also search the LightSwitch MSDN forum for the post where this new capability was announced in recent weeks.
It's a bit of a kludge but you could have a table in each database called, say, Configuration, with a couple of columns: AttributeName and AttributeValue.
Your dev table could have a row with SQLServerName and DevBox1
Your live table would have SQLServerName and LiveBox1
Then you can just create a query to pull back the AttributeValue when AttributeName = "SQLServerName".
I have a large number of reports that only seem to load when working with MS Visual Web Developer Express. When I put application into production, all my reports just spin and then show nothing.
We need a lot more information to give you a good answer. There are many reasons why this could happen. One possibility - the data source is different on the server than on your local PC. Keep in mind - when you deploy a report to a SQL Server Reporting Services server, and you overwrite an existing report, your newly deployed report will keep the old data source of the report you're overwriting; It will not automatically use the datasource you were using on your development machine if it was previously using something else.
Check in profiler if the Database dou think is accessed is accessed by reportserver.
If not check the datasource in http://yourreportserver/reports/
Have you tried running IE8 in compatability mode?
#mike, as you said, while you already check and recheck the data source but still some user can use the report, and some other dont.
Lets have some scenario. User A work on PC A001 can use the report, while user B, work on PC B001 cannot use the report.
Please recheck whether user A still able to use the report in PC B001? if that the case, the problem is in the user right. but if not the problem is in IE/machine configuration.
hope that helps.
Everything I've read on setting up External Content Types with BDC seems to use SharePoint 2010, rather than SharePoint Foundation (SPF) 2010 (the free version). Even though it also includes BDC, it doesn't seem to include support for creating a Secure Store App ID for alternate credentials (like full-blown SP does). I cannot seem to get an External List to read from a SQL database table because of this. I'm using a Database that is on the same server as my SPF installation, so it's not doing any remote connections. Can anyone point me to something helps explain this properly?
After reviewing a bunch of articles, the solution appears to be explained here: http://wyldesharepoint.blogspot.com/2010/06/setting-up-external-content-type-for.html
Yes, Secure Store is for Standard+.
This link might help you on the right path:
https://sharepoint.stackexchange.com/questions/3331/sharepoint-2010-foundation-bcs-errors/
I am currently looking into developing and designing the Report service system for work. My user does not seem to have access to Report Builder etc. I have given access to the below roles, but all I can seem to do is view report, create new folders and upload.
Browser
Content Manager
My Reports
Publisher
Report Builder
Does anyone know what I need to do to resolve this?
Thanks
Have you tried following the instructions on MSDN?
(These are the instructions for SQL 2008- I think the process for SQL 2005 is similar but may differ slightly)
To all,
I have noticed that other reporting tools allow you the option, at the time of running a report from the web interface, to either have it rendered to the browser or allow you to enter an email address have have the report sent to that address. This would be helpful for long running reports or reports that are fairly large.
My question is whether this can be done with the existing sql server 2008 report server toolset or if there are third part solutions available?
Thanks.
--sean
I don't think that what you are wanting to do is possible out of the box.
This may seem like overkill for your situation, however, I have worked for a client who wanted some custom features like this. Given that Report Manager is so inflexible out of the box, we wrote a new front end leveraging the Reporting Services Service. We could then write our own extended capabilities right into the new viewer.
This link describes it a bit more.
http://msdn.microsoft.com/en-us/library/ms159218.aspx
You can setup a subscription on a report which will email it too you once or at regular intervals.
This Link give you more info. Be aware that if you want data driven subscriptions you need enterprise sql server.