Showing posts with label SSRS. Show all posts
Showing posts with label SSRS. Show all posts

Saturday, July 21, 2012

SSRS Prompt for username and password in IE

Constantly prompted with Windows Security dialog box to enter login details. This is related to IE9 which ships with Windows 7 operating systems.



It is easy to fix this issue by following these steps:
1. Open Internet Explorer (IE9) and from the tools menu, choose Internet Options:


2. From the Security Tab, choose Local intranet and click on Sites:


3. Click on Advanced button:



4. Type in localhost in Add this website text field and click on Add button (Un-tick the box Require server verification (https:) for all sites in this zone):

All done. If you open your IE again and type in Reporting Services URL, you will no longer be prompted to enter login details.
However, you may see a UAC (User Access Control) authorization error message. To learn how to resolve this issue, read this article:

Tuesday, December 27, 2011

SSRS Report Performance & Optimization

You should determine what is taking a long time.  You can query the reportserver database to find out how much time the report is spending running the query and how much time is spent rendering.  To optimize the query time, you need to analyze the query and optimize it as you would any other SQL Query.  Many times the main reason a report will render slowly is because you are doing lots of aggregations inside of the report instead of pushing the aggregations down to the database in your query.
This query will show you the details for a specific report:
select
 CAST(convert(varchar(40),timestart,101) as datetime) dt,
 avg(DATEDIFF(second,timestart,timeend)) run_time_seconds,
 AVG(
  case TimeDataRetrieval
   when -1 then null
   else TimeDataRetrieval
  end
 ) / 1000 data_retrieval_seconds,
 AVG(
  case TimeProcessing
   when -1 then null
   else TimeProcessing
  end
 ) / 1000 processing_seconds,
 AVG(
  case TimeRendering
   when -1 then null
   else TimeRendering
  end
 ) / 1000 rendering_seconds,
 COUNT(*) num_runs
from ExecutionLog2 
where timestart > getdate()-30
and Reportpath=@path
group by CAST(convert(varchar(40),timestart,101) as datetime)