borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Installation Problem!!)Next Topic (Form used As Report) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : Crystal Reports Error
Poster Message
zimcoder
Level: VB Lord


Registered: 27-10-2003
Posts: 225

icon Crystal Reports Error

I have application done in VB6 and i also used crystal reports 8. Everything was working fine on my machine until i deployed it on another.. now i get the error message that file not found what could be the problem?.. I have placed the reports into the appropriate directory

____________________________
BrainBench ADO.NET and ASP.NET Certified Developer

27-01-2004 at 07:37 PM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Crystal Reports Error

Can you be more specific? What file? Some of dll's or rpt file that you want to be printed? How did you install crystal report files?

[Edited by Goran on 27-01-2004 at 09:04 PM GMT]

____________________________
If you find the answer helpful, please mark this topic as solved.

27-01-2004 at 07:58 PM
View Profile Send Email to User Show All Posts | Quote Reply
zimcoder
Level: VB Lord


Registered: 27-10-2003
Posts: 225
icon Re: Crystal Reports Error


The "File Not Found" error arises on deployment on another machine,
on my machine works fine.  So was assuming it might be a dll problem
but failing to identify the dll.  The recommended dll for crystal and
vb6 I have included p2smon.dll.  

NB my report contains subreports in it.

____________________________
BrainBench ADO.NET and ASP.NET Certified Developer

28-01-2004 at 07:58 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Crystal Reports Error

Zimcoder, you are not giving any info here. Did you make installation of your app, or did you do it manually? Does this happend when you click on print button or.....? You can put some msgboxes in procedure that raises error, so you can know when does it raise an error. Maybe you are not specifying dbpath properly? For instance, if you have your rpt database path "C:\Projects\MyApp\dbName.mdb", report will look for it in same direcotory. If this is causing your error, place this in your code:

CR.DataFiles(0) = App.Path & "\dbName.mdb"

where CR is Cruystal report control.

____________________________
If you find the answer helpful, please mark this topic as solved.

28-01-2004 at 09:32 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : Crystal Reports Error
Previous Topic (Installation Problem!!)Next Topic (Form used As Report) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder