|
-
March 12th, 2003, 12:26 AM
#1
Crystal Reports in vb.net
Hello,
I have shown below how i am calling the .rpt file.This works fine in the system where i create the setup of my application.
When this setup is copied and installed on a different system.
This gives me a "Query Engine Error"
Could you help me with this.
Code used....
objCrRptDoc.Load(Application.StartupPath & "\rptCallDetails.rpt", _
CrystalDecisions.[Shared].OpenReportMethod.OpenReportByDefault)
CryRepVwCallDetails.ReportSource = objCrRptDoc
OR
objCrRptDoc.Load("C:\Program Files\Kshema Technologies Ltd\VeDA0.1\rptUsersDirectory.rpt", _
CrystalDecisions.[Shared].OpenReportMethod.OpenReportByDefault)
CryRepVwCallDetails.ReportSource = objCrRptDoc
Both the above code didnt work for me.
-Balaji
-
March 12th, 2003, 12:36 AM
#2
I havent worked on .NET but what i feel is that some file DLL or OCX is missing in your setup which is causing the Error.
Ritesh
-
March 12th, 2003, 12:45 AM
#3
Using Crystal Reports in vb.net
Originally posted by riteshtandon
I havent worked on .NET but what i feel is that some file DLL or OCX is missing in your setup which is causing the Error.
Ritesh
Hello,
I hve used crystal reports in my vb.net application.and have created a setup of it.but when i install the setup in a different system, when show report menu is clicked gives me a "query engine error"
could you let me know what all merge modules should i inculde or is there any other things i have to take care.
bringing of this thread i have shown i how i have loaded the report!
thanks
-balaji
-
March 12th, 2003, 05:54 AM
#4
This is certainly a problem of incorrect installation of crystal report. check CR documentation to see what all files(DLL & OCX) are needed to access the database, and whether u have added them to your installation.
Or try to use the CR designer inside of VB
Ritesh
[email protected]
-
March 12th, 2003, 11:26 PM
#5
crystal reports dll
Hello,
had to include some merge modules.
Thanks.
Originally posted by riteshtandon
I havent worked on .NET but what i feel is that some file DLL or OCX is missing in your setup which is causing the Error.
Ritesh
-
March 13th, 2003, 12:25 AM
#6
-
March 13th, 2003, 12:57 AM
#7
crystal reports
when using crystal reports and building a setup file u need to include the follwong merge modules and dlls
vc_crt.msm
vc_stl.msm
dlls should go into the system folder
msvcp70.dll
msvcr70.dll
merge modules contain some dependency dlls
provided by microsoft
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|