Click here to Skip to main content
15,901,426 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Visual studio 2015 and SAP crystal report version 13.0.16.1954

Crystal report is working fine in VS. but after publishing project it is not working.
I am getting this error,

Failed to open the connection. Details: [Database Vendor Code: 4060 ] Failed to open the connection. CrystalReport1 11512_14196_{BF875342-A5B9-446F-8054-039D89B2EB7B}.rpt Details: [Database Vendor Code: 4060 ]

What I have tried:

https://www.aspsnippets.com/Articles/Crystal-Reports-13-Visual-Studio-2010-Issue-with-IIS---bobj-is-undefined-JavaScript-Error-and-Crystal-Report-Viewer-not-displaying.aspx

https://www.codeproject.com/Questions/592791/CrystalplusReportplusisplusnotplusgeneratingplusaf

I followed these steps still it is not working for me. Please give me suggestions
Posted
Comments
ZurdoDev 11-Jun-18 11:10am    
Failed to open the connection would indicate the connection string does not work from where you are now running it.

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