473,396 Members | 1,743 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,396 software developers and data experts.

Invalid Report Data Source!

I just transfered my VS.NET 2002 app (Windows App) to VS.NET 2003 version.
But I cannot run the reports through crystal report viewer. It says that
Invalid Report
Data Source while these reports run fine in version 2002. And I can easily
edit
them in version 2003 but during runtime it says invalid report source. I
have also applied
all the service packs too but they did not work.

Please advise!

My Code is Like that :
---------------------------------------------------------------------
Private Sub CrvLuckyDrawResults_Load(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CrvLuckyDrawResults.Load

Try

Dim myReport = New RptDrawResults()

Dim sql As String

Dim ds As New DsLdraw()

Dim dc As New OleDbConnection()

dc.ConnectionString = GDataClass.CConinfo

dc.Open()

sql = "SELECT * FROM Ldraw Where Posted=0 order by pgrp,val(pcode)"

Dim da As New OleDbDataAdapter(sql, dc)

da.Fill(ds, "Ldraw")

myReport.setdataSource(ds)

CrvLuckyDrawResults.ReportSource = myReport

Catch ex As OleDbException

MessageBox.Show(ex.Message)

Catch ex As Exception

MessageBox.Show(ex.Message)

End Try

End Sub

---------------------------------------
Jul 21 '05 #1
0 1726

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

Similar topics

3
by: CSDunn | last post by:
Hello, I have a situation with MS Access 2000 in which I need to display report data in spreadsheet orientation (much like a datasheet view for a form). If you think of the report in terms of what...
1
by: Justin Koivisto | last post by:
I am trying to create a report that displays a name of an advertising source and count of the number of times it was hit between certain date ranges. The data is split between two different...
6
by: Mike Conklin | last post by:
This one really has me going. Probably something silly. I'm using dcount for a report to determine the number of different types of tests proctored in a semester. My report is based on a...
2
by: Brent Burkart | last post by:
Below is the error I am receiving. I have checked SQL Profiler and it is receiving the correct query which runs fine in Query Analyzer. Any ideas? Server Error in '/lockinsheet' Application....
0
by: David Valle | last post by:
Hi, i've follow an example that Gabriele G. Ponti wrote on 8/5/2003 about the export of a report made in Crystal Report in PDF format, this: ...
1
by: Harshil | last post by:
Hi All, I am working on Vb.net application with oracle as my database. I have developed reports using crystal report 9. Usually when you open reports directly in crystal report viewer control it...
0
by: IMRAN SAROIA | last post by:
I just transfered my VS.NET 2002 app (Windows App) to VS.NET 2003 version. But I cannot run the reports through crystal report viewer. It says that Invalid Report Data Source while these reports...
1
by: MikeD | last post by:
Hi, I'm accessing a FoxPro database via ole db using Reporting Services Data Extensions and ths works fine on my local report server. However, when I deploy the report to the live report server...
3
by: KHD | last post by:
Hey People ..I have Invalid Data Source Warning when I preview VB data report i am using ADODB recordset and SQL select starment. Please help me healing this ERROR thanks !!!
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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,...

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.