473,503 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reportviewer drill-through problem in asp.net 2.0

Having trouble creating drill-through reports using reportviewer. Following
advice from http://www.codeproject.com/aspnet/Dr...oughReport.asp . Here
is my vbcode:

Partial Class Testing_RepDriver
Inherits System.Web.UI.Page
Protected Sub ReportViewerParent_Drillthrough(ByVal sender As Object,
ByVal e As DrillthroughEventArgs) Handles ReportViewer1.Drillthrough
Dim DrillThroughValues As ReportParameterInfoCollection =
e.Report.GetParameters()
Dim dsChild As ReportDataSource = New
ReportDataSource("Invoice_TB_WEB_INVOICE", Me.ChildDS.ID)
For Each d As ReportParameterInfo In DrillThroughValues
Me.HiddenFieldInvoice.Value = d.Values(0).ToString().Trim()
Next
Me.ReportViewer1.LocalReport.ReportPath =
"C:\Webs\V1\App_Code\Invoicedrill.rdlc"
Me.ReportViewer1.LocalReport.DataSources.Clear()
Me.ReportViewer1.LocalReport.DataSources.Add(dsChi ld)
Me.ReportViewer1.LocalReport.Refresh()
End Sub

I get the following error:

· A data source instance has not been supplied for the data source
'Invoice_TB_WEB_INVOICE'

The datasource name is correct. Any assistance is appreciated.

Jun 21 '07 #1
0 1654

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9758
by: Fabio Pagano | last post by:
I was wondering why is there so little interest on the reportviewer control and the report designer integrated in VS 2005. It seems very cool and i think it can replace Crystal Reports. Moreover,...
1
8512
by: Pieter | last post by:
Hi, In my application VB.NET 2005 application I placed a ReportViewer, and link it to a server-report: Me.ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote...
0
1127
by: badfog | last post by:
I created a VS 2005 site with rdlc files dynamically generated. All is perfectly running on dev computer but when deployed on iis server I always have a system.exception after reportviewer...
0
1998
by: Rich | last post by:
Hello, I started using the Reportviewer control (very nice) for generating Reporting Services type reports in my VB2005 app. I have been experimenting using a designer Reportviewer control from...
2
9644
by: SimeonArgus | last post by:
I have a reportViewer object looking at a remote report. The good news is that I can press the PDF or Print button, and the report coems out just fine. I can also go to the report URL directly, and...
0
1674
by: Fred G. Sanford | last post by:
Firstly, I am a fairly new .Net developer, so please excuse any dumb/ignorant questions or comments. Thanks. I created a VWD Express project, which uses the ReportViewer control, on my local...
0
992
by: =?Utf-8?B?SklNLkgu?= | last post by:
ReportViewer error: This code is working in my local machine but I get the following error in web server, any idea what it would be. It runs on .Net 2.0 Error: Configuration Error Description:...
0
11579
by: billygotee | last post by:
Hi, I posted an issue previously that was entirely accurate. I have a master report called "MasterReport.rdlc" and a subreport called "Subreport.rdlc". MasterReport.rdlc has a single subreport...
0
1775
jgroos
by: jgroos | last post by:
Here is my scenario: I have two different reports processed LOCALLY, lets say Report1.rdlc and Report2.rdlc. They both are populated with data from a database, and they both also take a list of...
1
1025
by: dbuchanan | last post by:
I am using the matrix data provider. The drilldown report opens in collapse form. When the user clicks the plus sign to drill into the data the whole page very annoyingly jumps up throwing...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7458
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.