cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Database vendor code 18 error message when working with Crystal report 2016 and TLS 1.2

KiranTunge
Discoverer
0 Likes
524

We have ASP .NET web application which uses Crystal report services to generate the report. We have .rpt file for each type of our report and it generates the PDF report. We are using Crystal report 2016 on Windows server 2016 and .NET 4.8. The Crystal report works fine with TLS 1.0 and but its not working with TLS 1.2. When tried to generate the report with TLS 1.2 then we are getting 'SSL Security error SQL state 08001. Native error 18. [Database vendor code: 18]' error message.

Here is code snippet of VB .NET code file where the database details are passed to .rpt file to generate the report.

KiranTunge_0-1738664396997.png

 

This is the error message we are getting -

KiranTunge_0-1738664130318.png

Do we need to upgrade to Crystal report 2020 to resolve this issue? Let us know any solution for this issue.

 

Accepted Solutions (0)

Answers (1)

Answers (1)

DonWilliams
Active Contributor
0 Likes

See this KBA I wrote years ago on how to:

https://userapps.support.sap.com/sap/support/knowledge/en/2269180

 

KiranTunge
Discoverer
0 Likes

Thank you for reply. As mentioned in the above post, its not an crystal report issue its about the database driver we are using, correct? So, can we resolve the issue with Crystal report 2016 version itself and no need to upgrade it to 2020 to resolve this issue? There are multiple crystal report files we are using (.rpt files) in our application, do we need to update all .rpt the files with ODBC latest driver and update data source location if we have to resolve this or it can resolved at one place. Please let me know your thoughts?