I have developed an application in C# that makes use of a Crystal Report being previewed following the processing of data (into SQL Server through ODBC connections to Paradox and Interbase database tables).
I have installed the .NET framework, ODBC_Net, MDAC, etc. on the target machine and the application operates OK.
When I try and preview the Crystal Report, using the standard Crystal Report Preview component, I get error messages pointing to the files CrystalDecisions.CrystalReports.Engine.dll, and then CrystalDecisions.ReportSource.dll, CrystalDecisions.Shared.dll and then CrystalDecisions.Windows.Forms.dll. Putting all these files on the target machine alongside the application executable itself then present us with an error pointing to CrystalKeyCodeLib.dll. Putting this on the target machine then throws up an error indicating the problem to be KeyCodeV2.dll. Putting this on the machine still gives the same message.
I have had to pull out the previewing of the reports in the application and provide our user with an alternate route to generate the reports.
The user has Crystal Reports installed on their machine and it works correctly.
What files do I need to install on the target machine to get the previewing scenario to work without error in my compiled executable ?
I'm none too familiar with the creation of installation 'Setup.exe' files and can only think that this might be where I need to solve the problem.
Can anyone suggest what I need to do ?
Any help / pointers would be greatly appreciated.
Thanks in advance
Steve
I have installed the .NET framework, ODBC_Net, MDAC, etc. on the target machine and the application operates OK.
When I try and preview the Crystal Report, using the standard Crystal Report Preview component, I get error messages pointing to the files CrystalDecisions.CrystalReports.Engine.dll, and then CrystalDecisions.ReportSource.dll, CrystalDecisions.Shared.dll and then CrystalDecisions.Windows.Forms.dll. Putting all these files on the target machine alongside the application executable itself then present us with an error pointing to CrystalKeyCodeLib.dll. Putting this on the target machine then throws up an error indicating the problem to be KeyCodeV2.dll. Putting this on the machine still gives the same message.
I have had to pull out the previewing of the reports in the application and provide our user with an alternate route to generate the reports.
The user has Crystal Reports installed on their machine and it works correctly.
What files do I need to install on the target machine to get the previewing scenario to work without error in my compiled executable ?
I'm none too familiar with the creation of installation 'Setup.exe' files and can only think that this might be where I need to solve the problem.
Can anyone suggest what I need to do ?
Any help / pointers would be greatly appreciated.
Thanks in advance
Steve