Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Failed to open the connection. Details: Database vendor code 17. This is the error am getting when try to generate crystal reports. In the same project, i can do other operations on the same database like insert, update, delete and select. Just can not generate the reports. However on the development machine, i can view the reports.

I am using Visual Studio 2010, C#, ASP.net and crystal reports
Posted
Updated 12-Mar-13 21:44pm
v3
Comments
surendersinghprajapati 13-Mar-13 3:43am    
Please share code how you are sharing/setting db connection to Crystal report.
Tmuzvidzwa 13-Mar-13 3:46am    
as for this i did not write any code: just dropped the report viewer on the page and selected a crystal report using wizard and it gets the database fields
raj ch 13-Mar-13 6:31am    
right click on crystal report
goto database
open show sql query
select that query and check whether ur getting data for that query.
I guess table were not linked properly.

1 solution

I fixed it. Since the problem was with connectivity, i put in a custom user in the application pool's identity problem solved.
 
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