﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - Problem with sqlreportviewer and multiple SSRS datasources</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-sqlreportviewer-and-multiple-SSRS-datasources/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Problem with sqlreportviewer and multiple SSRS datasources</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-sqlreportviewer-and-multiple-SSRS-datasources/</link><pubDate>Fri, 10 Aug 2012 00:01:58 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Sumner,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;What kind of security that you set? I think the problem also connected with the security that set in SSRS datasource. If our SQLReportViewer really still called other datasource report, we need to replicate this in our environment first. So, would you mind to brief or guide us in step by step in detail such as in screenshot or video? We just don't want to miss any scenario that make the issue comes again.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Problem with sqlreportviewer and multiple SSRS datasources</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-sqlreportviewer-and-multiple-SSRS-datasources/</link><pubDate>Thu, 09 Aug 2012 07:25:16 GMT</pubDate><dc:creator>sumner@ppg.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;After further investigation, what is happening is that the sqlreportviewer component is iterating through all available reports (issuing a FindObjectsRecursive to SSRS)&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 10pt;"&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;It then retrieves all the parameters for any other reports it finds and if any of those parameters are derived from a query, it tries to execute the query to get the parameters.&amp;nbsp; If the user we are running at doesn't have security permissions to the underlying dataset then the entire process fails and we never see the original report.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 10pt;"&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;We have tried setting &lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;EnableAutomaticListFetching="False" and &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;CanUserShowReportList = "False" but this makes no difference at all.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;The way I have found to get around the exception is to manually configure the report level security in SSRS to stop reports being visible to the sqlreportviewer - but, and this is a big but, this does not stop the underlying problem - &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;we have many reports that use parameters driven by queries so even when I stop the actual exception message, sqlreportviewer is still running all my reports parameter queries even if I have no intention of running the report.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 10pt;"&gt;This is massively inneficient!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 10pt;"&gt;Is there a solution for this or does anyone know an alternative sql report viewer for silverlight that actually works?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="font-size: 10pt;"&gt;Thanks.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;span style="color: rgb(255, 0, 0); font-family: consolas;"&gt;&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;
&lt;/span&gt;</description></item><item><title>Problem with sqlreportviewer and multiple SSRS datasources</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-sqlreportviewer-and-multiple-SSRS-datasources/</link><pubDate>Thu, 09 Aug 2012 04:36:26 GMT</pubDate><dc:creator>sumner@ppg.com</dc:creator><description>&lt;p&gt;Hi Handy,&lt;/p&gt;
&lt;p&gt;I am trying to work around this issue today but this would appear to be something much more fundamental that a security issue.  In the scenario I have described, there is no way that the sqlreportviewer component should even know about Database B let alone try to access it.&lt;/p&gt;
&lt;p&gt;When I trace the actual calls made to SQL Server during the test run, I can see that there are calls made to try and find all reports and then it seems to try to access them in turn - why would it even do this?  When I run any SSRS report from any other component, it checks if the report exists, opens it, get the parameters, get the data source, runs the report.  The sqlreportviewer component first calls to get a list of ALL reports (regardless of which report I asked for) and then proceeds to try and open each report in turn.&lt;/p&gt;
&lt;p&gt;Something is seriously wrong with the way this component is working.&lt;/p&gt;
&lt;p&gt;Regards,  Lee.&lt;/p&gt;</description></item><item><title>Problem with sqlreportviewer and multiple SSRS datasources</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-sqlreportviewer-and-multiple-SSRS-datasources/</link><pubDate>Wed, 08 Aug 2012 23:22:06 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Sumner,&lt;/p&gt;&lt;p&gt;Can you please guide me by showing a recording video how to set up your database in SSRS? I think there is a problem in security that he haven't handle. But we need your help to figure out the issue.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Problem with sqlreportviewer and multiple SSRS datasources</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-sqlreportviewer-and-multiple-SSRS-datasources/</link><pubDate>Wed, 08 Aug 2012 17:53:14 GMT</pubDate><dc:creator>sumner@ppg.com</dc:creator><description>&lt;p&gt;I have a really strange problem with the sqlreportviewer control.&lt;/p&gt;
&lt;p&gt;If I only have one datasource in reporting services, sqlreportviewer behaves exactly as expected.&lt;/p&gt;
&lt;p&gt;For example;&lt;/p&gt;
&lt;p&gt;I start with a completely new SSRS database&lt;/p&gt;
&lt;p&gt;Add a single datasource called DataSourceA pointing to database A&lt;/p&gt;
&lt;p&gt;Add a report called ReportA that uses DataSourceA&lt;/p&gt;
&lt;p&gt;Run Report A from using sqlreportviewer and everything seems fine (report appears with data - no errors)&lt;/p&gt;
&lt;p&gt;NOW THE WEIRD BIT&lt;/p&gt;
&lt;p&gt;Add a new data source in SSRS called DataSource B pointing to Database B&lt;/p&gt;
&lt;p&gt;Go back and run Report A and I get a security error telling me I cannot open Database B&lt;/p&gt;
&lt;p&gt;Nothing else has changed except the addition ofi DataSource B&lt;/p&gt;
&lt;p&gt;This is driving me mad and I have double/treble checked all the settings for the report renderer atc etc (and I don't believe it is this because the report initially works)&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;Why is sqlreportviewer trying to access DataSource B when absolutely nothing has told it to do so?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;Any ideas?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>