Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.26/5 (5 votes)
See more:
hi frnds!!


i currently developed application into visual studio 2010, and i use crystal report Version 13_0_4.

now i generate setup for my application, application run but crystal report is not working.


when i install crystal report setup manually then its give error "you must install visual studio before install crystal report"


plz help...:(
Posted
Updated 19-Jul-18 21:07pm
v2
Comments
dimpledevani 22-Aug-12 9:13am    
Your Error itself says the solution. Install the required .net framework.
[no name] 22-Aug-12 9:19am    
yar, i m not expert but, little bit smart.:)

.net framework is install first, without .net framework application is not run..!!!


only crystal report is not display.
dimpledevani 22-Aug-12 9:30am    
I meant that install the framework having crystal report.
Fo reg: when you install visual studio you get an option to install other features including crystal reports.See that you have installed it
Kschuler 22-Aug-12 9:34am    
How are you generating a setup for your application? Are you using a setup project? Or a third party software? If you are using Visual Studio 2010 to create your setup, are you using the Crystal Report Prerequisit in order to get your users to install it before your program if they need it?
[no name] 22-Aug-12 9:42am    
using vs2010, but i dont want to download from internet so, not set Prerequisit program.

You need to install the Crystal Reports runtime on your client's machine, not the developer version...your client does not have VS.NET and should also not have Crystal Reports, (developer version).

If the app runs then the machine must have .net framework already installed...

Cheers,

Ken
 
Share this answer
 
Comments
bbirajdar 22-Aug-12 11:06am    
I agree.. Crystal reports runtime must be installed on client machine or needs to be bundled in the setup program
[no name] 23-Aug-12 1:29am    
hm...u r right u have any link for CR 2011( runtime for client's machine)
 
Share this answer
 
Comments
[no name] 24-Aug-12 7:11am    
thx:) 4 help, i solved this issues.
[no name] 24-Aug-12 7:18am    
but i hv new problem, :(

i use two report in my application, one is for invoice and another is for challan.

i pass parameter at run time and use more than one database.

challan is print in crystal report.



problem is invoice is not print.

error is :
failed to open connection
deatails:[database Vendor code:17]
failed to open connection
InvoiceReport{6568989898...}.rpt
deatails:[database Vendor code:17]
dimpledevani 24-Aug-12 7:38am    
well i guess your database is having some problem, try opening the database and fire some queries in it, if it works properly then check your code for connectivity
install .Net framework 2.0 on client computer
because,
crystal report's setup have dependency on '.net framework 2.0'
Happy Coding!
:)
 
Share this answer
 
Comments
[no name] 24-Aug-12 7:11am    
thx:) 4 help, i solved this issues.
Aarti Meswania 24-Aug-12 7:12am    
welcome :)
[no name] 24-Aug-12 7:18am    
but i hv new problem, :(

i use two report in my application, one is for invoice and another is for challan.

i pass parameter at run time and use more than one database.

challan is print in crystal report.



problem is invoice is not print.

error is :
failed to open connection
deatails:[database Vendor code:17]
failed to open connection
InvoiceReport{6568989898...}.rpt
deatails:[database Vendor code:17]
akhil.krish 25-Aug-13 3:47am    
Hi tarun,

Try this steps...

Change the Datasource Connection:
From the Current Data Source list (the top box), click once on the datasource connection that you want to change.
In the Replace with list (the bottom box), click once on the new datasource connection.
Click Update.
Use the Database menu and "Set Datasource Location" menu option to change the name or location of each table in a report.

This works for changing the location of a database, changing to a new database, and changing the location or name of an individual table being used in your report.

To change the datasource connection, go the Database menu and click Set Datasource Location.

Change the Datasource Connection:
From the Current Data Source list (the top box), click once on the datasource connection that you want to change.
In the Replace with list (the bottom box), click once on the new datasource connection.
Click Update.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900