Quantcast
Channel: SQL Server Reporting Services
Viewing all 1418 articles
Browse latest View live

Online Report Designer/Builder

$
0
0

Not sure if this is the correct forum but thought i would ask the question anyway

I have a requirement from a client where they need to be able to build adhoc reports through a web based user interface.

Additional requirements

  • include saving the report template/definition to the web application for reuse.
  • Email reports to a list of employees (Like a MS Word mail merge, where each user gets a personalised email) 
  • Save reports to PDF.

Can SSRS do this? Does anyone know of any alternative solutions?

Thanks


A Couple of Questions

$
0
0

Hi everybody.

I'm learning SSRS. Why would one use the List control instead of a table control?  I don't want to see Gridlines.  I see that by default I don't get gridlines with the list control.  I also see that in the table control I can click on a cell and change its borderstyle to none and that cell won't have the grid line look.  If I wanted the whole report to be gridlineLess what would be the best way to do this?  Do I have to change the borderstyle setting to 'none' on each cell individually?

WCF Service to ObjectDataSource fast for GridView and 30 seconds slower for RDLC

$
0
0

I have an asp page with an objectdatasource getting data from a WCF Service. The web service returns a datatable. I compared the speed of data presentation in a gridview and in a RDLC with the reportviewer web control in local mode. The differences are 20 to 30 seconds slower with the RDLC.

I did not have any code behind in both scenarios with all default properties. Is there something I should setup programmatically instead? What can be done to speed the RDLC rendering up? Please advise.

<asp:GridView ID="GridView1" runat="server" DataSourceID="WCFServiceObjectDataSource"></asp:GridView><rsweb:ReportViewer ID="LabReportViewer" runat="server" ><LocalReport ReportPath="BETA.rdlc"><DataSources><rsweb:ReportDataSource DataSourceId="WCFServiceObjectDataSource" Name="NAME" /></DataSources></LocalReport></rsweb:ReportViewer><asp:ObjectDataSource ID="WCFServiceObjectDataSource" runat="server" SelectMethod="GetResults" TypeName="WebApplication.ResultsServiceReference.ResultsServiceClient"><SelectParameters><asp:QueryStringParameter Name="ID" QueryStringField="id" Type="String" /></SelectParameters></asp:ObjectDataSource>

Multiple Databases in single report

$
0
0

Hi,

I have two databases, one is main database and other is Audit database.

I need to build a report combining these two databases.

I have created join query and its working fine in sql.

My question is how can i connect to Multiple databases for a single dataset in ssrs report.

Please help me.

Dynamically control the width of the report based on visible tables (export to pdf issue)

$
0
0

Hello,

I have 2 tables on my report, one with 10 columns, another with 20. Either one table is visible at a time, based on a parameter passed from the user.
When the report is showing 10-column table and the user exports it to pdf, they get extra blank page after each data page because even though only small table is visible, the actual canvas size is allocation for the larger table.

Is there a way to get around that issue? How can I let the report know to wrap around the visible table?

Thanks,

Igor

Using SSRS Business Intelligence

$
0
0

Please can SQL Server Reporting Service Business Intelligence be used with ASP.Net, precisely Web Pages not MVC. Thanks

Multiple Item Report With Tables

$
0
0

Dear Friends:

We have a report that needs created that is causing some problems.

The report can have multiple items with tables inside.

For example:  the report will print a listing of orders but inside of the orders will be sections with the parts ordered.

So the report will display the orders placed for the day.

Page 1:  the order information (Order Name, Address, Sale Details, etc).
Page 2:  the order details (a table of individual parts ordered)

So each time the report runs, there could be numerous orders, each with numerous detail items.

We have Page 1 working, just put the items inside a "List" from the toolbox and set the dataset on the "List" object.  But when we go to add a Table to the report for the Order Details, the dataset is preselected to that of the "List" object.  We can't select Order.Parts or anything like that to show the parts object of the order.

Would anyone know of a way to have a multiple display inside a multiple display for a report?

Reporting

$
0
0

Please my project will requiring a large and complex set of reports. Is there any short form of reporting in web pages or i just have to use html css and the database


Send Mail Attachment of Report in Report Viewer as ms word document

$
0
0

Hi,

How to send Mail Attachment of Report in Report Viewer as ms word document

Thanks for help

Getting SSRS to work with ARR (Application Request Routing) URL Rewrite

$
0
0

I found an interesting article about setting up a reverse proxy in IIS 7 and ARR. I would like to use one external IP and route the user to multiple internal Report Servers:

http://blogs.msdn.com/b/carlosag/archive/2010/04/02/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr.aspx

My normal .asp pages are displayed using the proxy, but I have not been able to get my SSRS 2008 reports to show up. I can get to the list viahttp://<some_proxy_server>/ReportServer/Reports

However, except for some menu items, the report data is not displayed. Has anyone successfully gotten SSRS to work using ARR and URL ReWrite? Thanks.

 

 

 

Repeated AspNetSessionExpiredException errors, even after session has ended

$
0
0

I have a traditional ASP.NET application written in VS 2010 against .NET 4.0.  It is hosted on a Windows 2003 server, with IIS 6.0.

Within the application, I have a page with an SSRS Report Viewer (version 10) on it.  This connects to our SQL Server 2008 Report Server.  (It is not R2.)

Every few months, I start to see errors, logged every nine minutes, that look like this:

Exception information:
Exception type: AspNetSessionExpiredException
Exception message: ASP.NET session has expired or could not be found
at Microsoft.Reporting.WebForms.ViewerDataOperation..ctor()
at Microsoft.Reporting.WebForms.HttpHandler.GetHandler(String operationType)
at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

These errors are thrown repeatedly and without any clear end.  No user says they have ever seen evidence of them.  They continue after hours, long after everyone has logged out.  This latest "flare up" has gone on for nearly two days.  

In the past, the only thing that seemed to stop them was:

  1. Stopping the website in IIS
  2. Deleting the virtual directory for the application
  3. Re-creating the virtual directory for the application
  4. Starting the website again

What has not worked:

  1. Killing the w3wp process
  2. Forcing app pool recycling
  3. Bouncing our application server
  4. Bouncing our SQL Server

Trouble is, my so-called fix is no longer working at this point, either!

I considered writing some "shut up" logic to ignore errors of this specific type in global.asax, but this is unacceptable, because:

  1. My users are complaining about degraded performance
  2. The errors are still thrown, so performance degradation will continue regardless of what we do with the errors.

Any help would be tremendously appreciated!

Reports fields are not visible in chrome.

$
0
0

Hi. Friends

I am facing an issue that SSRS Reports some fields such as show/hide are visible in chrome can you guide me how to resolve it.

Is it possible to use Report Viewer in .net framework 2.0

$
0
0

Hi

In Microsoft visual studio 2005 framework 3.5 we have Report viewer control I was wondering that is it possible to use Report Viewer in .net framework 2.0

Is it possible to configure Reporting Services to emit browser compatibility headers

$
0
0

Hi

It is possible to configue sql server reporting services server to add meta tag for compatiblity.

SSRS Report Not Viewing as it does in Visual Studio

$
0
0

Hi,

I have developed some SSRS reports, and everything looks fine locally within Visual Studio but when I deploy to the server, it doesn't seem to render correctly and report items are eitehr missing or seem to be all over the place. 

Firstly should this be the case?

Secondly I have noticed when pressing F12 that the Document Mode is Quirks Mode.  If I change this to a standard setting, the report displays better, but I cannot dynamically change this setting?

Any ideas?

Cheers, Jon


ReportViewer - SSRS Jump to report

$
0
0

I have a ReportViewer control which is rendering a SSRS server report. The report is loading fine, but when you click on the link for the drill down report nothing happens. This report is using "The Jump to report:" option in SSRS. Can anyone tell me what is necessary to allow the ReportViewer control to drill down to the second report? Also I will need to be able to pass parameters to the second report. An example would be very helpfull. Thank you.

Visual Studio 2008 is unable to preview report with the unsaved changes

$
0
0

Hi,

As I need to install the Visual Studio 2008 to a Windows 7 PC (as there is no longer support in Windows XP), after the installation and updates, the Visual Studio verison is 9.0.30729.4462 QFE (with Microsoft.NET Framework Version 3.5 SP1).

I have re-built the Project and import the existing report items to the Windows 7 PC (new PC), the report can be run as before. However, when I found that if I made some changes at the report items, and when I preview the report, the changes are saved automatically at the Preview. I have checked the setttings (Tools > Options > Projects and Solutions > Build and Run > "Before building" ([Save all changes] selected)).

In order to prevent it from saving automatically at Preview Mode, I have changed the setting to "Prompt to save all changes". However, when I start to update the report (e.g. remove a chart or add an image), then when I preview the report, it fails to show the latest change! It can only show the change when I save the report before the preview!

I have not encountered this situation before at the old PC! Can anyone advise on this? It seems it is ridiculous to save all changes before we are allowed to preview the report espeically we need to test the layout appearance before finalizing the work.

Since I can do the same thing at the old PC, I really have no idea on whether it is related with Windows 7 or any other platform or setup, but this question really annoys me! Can anyone please kindly advise? Or I have missed something in the setup? Thank you very much!

The SQL server now is running on 2008 R2.

SSIS Issue

$
0
0

Hi All,

Please help on the SSIS issue.

i have a package.It contains Foreach loop container,Inside foreach loop container,I have one Dataflow task(Inside dataflow task,i am using Oledb source(table),I am populating
Data into Flat file)with flat file name YYYYMMDD_HH24MISS.txt. After i want to Zip that file with same file name.
YYYYMMDD_HH24MISS.txt.zip,After that i want copy that Zip file into another location.

Thanks in advance...

Report Viewer which generate and send PDF file can't work on the server

$
0
0

Hi,

I am having problem when running an EXE file created by VS2010 on the Server thru SQL Server Agent (Batch).

It working well when running on the local PC / Laptop.

Please help me to solve the problem below. See the Source Code below.

Thanks & Regards,

Syarif

 

Dim rds As New ReportDataSource

rds.Name = "rdsForReportViewer"

Dim DriverNameParm As String

Dim RegisterNumParm As String

Dim OpenReadingParm As String

rds.Value = DSViewer1.GetData(RegisterNumParm, DriverNameParm)

rds.DataSourceId = "rdsForReportViewer"

Dim warnings As Warning() = Nothing

Dim streamids As String() = Nothing

Dim mimeType As String = Nothing

Dim encoding As String = Nothing

Dim extension As String = Nothing

Dim deviceInfo As String = Nothing

Dim viewer As New ReportViewer()

viewer.Reset()

viewer.LocalReport.Dispose()

viewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local

viewer.LocalReport.ReportPath = "Net40_OdometerReadingForm.rdlc"

viewer.LocalReport.DataSources.Clear()

viewer.LocalReport.DataSources.Add(rds)

viewer.LocalReport.Refresh()

Dim myparams As New List(Of ReportParameter)

myparams.Add(New ReportParameter("DriverName", DriverNameParm))

myparams.Add(New ReportParameter("RegisterNum", RegisterNumParm))

myparams.Add(New ReportParameter("OpenReading", OpenReadingParm))

viewer.LocalReport.SetParameters(myparams)

Dim bytes As Byte()

Try  

     bytes = viewer.LocalReport.Render("PDF", Nothing, mimeType, encoding, extension, streamids, warnings)

Catch ex As Exception   

     ErrorEmail(ReportEmailAddress, ex.Message)   SQLConn.Close()

Exit Sub

End Try

 

                       

              

 

Using ReportViewer in Visual Studio Express 2013 for Web

$
0
0

Hello,

I am trying to display SSRS reports in my ASP.Net web application. I have been trying unsuccessfully to use ReportViewer inVisual Studio Express 2013 for Web. When I pull the ReportViewer control into my Aspx page in Design mode, I get the following error:

Error Creating Control - ReportViewer1
Failed to create designer 'Microsoft.Reporting.WebForms.ReportViewer, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Here's what I have already done:

Following the instructions in this thread, I did the following:

  1. Downloaded and installed SQL Server Express 2012 with Advanced Tools (including Reporting).
  2. Downloaded and installed SQL Server® 2012 SP1 Report Builder.
  3. Downloaded and installed Microsoft Report Viewer 2012 Runtime.
  4. In VS Express 2013 for Web, I couldn't find Tools > Choose Toolbox. So instead I went to my Toolbox > Right-click > Choose Items.
  5. Under the .NET Framework Components, I checked ReportViewer (Namespace: Microsoft.Reporting.WebForms; Version: 10.0.0.0).
  6. Just to be sure, I also checked ReportExecutionService (Namespace: Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution; Version: 10.0.0.0).
  7. When I add ScriptManager control then ReportViewer control, I get the error above.

I have confirmed that the following assembly has been added to my .aspx page:

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

It has also been added to my web.config:

<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"/>
</assemblies>

What steps have I missed above?

Thanks in advance for the help.

Viewing all 1418 articles
Browse latest View live


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