473,388 Members | 1,097 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

ReportViewer:Data instance has not be supplied for DataSource

Hi All

I have designed a rdlc file, using Business Object and table control, and added it on Report Viewer control. I am facing the excepiton
Exception descritption: A data source instance has not been supplied for the data source 'Ebwl_eOBR_Library_PositionException_PositionExcep tionCollection'.

The code wriiten in C# on .cs file , to bind the data source with report is -

ReportDataSource rd = new ReportDataSource("ds1", PositionExceptionComponent.GetPositionExceptions() );
ReportViewer1.LocalReport.ReportPath = "C:\\Documents and Settings\\user\\Desktop\\CODE\\CODE SEPT 21\\sept 10\\Prudential[1].eOBR.PositionException\\Prudential.eOBR.PositionE xception\\PositionExceptionLibrary\\Prudentia\\R.r dlc";

Can anybody PLEASE tell me what would be the reason..

Naveen Duggal
Sep 23 '07 #1
0 3659

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Mark | last post by:
Hello, How do I change the report that is displayed in a reportviewer control programmatically? Do I also have to change the reportviewer datasource? Thanks in advance!
by: Rich | last post by:
Hello, I am trying to use the Reportviewer control. I have been following an example from the web, and the instructions from the help files on set up a ..rdlc and binding it to the reportviewer...
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...
by: KimberlyLord | last post by:
I have created a report and subreport in VB/ASP.NET. The report works fine but the subreport will not display. The subreport, when displayed as a standalone report, works fine. But when viewed as a...
by: GSReddy | last post by:
Hi I am trying to build bar chart in asp.net using ReportViewer data control with some sample data write here. string name = new string{"Trans", "DAS", "Lap H/w", "Lap S/w", "People"}; int val =...
by: =?Utf-8?B?VG9tIERhbHNpbWVy?= | last post by:
Having trouble creating drill-through reports using reportviewer. Following advice from http://www.codeproject.com/aspnet/DrillThroughReport.asp . Here is my vbcode: Partial Class...
by: AG | last post by:
I am trying to use a ReportViewer control in a VS 2005 web application project (not Website project). When I try to create a new report (local), I can't seem to find any method to create a...
by: gandhi.vishal | last post by:
Hello, I have an issue. I'm not seeing the reportviewer data at all. The column names come up fine but there is no data in the report table. Here is what I'm doing I created a dataset with the...
by: abdulazees | last post by:
when click button i want to print autometicaly reportveiwer data, i not need to show reportviewer.
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.