-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CustomSecuritySample: Still Windows authentication after changes #21
Comments
Hi Daniel, Based on your changes, just restarting the service and your browser should be sufficient. You can also try to hit the /reportserver endpoint to check if the issue is specific to the portal or to both endpoints. This initial login is defined basically by the entry in the web.config, you can check in the server logs for which AuthenticationType is actually being loaded. Do you have any other SSRS instances installed in this machine? Thanks |
@gboreki Thank you for feedback. Does this imply that I should add the CustomSecuritySample DLL inside C:\Program Files\Microsoft SQL Server Reporting Services\RSServer\ReportServer rather than C:\Program Files\Microsoft SQL Server\MSRS13.SQL2016\Reporting Services\ReportServer? I have only one instance installed according to Reporting Services Configuration Manager. |
The preview doesn't support multi instance, you will have only the RSServer instance and there is where you need to do the changes. |
This was the reason. When I changed the Standalone instance and restarted the services the logon page shows up. Case closed. Thank you very much for your help. Kind regards |
I'm rather sure I have missed something but cannot figure it out and I have followed the guide step by step. The main difference is that I have SQL2016 as instance name but otherwise nothing special.
Expected result
I expected that after a restart of the services a logon screen should be provided when entering http://computername/Reports in the browser. But instead I still get an Windows authentication prompt. I think that I miss some final steps in the guide that needs to be done to make it work but cannot figure out what
Setup
Instance name: SQL2016
URL set in Reporting Services Configuration Manager: http://computername/Reports
Configuration steps taken
The following changes have been made where I followed the README:
RSReportServer.config:
Set AuthenticationTypes to Custom:
Replaced UI with new data:
Replaced Security extension information with:
Replaced Authentication extension with:
RSSrvPolicy.config:
Added a new code group:
Web.config:
Added under system.web:
Changed authentication mode from Windows to Forms and added authorization and identity impersonation:
RSWebApp/Microsoft.ReportingServices.Portal.WebHost.exe.config:
Added the same validation and decryption key as in Web.config for Reporting services
Copy files to right places
C:\Program Files\Microsoft SQL Server\MSRS13.SQL2016\Reporting Services\RSWebApp:
C:\Program Files\Microsoft SQL Server\MSRS13.SQL2016\Reporting Services\ReportServer:
The text was updated successfully, but these errors were encountered: