473,386 Members | 1,943 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,386 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 1725

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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
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...
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
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:
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
jinu1996
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 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.