Solved

Cyrystal Reports and VB.Net 2008

Posted on 2009-06-29
4
430 Views
Last Modified: 2013-11-14
I have an aplication that collects data from a local SQL DB and hands the information off to Crystal reports. I have added what seems to be all the needed dll dependencies into the installer package wizard. When I take the installer to a new machine and run it. It installs fine and the application runs fine. When I go to print a report it does not run; and the errors I get are associated with missing dll's. When I look back at VB.Net they are supposed to be there. So I have determined that I am not doing somthing right and the dll's are not in the installer.

BTW... this application runs perfectly on the machine it was developed on.
Crystal Reports v 10.5.3700

1. What steps are needed to get the dlls to deploy with installer?
2. Are there known problems with crystal reports not running properly?


Thanks
0
Comment
Question by:scprogs
  • 2
  • 2
4 Comments
 
LVL 5

Expert Comment

by:jgbreeden
ID: 24740116
With 8.5 we used to put individual files in our build, but when we went to 11.5 we had to use the merge modules as it was just too complex to try to figure out individual file dependencies.  Not sure where 10.5 falls on that scale, but if you have merge modules available (.msm files) try those.
0
 

Author Comment

by:scprogs
ID: 24740339
To clarify the PC that developed the application has SQL, VB.Net, and Crystal Reports.

The machine that the application needs to go on only has SQL and the applications installer.

Does Crystal Reports need to be installed on the second PC as well to get this to run?
0
 
LVL 5

Accepted Solution

by:
jgbreeden earned 500 total points
ID: 24740398
No, but a huge subset of files does.  All of those files are contained in a merge module.  When you say "I take the installer to a machine" I am assuming you have a .msi file, which is used by the Microsoft Installer.  Merge modules (.msm files) can be included in the .msi file.  We use Installshield to build the .msi with the necessary .msm files included.  I don't know off hand how to include .msm files when using the Installer package wizard in .net.
0
 

Author Closing Comment

by:scprogs
ID: 31598008
I ended up figuring out how to add the crystal reports with the applications installer package, not .MSM but with the dependancies. Thanks.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now