Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 10045 articles
Browse latest View live

open PDF file stored as binary data in a SQL2008R2 database table with a link in a SSRS report

$
0
0

I'm working on a report to show financial transactions from a table over a certain period. For most transactions there is a PDF document that is stored in a separate table in a binairy format. In my report I would like to include a link on every line with transaction information  in the report that opens the PDF that is linked to that transaction. Just to be clear, I don't want to embed the PDF in the report but I want the users of the report to have the option to view the PDF that is related to that transaction in their standard pdf reader (adobe)

Hopefully someone can help me with the code to do the following:

Once a user clicks on the link to view the PDF I need the code to get the binairy data of the PDF file from the table, convert it back to a PDF and open it in the default pdf reader (for example adobe reader). If it can't directly open the file then it's maybe possible to activate the 'open or download' pop up that you also get when you download something from a web site 


Displaying a PDF from Database in SSRS

$
0
0

Good Morning, 

I am using SQL Server 2005 and SSRS 2005, and I am trying to display a PDF (image datatype, application/pdf filetype) from a SQL Database.  There is no MIME option for PDF, so it seems my options are limited.  Is there a way to display the PDF, or maybe convert the binary data at the database level?

Like most requests posted in forums, this is an urgent matter and any help would be greatly appreciated.

How to remove blank spaces after removing duplicated.

$
0
0

Hi all,

I wanted to remove duplicate records from SSRS report. I set the "Hide Duplicates" to True. It is now working, But i am getting the space between the two records, which i want to get rid of.

Has anyone faced this issue, or can help me how to get rid of extra spaces between two records ( Please find the details below).


Rahman

SSRS multiple sub report

$
0
0

Hi,

I created an SSRS report (main report) that contains three sub report(composed of ALL, Phone, Non-Phone and ). the main report has a parameter that choose a business unit (ALL, Phone, non -Phone). Basically my requirements, if i choose Business unit that contains "ALL" the subreport for 'ALL' should be the one to perform. If i choose Phone then it will perform the subreport for phone.

I also added parameter for business unit in every subreport that link to the main report. May i ask your help if this requirements is workable. When i run the main report and i choose "ALL" in  business unit the result the subreport displayed is for phone.

ny help is very much appreciated. thanks.


SSRS Authentication

$
0
0
I need to remove username and password when start  SSRS website

Vijay Patel

Reportviewer for SSRS 2014

$
0
0

I have a ASP.NET application which render the reports, SSRS server is 2014.

Is there a report viewer available for SSRS 2014, or Reportviewer of SSRS 2012 will work with SSRS 2014?

Creating a Filter for a ReportItem

$
0
0

Hi all,

I am new to report builder. I have created a report with a calculated cell that returns a true or false value based on a true or false value from another column (from a dataset field). I want to create a filter for the calculated field (which is a ReportItem), that will only show cells that are True.

I have tried several ways to add this filter, but each time, I get an error message saying that filter or sorting cannot be created for ReportItems.

Do you have any idea how this can be done?

Thank you very much for your help!!

Windows File Share > Add Date Extension

$
0
0
Hi Experts,

When I am saving a SSRS report in excel format in a shared network drive, how can I add the date extension to the filename ?
I assume this is something that needs to be handled within the SSRS reporting side rather than the subscription side.

Need your help here please.


Thanks !

Thanks a bunch ! Sweta

Can you embed an image in an SSRS chart?

$
0
0
When I place an image WITHIN a chart, it appears in the correct location in DESIGN mode, however, when I preview it, my chart renders...and then the image renders NEXT TO the chart.  I can't get the image to display WITHIN the chart area.  Any suggestions?

Date format "MM/DD/YYYY" not sorting correctly

$
0
0

Created a custom SSRS report. applied an interactive sort for a date field. I have the the formatting set to "MM/DD/YYYY" and it sorts everything correctly except for the year.

Example:

As you can see, the dates with 2014 aren't sorted correctly. I want it to sort the dates like:

11/06/2014

12/10/2014

01/07/2015 etc, etc.

Is there a way to get this to take into account the year? but also the month and day?

Thanks,


Export to PDF from the report viewer control time out from ASP.NET application

$
0
0

Hi,

I have an application developed in ASP.NET which reads the SSRS reports hosted at he report manager. For some report when I provide inputs to generate some huge reports (around 3500 pages), it gets generated and display properly on the report viewer control. However when I try export this result from the report viewer to a PDF, it time out after around 1.5-2 minutes. This is an RDL report. If I navigate directly to the SSRS reports page using IE, i.e. not via my custom ASP.NET application, I can generate the same report and also export to PDF without any issues.

I am using Report viewer version 10.0. .NET framework being used is 4.0

Following is my settings in the web.config file for my Custom application.

<system.web>
        <httpHandlers>
            <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
        </httpHandlers>
        <compilation targetFramework="4.0">
            <assemblies>
                <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
                <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
                <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
                <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
            </assemblies>
            <buildProviders>
                <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
            </buildProviders>
        </compilation>
        <authentication mode="Windows" />
        <customErrors defaultRedirect="~/WebPages/ErrorPage.aspx" mode="On">
            <error statusCode="404" redirect="filenotfound.htm" />
        </customErrors>  
    </system.web>

pass a parameter to LDAP query in SSRS

$
0
0

Is it possible to use a parameter in a ldap query using the ADsDSOObject provider?  I keep getting an error "The ICommandWithParameters interface is not supported by the "ADSDSOObject" provider".  Command parameters are unsupported with the current provider.

I don't have a linked server on my DB server to Active Directory so I'm just querying in the SSRS report design.  Here is my query for my dataset.  If I hard code an example it works.  Just doesn't work when I pass a parameter.  I've tried making it an expression (= sign), Tried several syntax's, Tried everything I can think of.  Is this possible? or do I just need to push for a linked server?

="SELECT        sAMAccountName, displayName, distinguishedName " +"FROM            'LDAP://DC=xxxx,DC=xx,DC=xx,DC=xx,DC=xx,DC=xx' " +"WHERE        objectCategory = 'Person' " +"AND objectClass = 'user' " +"AND memberOf = '" + @GlobalGroup + "'"

Query Timeout in Report Builder Design Mode

$
0
0

Hello--

I have a very frustrating problem.  But given that this is a development forum, I'll keep that for my 'Envelope Lickers Rehab' and instead talk about an issue I'm having.

I have a very large query (line-wise) that executes in less than a minute when run from the SQL Management Studio as well as via Excel Services. 

It is a stored procedure with one parameter.

When I try to prime the designer with this query it gives me the following message:

"Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
The statement has been terminated."

Any advice would be appreciated.  I've considered cracking open the xml source and manually creating the fields, but I'd rather not go there.

Thanks in advance.

- Reg

Indicator shows wrong color

$
0
0

Hi,

cf. picture, indicator should be orange but is green.Any suggestion ?

Thanks

Populate parameter list of users

$
0
0

I have a report where a user selects a AD Global Group.  Then I have another parameter that populates with the members of that group.  My problem is the userlist parameter isn't populating.  If I hard code a Global group name it works, but it isn't getting the Global Group parameter when I use @GlobalGroup.  Thanks

SELECT        sAMAccountName, displayName, distinguishedName
FROM            'LDAP://DC=xxx,DC=xx,DC=xx,DC=xx,DC=xx,DC=xx'
WHERE        objectCategory = 'Person' AND objectClass = 'user' AND
             memberOf = 'CN=@GlobalGroup,OU=Groups,OU=SCSM,OU=Applications,DC=xxxx,DC=xx,DC=xx,DC=xx,DC=xx,DC=us'


Parameter selection for users in sub report

$
0
0

Hi,

I have a report with two parameters (@StartDate and @EndDate) to enable users to specify values to customize the data in the report. These two parameters are created within the Dataset. The parameter visibility is set to visible.

Opening the report directly works as expected (the user is able to input the date parameters as he wishes and then sees only the data of the specified time period, see image1)

Now I want to use this report as a subreport (beeing opened from my main report): But when I open the report within the main report (via action go to report) the parameters are not shown anymore, see image2.

Why are the parameters not shown anymore? How can I fix that?

-- I'm working with Reporting Services in SharePoint mode using Sql Server 2012, SharePoint 2013.


Thanks

Image1: Report opened directly

Image1: Report opened directly

Image2: Report opened from main report

Image2: Report opened from main report


rsDataSetExecutionError after stored procedure update

$
0
0

Hi all,

Let me start by describing my Report Project in BIDS 2008:

  • One Data Source that utilises SQL credentials, linked to a 2008 R2 Server database.
  • A set of Shared Datasets deriving data from various Stored Procedures on the database; most with parameters, some without.
  • A set of reports that have embedded datasets that derive data from the shared datasets.

Also I have enabled Remote Errors on the Report Server.

On the Reports Server, this setup has worked fine for the last 3 years until I needed to re-write a stored procedure that provides data to a report that was taking so long to run it always timed out. The revised stored proc. now runs in 35 secs. compared to 18mins before. The procedure's output has not changed; same number of columns with the same data types.

I have noticed the following behaviour when executing the report. It runs without issue in BIDS but once deployed, running the report produces the following error:

Confirmed - the revised procedure does contain temp tables with various indexes. I have monitored the temporary tables created (on tempdb) during the procedure's execution and have confirmed that all the tables are dropped once the procedure terminates - in fact I also have included a section at the end of the proc. to drop all temp tables created. 

The report contains 2 embedded datasets that filter data from the shared dataset. The dataset referenced in the above error is one of the embedded ones. The error message sometimes changes to refer to the other embedded dataset. This is where I'm stumped - what causes this behaviour on the report server? Recall that I've not revised either shared or embedded datasets and the datasource remains as before. All other reports execute without issue. 

Any help will be greatly appreciated.


g_p_k_

Problem installing REPORT VIEWER 2012 RUNTIME missing CLR Types

$
0
0

Hello,

I have a win.forms application part of functionality of which is to show rdlc report. When I try to launch the application it says that ReportViewer assembly is missing, which was expected. When I downloaded and try to install viewer runtime from here:

http://www.microsoft.com/en-us/download/details.aspx?id=35747

I receive that Microsoft SQL Server System CLR Types are not installed and must be installed first. I downloaded appropriate installation from http://www.microsoft.com/en-us/download/details.aspx?id=29065 and it installed successfully. But when I try to run viewer runtime installation it still says that Microsoft SQL Server System CLR Types are not installed.

What do I miss?

Deleting ExecutionCache

$
0
0

What is the difference between CleanExpiredCache and FlushReportFromCache Do we need to run both the SPs to clear all the SSRS reporting cache?

Is it possible to clean all the Cache information and retain the logs? If yes how we can do so.   is it by deleting the REportServerTempDB.dbo.ExecutionCache table helps in achieving this?


Neil

Need to modify report to return events in progress over arrival date parameter

$
0
0

I am new to SSRS and have a report which queries events occurring during the reporting time frame the user selects.

A user selects arrivalDateStart as 8/1/2015 and arrivalDateEnd as 12/31/2015 and the results are returned.

The issue is that there is an event that began 7/31/2015 and ends 8/2/2015. This does not appear on the report. The user does not want to have to pick an earlier arrival date as the parameter of his report to pick up anything that was already in progress prior to the beginning of the month.

I am trying to figure out how to add an expression that will also return events that are in progress over the arrival date chosen for the report. Any guidance would be much appreciated.

Viewing all 10045 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>