Log File Downloads from SSRS Native Server - reporting-services

I have a 2016 SQL Reporting Services server setup in native mode where I store the usual .dtsx reports on there alongside some legacy excel reports that are manually uploaded. I can track when each report is run in a variety of ways but I'm unsure how to track the excel file downloads which I will use a rough metric of usage. I've tried the following:
Execution Log view in Database --Only records report execution.
SSRS Log files with HTTP Enabled -- Default Logs, and then with HTTP logging enabled, both which do not record the act of downloading the excel file.
As per comment below, IIS is separated from SSRS2016 Enable logging on IIS (server and website level) - No log file is created. I assume this is because IIS passes traffic directly to SSRS2016 which uses some internal library to host it site.
How can I log each time a file is downloaded from my SSRS report server?

Related

SSRS passing Data Source credentials when deploying to SSRS Web Portal

I want certain reports to execute as a super user, but when I change the Credentials section for the .rdl embedded Data Sources, these changes do not propagate through to the web server. That is, users still have to enter their username/password on the web server, and run into permissions issues.
The current workaround is to "Manage" the report on the web server (using the ellipses...) and telling each report to log into the data source "Using the following credentials..." and putting the super user creds.
But this means that everytime we redeploy the report, we need to do this. We would prefer if the settings we have in the actual .rdl in SSRS actually show up on the web server after deployment.
I suggest to use shared datasources for your reports. For each database a report needs access to, create one such shared datasource. The default project settings for Report Server projects in Visual Studio is to not overwrite datasources that already exist on the server when deploying the project. This way, you will have to set the credentials in the Web Portal for each datasource only once, and you don't have to care about that when deploying updated reports.

How to open report server manager from web browser once database is deleted?

I've created a few reports in report server. Also I've added a data source to that rdl file. Now when suddenly I deleted a database of store procedures used by my rdl file, when I am trying to browse report server manger through Internet Explorer via a URL like http://pct107/ReportServer_SQL2014, this page doesn't get loaded and shows me the below error.
The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help
Cannot open database "Testing" requested by the login. The login failed. Login failed for user 'sa'.
How to resolve this event? I'm not able to see any content except the above error message.
If you open the location where MSReportBuilder.exe is installed there's a file called "MSReportBuilder.exe.config". You can delete this file with Report Builder closed (or save a copy to be on the safe side) then re-open Report Builder. This will stop it trying to automatically log into the server.

Deploy rdl report to remote server

I have report solution file with one project and one report.I have designed rdl report using BI in SSDT tools. After creating report successfully build is success and preview is ok. No problem did not arise when i did create report.
Now, I want to deploy this report to my remote reporting server. I gave a url like this www.plumeria.arvixe.com/Reports into Target server url. when i press deploy then need username and password, i gave that. after certain time it appears a errors like this.
Many times i have tried but not get a proper solution step by step deploy rdl report to remote server.
Is there any solution? Thanks.
"like this www.plumeria.arvixe.com/Reports into Target server url" is not correct. What you are referring to is the Report Manager.
You have to correctly specify:
Target Dataset folder
Target Data Source Folder
Target Report Folder -->From your project
Target Server URL-->Get it from Reporting Services Configuration Manager
Target Server version.
You may need elevvated permissions in SSDT.
My target url used in my book is as follows:
http://HODENTEKWIN7/Report_Server_Kailua
The instance name of SQL Server is Kailua and it is native mode.
This is a comprehensive book covering SQL Server 2012 both native mode and SharePoint

Unable to configure project reports in TFS 2010

I'm trying to use team foundation server power tools to add project reports to an existing team foundation server 2010 install. Here's the command I'm running with the output...
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>
tfpt addprojectreports /c ollection:https://SERVERNAME:8080/tfs/Projects /teamproject:SANDBOX / processtemplate:"MSF for CMMI Process Improvement v5.0" /validate
The project collection does not have reporting configured. Therefore,
reports cannot be added to projects in the collection.
The error message seems to indicate that reporting services has not been set up for the whole project collection. If I log into the TFS server and run the TFS admin console, hit Reporting under the application tier, each area (warehouse, analysis services and report server) indicate that everything is configured and enabled.
Also, if I point a browser to the report server configured within the admin console I get a directory listing with two data sources listed (Tfs2010OlapReportDS, Tfs2010ReportDS) and a directory called TfsReports. In the TfsReports dir there is a Projects directory and further a directory within the projects directory which contains what I'm assuming are the default reports for a project. If I drill all the way down to an actual report Build -> Build Summary, it runs just fine.
So, it seems like reports are configured for one of the team projects, but I'm not sure how this was accomplished since I'm not able to do this for other projects. If I run the previous command and use the name of the project that already has reports for it, I get the same error message.
I don't think I have the collection URL incorrect because if I totally fudge this I get a TF31002 error indicating unable to connect to TFS.
Any thoughts? Thanks a lot.
In the TFS Administration console, go to the project collection and in the Reports Folder tab ensure that you have set the Default Folder Location.
If the tab isn't showing (because you haven't closed the admin console since you configured reporting), click the refresh button at the top of the window and it should appear.

SSRS Report Rendering Hangs With Stored Credentials For XML data source type

In SSRS Report Server (SQL Server 2008 R2), I have a shared data source with data source type of XML. I have a report that uses a shared data set based off of the shared data source. The XML endpoint is living in an IIS-hosted Windows authentication app, and my development server is on a domain.
In Report Server, if I set the shared data source Connect Using option to Windows integrated security, the report renders quickly and as expected.
If I set Connect Using option to Credentials stored securely in the report server (with either domain or local account as configured account), the report rendering hangs indefinitely. There is no error. The "Loading... cancel" popup never goes away. The last line in the Report Server log file says:
library!ReportServer_0-6!19a4!11/22/2011-10:59:27:: i INFO: RenderForNewSession('/Test1/MyReportThatHangs')
Since Report Server caching does not work with "Connect Using" = "Windows integrated security", I'd really like to use "Credentials stored securely in the report server". Is it possible that option is not supported with the XML data source type?
The problem was SSRS was trying to load BCMLogon.dll which it didn't have permission to.
For full thread, see here: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/928cd523-9eeb-49ce-a145-e0885c76adba
I guess I didn't wait long enough to get the error this guy did:
http://completedevelopment.blogspot.com/2009/01/network-provider-issues-and-sql-server.html
Renaming c:\windows\system32\BCMLogon.dll to BCMLogon-RENAMED.dll
fixed the problem (I'm working off of a Dell laptop). I can't believe
I didn't try that before... Anyhow, I still think it's odd that
there was a System.Data.SqlClient.SqlException: Timeout expired
exception when checking "Impersonate the authenticated user after a
connection has been made to the data source" with an XML data source
(unless SqlDataClient has some mode where it can load XML from urls).
Also, it seems that reporting services isn't properly notifying
clients that the HTTP request failed and instead leaves the client
hanging (but perhaps http.sys does not allow a response that after 15
minutes).