Link to home
Start Free TrialLog in
Avatar of thomashospital
thomashospital

asked on

Crystal Reports in vb.net deployment

I am deploying a project with a crystal report.  When I install it on the client side I get this error which I figure it is because I forgot about the merge Module.  Could someone tell me which merge module I would need for this  error?

System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Windows.Forms, Version=10.5.3700.0,
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thomashospital
thomashospital

ASKER

That site is horrible.  I found a PDF thought that said what to add with it and I am still getting the same error...
What PDF?

mlmcc
It was a pdf telling you what merge modules to add and Dll's.  I found the tedistribution msi package on machine I was developing on.  I installed this on machine I am running and it is working.  Only problem is that it is still reading sql express database from developing machine.  Do I need to ask this in another question?  Also I will award you the points for this, you put me on the right track.
Are you sure it is reading the database from the dev machine or does the sql just show that?

Crystal creates aliases when you change the database and doesn't update the original SQL.

mlmcc
When I deploy on clients machine it asks to autenticate and has my machine name and not theres.  I cannot change the machine because it is grayed out.
Ok I figured it out.  I am passing the database name with code and I have it reading from an xml file.  In my code to read xml file had it reading the wrong variable setting the variable to nothing.  With doing so it automatically selected the default database from the report.