[Resolved] Crystal Report deployment
Hi,
Does any one known or expereinced with deploying crystal report?
I have built vb program which will call crystal components
References
-Crystal Report9 ActiveXdesigner run time library
-Crystal Reprot Viewer Control9
Components
-Crystal Reprot Viewer Control9
I have deployed all files to location which is i have seen in the reference-components
once i run a program on the machine i deployed
i got an error that "ActiveX can't create object
how can i deploy crystal report without installing whole crystal report?
Thanks for advance
Re: Crystal Report deployment
Have you tried copying them to the directory where your application is installed. I`m using Crystal Reports but my app is not in the deployment phase yet, so I really haven`t tried running my app out of the IDE. Maybe these components need some sort of registering with the OS. I would be glad if someone more of an authority would elaborate!
Re: Crystal Report deployment
You need to deploy the dependancy files and not install the whole CR app.
It depends on the references, controls, and functions you call,
applying to CR, in your app.
You may have, depending on your version and type of CR, a helpfile called Runtime.hlp
This helpfile will describe all dlls needed for each function call, control, etc.
Re: Crystal Report deployment
If you use the Package and Deployment Wizard that comes with VB, an installation Setup package will be created for you. The P&D will read your project file, and then load into its Setup all of the dependency files needed to run your program.
Then, when your Setup program is run on a client machine, all of those dependency files will be loaded on the machine, and registered with the OS.
Re: Crystal Report deployment
Actually the P&D Wiz will not pick up the CR dependancies. You need to manually add them to your package. ;)
Re: Crystal Report deployment
Quote:
Originally Posted by RobDog888
Actually the P&D Wiz will not pick up the CR dependancies. You need to manually add them to your package. ;)
It doesn't? :confused: I've never had to add anything to a package I've deployed involving Crystal.
Re: Crystal Report deployment
Really? CR even made the Runtime.hlp because of things like this.
Re: Crystal Report deployment
Thanks a lot!
I solve this by using P&D and see dependancies file. :)
There is more file than i was seeing in the reference-components in VB.
Re: Crystal Report deployment
So did it pickup every reference and dependancy automatically? Or did you have to manually add some?
Re: Crystal Report deployment
I need to add more few dependancies files.
Re: [Resolved] Crystal Report deployment
Ok, Thanks. I though thats the way it has always been.
Re: [Resolved] Crystal Report deployment
Quote:
Originally Posted by RobDog888
Ok, Thanks. I though thats the way it has always been.
:blush: Ok. I'm wrong. I was actually discussing this issue with one of the other programmers in my department, and this person reminded me that we don't use the Package and Deployment Wizard. We use the Wise Installer.
*slinks out of room in embarrasment*