473,386 Members | 1,647 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.

crystal report load report faild

mt
Hello everyone:

I am using vb.net 2002, msde2000 database, and windows 98,and i set up .net
framework 1.1 and MDAC 2.7 and msde2000 ,everything fine but
i have a problem,i load a report I see "Load report failed"
my code and dialog message down here
please help me

-----
Dim tbCurrent As CrystalDecisions.CrystalReports.Engine.Table

Dim tliCurrent As CrystalDecisions.Shared.TableLogOnInfo

Dim rptExpensiveProducts As New ReportDocument()

Try

rptExpensiveProducts.Load("c:\program files\hhh\crystalreport1.rpt")

For Each tbCurrent In rptExpensiveProducts.Database.Tables

tliCurrent = tbCurrent.LogOnInfo

With tliCurrent.ConnectionInfo

..ServerName = "(local)" ----->or localhost I tryed
..UserID = "sa"

..Password = ""

..DatabaseName = "Northwind"

End With

tbCurrent.ApplyLogOnInfo(tliCurrent)

Next tbCurrent

crvBasic.ReportSource = rptExpensiveProducts

----------------
and dialog message is here

database= (local)

login=

password=

tables=customers
-------
,what ý must do?
Thanks
Nov 20 '05 #1
1 1216
hmm, i thought a lot of these things are embedded in the .rpt itself?
did you try using a standard crystalreportviewer and pointing to the rpt in
design mode?
or are you trying to generate a complete report from scratch using code? (if
thats the case ignore me, i don't have a clue ;) )

eric
Nov 20 '05 #2

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

Similar topics

1
by: DeeCay | last post by:
Dear folks, I was trying to write a .Net web application (using C#) that loads a Crystal Report on server side, export the report in PDF format as a file in the web server, and then serves up...
1
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
4
by: Rick Thiel | last post by:
Hello, I am trying to build a Crystal report VisualStudio.NET for an ASP.NET application. I would like to build a report that doesn't connect to any particular database at design time because I...
2
by: tc | last post by:
hi all, I would like to know how to export a cyrstal report to pdf by using the crystal report viewer without prompt up a dialog for user to enter the file name, i.e. I want to place the file...
0
by: Dipendra | last post by:
Have Windows App which makes call to Crystal Reports which is being published as web services. It works but really slow. stored procedures are used to get data from database. The windows app has...
3
by: Milan Todorovic | last post by:
Hello, I need help. I have experience in ASP.NET programming, but this is my first dealing with Crystal Reports. I'm trying to make the most basic report purely for testing purposes: connect to...
1
by: Kapil Shah via DotNetMonster.com | last post by:
Hello Everybody, I am trying to write a crystal report function which should return a value of 1 for crystal report with no parameter and return a value 2 for crystal report with parameter. ...
1
by: bthomas71chevy | last post by:
I have just setup a WebServer and all the applications work fine, but when every any of the applications try to generate a Crystal Report the page errors out. "File or assembly name...
2
by: matt | last post by:
hello, i have an .RPT file that i am using to load a report via the ASP.NET CrystalReportViewer control. i dont include my .RPTs as embedded resources...instead i load the absolute path of the...
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
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:
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
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.