Quantcast
Viewing all 519 articles
Browse latest View live

Subreport Woes, Where are the log files?

I'm struggling with getting a sub report to work, and I must be missing something silly. I'm getting an error of "Warning: An error occurred while executing the subreport 'Subreport1' (Instance: 11iS0): Data retrieval failed for the subreport, 'Subreport1', located at: TimeToPay.rpSubReport.rdlc. Please check the log files for more information.  (rsErrorExecutingSubreport)"

My question is Where are the log files?

I"m writing in C# with client side reporting.

Can anyone tell me where to find the log files?

Bernie



Strange Scrollbars into table header cells

Dear All,

I'm facing a strange issue and I cannot figure out what I have to do.

I have a report with a table, all works well the table header fields that are shown with a scrollbar. I tried to resize the table and the cells itself, to resize the font, etc... but it still doesn't work.

Do you have any suggestion ?

Thank you very much.

How to use SSRS 2008 in VS 2003

Hi,

I would like to use the SSRS 2008 in my VS 2003, but I found nothing related to the Business Intelligence Project in the VS 2003.
Thanks for help.

Jason

What is the reason of this error in Crystal Reports?

I have a problem with the crystal reports.I have a report in which four tables are bound as source to the tables.In those 4 tables one table database fields are used in the formula fields.When I set that formula field on the report I am getting error this error "Unknown Database Connector Error" in the Preview Report.

Suppose when I remove that field or comment the formula code of that field we are not suppose to get that error.I don't understand that error too.

I have written like this in the formula field

if{students.name}=""thenelse"Student Name : "+{students.name}

I have googled alot but no use.Can any one help me regarding this ?

sub report is not working for RDLC VS2010 report using VB.NET 2010

Hi,

I'm working on VS2010 rdlc report. my work is to convert all crystal reports into VS2010 rdlc report.

I have completed all the possibility of report conversion. now i am confusing and has problem in sub report concept of rdlc.

Actually there is one main report and i have 26 sub reports available for this main report. I am using add hander in VB.NET 2010

AddHandler objRPTVWR.ReportViewer1.LocalReport.SubreportProcessing, AddressOf CD01SubreportProcessingEvent

for every 26 subreport.

In every CD01SubreportProcessingEvent procedure i'm executing select query using dataset and assign to e.datasource like,

 e.DataSources.Add(New ReportDataSource("dsSoxInpDtlAuditCD01", l_dsRptCD01.Tables(0)))

So, I need complete set of coding help for sub report calling in VB.NET 2010..

Thanks,
Saravanan K

Font size change between localhost and test server

I am generating a web report with an rdlc. when i deploy to localhost everything looks fine.  When i deploy to our test server the font is bigger and forces things to extra pages and messes up the tablixes.  To test i removed a word from localhost rdlc redeployed on the off chance it just has an old version.  The version on the server was missing the word, but the font is still bigger.  I am completely stumped on what could happen between localhost and the server. Any help would be appreciated

Report viewer Redistributable Package for vs 2012 release?

Hi, I can't find a release version for reportviewer 2012 to install on our clients?

Only thing I can find on Microsoft downloads is the ctp from last year or a beta.

Or is there some change on how to distributable the runtime to end users computers?

Thanks for your assistance

ReportViewer does not loading Local Report in asp .net

Hi Experts.

I have created a localReort (.rdlc) in my asp .net application. and bind it with my custom ado DataSet. using following code.

DataSet _ds= GetMyData();

               ReportViewer1.Visible = true;
               ReportViewer1.ProcessingMode = ProcessingMode.Local;
               ReportViewer1.LocalReport.EnableExternalImages = false;
               ReportViewer1.LocalReport.EnableHyperlinks = false;
               ReportViewer1.Visible = true;
               ReportViewer1.ShowBackButton = true;
               ReportViewer1.ShowDocumentMapButton = true;
               ReportViewer1.ShowExportControls = true;
               ReportViewer1.ShowFindControls = true;
               ReportViewer1.ShowParameterPrompts = false;
               ReportViewer1.ShowReportBody = true;
               ReportViewer1.SizeToReportContent = true;
               ReportViewer1.ShowToolBar = true;
               ReportViewer1.ShowZoomControl = true;
               ReportViewer1.DocumentMapCollapsed = true;

               ReportViewer1.LocalReport.ReportPath = Server.MapPath("DvatReport.rdlc");
               ReportViewer1.LocalReport.DataSources.Clear();

               ReportDataSource _rds1 = new ReportDataSource("NewDataSet_Table1", _ds.Tables[0]);
               ReportViewer1.LocalReport.DataSources.Add(_rds1);
               ReportDataSource _rds2 = new ReportDataSource("NewDataSet_Table2", _ds.Tables[1]);
               ReportViewer1.LocalReport.DataSources.Add(_rds2);
               ReportDataSource _rds3 = new ReportDataSource("NewDataSet_Table3", _ds.Tables[2]);
               ReportViewer1.LocalReport.DataSources.Add(_rds3);
               ReportDataSource _rds4 = new ReportDataSource("NewDataSet_Table4", _ds.Tables[3]);
               ReportViewer1.LocalReport.DataSources.Add(_rds4);

               ReportViewer1.LocalReport.Refresh();

when i debug application (F5) report works fine. When I publish website on iis, Report viewer shows blank. and no data showed there. and even no exception is thrown. 

After publishing Page looks like 

Image may be NSFW.
Clik here to view.
After Publish Report Viewer shows no Report and Data.

Someone has any idea. Why this is happening.

Thanks a lot.


sumit kumar


Debugging Reportviewer

Hi,  I use reportviewer for my web application. I am writing in VB using VS2010.  My problem is  when I try to run some reports I get very cryptic error messages in the report body.  Even when in debug mode I do not get any meaningful help.  Usually I just try trial and error until I solve it. This sometimes takes weeks.  Does anyone know how to get any error data from report viewer other than the usual cryptic messages.  Is there a log file somewhere, a way to catch the errors, anything?  Thanks, Jim

Display data in two column using reportviewer windows forms

Hello !

I want to display following data in same page.

For example ,

-------------------------------------------------------

|Rno     |    Name      |    Rno    |     Name   |

--------------------------------------------------------

1          |   abc           |    4        |     four      |

2          |   two          |     5        |    five       |

3          |   three       |     6        |   six          |

------------------------------------------------------

How can we display above output using report viewer ?


Mayur Dabhi

Printing without the ReportViewer

In a Win Forms app, is it possible to print a report without using the ReportViewer control? I want to provide a print button on a Form (like Outlook does) and then use an embedded Report to print the data so I don't really need the ReportViewer.

I would want to display the PrinterDialog though and use the settings from here to control the printed Report. Is this possible too?

Regards

Graham

how to set report viewer page setup at run time in visual studio 2005

i want to set report viewer size. set page as A3 landscape at run time in vb.net visual studio 2005.

i got some solution but it has version problem.

             

          Dim pg As New System.Drawing.Printing.PageSettings()
                pg.Margins.Top = 0
                pg.Margins.Bottom = 0
                pg.Margins.Left = 0
                pg.Margins.Right = 0
                Dim Size As New System.Drawing.Printing.PaperSize
                Size = New Printing.PaperSize()
                Size.RawKind = 8
                pg.PaperSize = Size
  ReportViewer1.SetPageSettings(pg)

problem occure at last line.

Populating reports dynamically via code

0

Im using visual studio 2010, and would like to know how to create dynamic reports which display all the rows in the dataset as per the their availability. So far it only displays contents of one row. I want to make it show all the contents of all rows according to the number of rows retrieved, instead of a preset number.

Also is there any way to export the custom-generated bar graph (using chart control) to the report?


[img]http://img260.imageshack.us/img260/8141/elfenlied1signaturedarkross17q.png[/img]

Custom aspx with ReportViewer: Error (..) does not implement IReportServerConnection

Hello,

I have created a custom aspx page, and I put a RreportViewer on it, programmatically (WebForms).

This page I want to coexist with the default SSRS installation (2008 R2). This is because the default reportviewer enables us to configure the report like "Manage" & Security settings etc. which I dont wish to reprogram. I'm planning on changing the hrefs with JS to make it work as intended (seems easy to me).

The deal is that I dont seem to be able to have both pages on the server. I need to get around this error, using the same authentication as SSRS itself (I dont want to request for extra credentials).

Custom C#

// Instantiate

ReportViewer ReportViewer1 = new ReportViewer();

// Set server report dynamically
// [..]

// Add control to page
form1.Controls.Add(ReportViewer1);

One of these errors was 

The type 'Microsoft.ReportingServices.UI.WebControlConnection, ReportingServicesWebUserInterface, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not implement IReportServerConnection

I was aiming for implementing this class (otherwise it would give me the Session Error thing which I couldnt get around either), but I dont really wish to change anything in the authentication mechanism. I have for example been looking at this

http://blogs.msdn.com/b/brianhartman/archive/2008/11/21/custom-credentials-in-the-report-viewer.aspx

But I dont want to provide fixed credentials from a config file (not sure if that = impersonation).

Any help & guidance would be greatly appreciated.


ReportViewer center display...

Hi guys

Im using ReportViewer control to display reports in my application. However the reports are displayed, justified left. How can i display them in the center of the viewer?

reportViewer.RefreshReport() thrown an exception in WPF

Hello All,

I am running VS2010 and my application is in WPF, I am using RDLC report

I am having an issue to use reportviewer of winform control in WPF. I got an exception while debug the code as follows

The runtime has encountered a fatal error. The address of the error was at 0x6657f96c, on thread 0x1a68. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

I got the above exception on the line reportViewer.RefreshReport();

the same exception my client got on his pc and it is strange if I run the application using exe I didn't get any exception and report generated successfully.

My C# code is below (I written this code in UserControl_Load event)

  reportViewer.LocalReport.ReportEmbeddedResource = ReportEmbeddedResource;
                reportViewer.LocalReport.ExecuteReportInCurrentAppDomain(Assembly.GetExecutingAssembly().Evidence);
                reportViewer.LocalReport.DataSources.Clear();
                reportViewer.LocalReport.DataSources.Add(rptSource);
                reportViewer.RefreshReport();

MY Xaml code :

<WindowsFormsHost HorizontalAlignment="Stretch" Name="windowsFormsHost1" VerticalAlignment="Stretch" >
            <reports:ReportViewer  x:Name="reportViewer"  ProcessingMode="Local"  />
        </WindowsFormsHost>

If you have any kind of resolution please share.

Many thanks in advance,

Passing parameter or data from sub- to main report

Hi,

Is it possible to pass any data from sub- to mainreport in SQL Reporting services (v.10)?

Have an image in the header but need to hide it in some subreports...


How can I set tick intervals on a Report Chart Control manually so they are not uniform?

I have a report project with a number of data visualizations. In the latest update I need to print tick marks and labels on my charts at staggered or otherwise non-uniform intervals. For example, on a chart in which the x-y axis are two dimensions of a physical plane (taken from surveying equipment), the X-axis might have labels in intervals like this which follow an arbitrary scheme based on the source data (e.g. not linear or logarithmic):

|------|----------------|-------|------|---------|--------------------------------|

I was able to do so in WPF by extending LinearAxis, but based on everywhere I've looked, Microsoft Reporting controls are not extensible. Furthermore if I output the chart to an image and put the image on the reports, they will look crummy when scaling between monitors and won't rasterize in the PDF output as well as a vector-based graphic.

Is there any way I'm missing to get the .RDLC Chart control to do this? Or is there another possibility, without investing in a third-party .NET reporting package? I really don't want to introduce any third party reporting designers or controls. 

Thanks all,

-Brandon

P.S. If someone could tell me how to "verify" my account so that I can post images and links, that would make this easier! :)

ReportView issue

I encounter an issue on reportviewer

I have two rdlc pages, for example first.rdlc and second.rdlc, first.rdlc have a hyperlink that can be clicked to go to second report page.

When I click this hyperlink at first time, it works fine, it can redirect second page normally.

But After I install reportview.exe where in location "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\ReportViewer", the hyperlink is invalid, even the hand cursor doesn't appear.

My machine enviroment:

Windows server2008R2, sqlserver2008 r2 sp1, VS2010 SP1.

Who can help me to resolve?

Thanks

show report data according to stored procedure and parameters

hi all I am trying to create a report which show me sold products between two dates

this is what I have done

but it is giving me this error

  • A data source instance has not been supplied for the data source 'ShowSelling'.

this is my code

{

                DataSet thisDataSet = new DataSet();
                SqlConnection thisConnection = new SqlConnection(thisConnectionString);
                SqlDataAdapter dataAdapter = new System.Data.SqlClient.SqlDataAdapter();

                System.Data.SqlClient.
                SqlCommand select = new System.Data.SqlClient.SqlCommand();

                select.CommandType = CommandType.StoredProcedure;

                select.Connection = thisConnection;
                select.CommandText = "ShowSelling";

                select.Parameters.Add(
                "@SDate", SqlDbType.DateTime).Value =Convert.ToDateTime( TextBox1.Text);

                select.Parameters.AddWithValue(
                "@EDate", SqlDbType.DateTime).Value = Convert.ToDateTime(TextBox2.Text);

                
                dataAdapter.SelectCommand = select;

                dataAdapter.Fill(thisDataSet);
 ReportDataSource datasource = new
                  ReportDataSource("ShowSellingDataSet_ShowSelling", thisDataSet.Tables[0]);

                ReportViewer1.LocalReport.DataSources.Clear();
                ReportViewer1.LocalReport.DataSources.Add(datasource);

                if (thisDataSet.Tables[0].Rows.Count == 0)
                {
                    Label1.Text = "Sorry, no products under this category!";
                }

                ReportViewer1.LocalReport.Refresh();
            }

and this is the procedure

/////////////////////////////////////////////////////////////////////////////////////////////////

ALTER PROCEDURE  ShowSelling(@SDate DateTime , @EDate DateTime  )
AS
SELECT  neworder.Date, Software.SName,
        Software.Price, neworder.quantity
FROM    neworder INNER JOIN
                         Software ON neworder.softID = Software.softID
WHERE   neworder.Date between @SDate and  @EDate
RETURN

///////////////////////////////////////////////////////////////////////////////////////////

please help !!!!

Viewing all 519 articles
Browse latest View live