on 2024 Mar 11 8:09 PM
Hello,
I have installed Crystal Reports 2020 onto windows server 2016 (Trialling out first before installing on my machine, replacing existing Crystal reports, older version). Trying to connect to sql server 2019 running on windows server 2019. When adding new connection, I select OLE DB (ADO) , then select "microsoft ole db provider for SQL Server". I type in server name, click windows auth tickbox, then when clicking on the database dropdown, nothing happens for a minute, then drop down is empty.
Not quite sure what is happening here, I think this could be something to do with Microsoft OLE DB provider (which I believe is SQLOLEDB) not supporting TLS 1.2. Came to this guess as when I tried selecting the SQL Server native client, the databases did load ok; but my understanding is that this is deprecated.
If this issue is to do with drivers/providers, what is the recommended driver/ provider for Crystal Reports / SQL Server?
Or please let me know if there could be another explanation.
Thank you
Request clarification before answering.
Hi Colin_F, I'm running SQL Server 2019:
Do the other (non-OLE) options listed above work for you? One step when moving to 2020 from earlier versions is that DSNs must be moved to the 64 bit versions as well as do drivers and clients if applicable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry I should have asked if you are using the Crystal Reports designer (CRW) or an SDK? If the latter can you please give some specifics.
If using CRW, you can get the latest OLE 64 from here and hopefully that will resolve the issue of nothing showing up in the Microsoft OLE DB Driver for SQL Server connection dialogue after you enter the DB info.
If you ran a complete install of CR 2020 then the DataDirect Wire Protocol drivers should be installed. Go to the Windows > 64 bit ODBC Data Source Administrator > System DSN > Add and you should see a CR SQL Server Wire Protocol ODBC Driver 8.0.x. Note that if you eve ruse Oracle there's also a Wire Protocol driver for that which negates having to install an Oracle client.
The 3rd point is also related to using a DSN in the Windows ODBC Data Source Administrator as well.
As mentioned for SQL Server the Wire Protocol can be installed with CR but you need to do a Custom Install and ensure that the Wire Protocol option is selected. The other SQL Server drivers you need to get yourself. Afterwards, you can see which ODBC drivers (including Wire Protocols) were installed with Crystal by going to the 64 bit ODBC Data Source Administrator and look at the Drivers tab...they are prefixed by "CR".
User | Count |
---|---|
83 | |
29 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.