- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Installshield database wizard is not allowing to next screen in case TLS 1.2 enable
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Installshield database wizard is not allowing to next screen in case TLS 1.2 enable
When I click on Next button on SQL server dialog, it prompting an error like "Error: [DBNETLIB][ConnectionOpen (SEC CreateCredentials()).]SSL security error".
I am using Installshield 2014 Installscript project.
Please find the attached the error screen shot. Is there a way to avoid this type of issue.
Please help !
hidenori wrote:
Have you configured InstallShield to use a more recent version of SQL Server client driver that supports TLS 1.2? See TLS 1.2 support for Microsoft SQL Server topic for more details about the updates of client components. Also,this blog post should help you to learn how to change the driver.
"Hi Hidenori, thanks for your post it's really helpful..."
Recently I have faced a challenge with exclusively TLS 1.2 setting.
Scenario: I have to install Application on SERVER1 and Database is configure on SERVER2. On both Servers i have enabled the exclusively TLS 1.2 setting.
During Setup installation, installer is not able to connect the Database server on SQLServerSelectLogin dialog. Please see the attached SqlTLS1.2Error.png image.
Please let me know in case of any work around of above issue.
Hello was there any update to this issue? I am having a similar problem.
Hi @emmanuelc ,
Did you configure your project to use a database driver that has support for TLS 1.2, such as SQL Server 2008 Native Client? By default, installations that are created in InstallShield use the SQL Server OLE DB provider which has no TLS 1.2 support.
See http://blogs.flexerasoftware.com/installtalk/2012/05/tips-for-sql-server-2012-express-localdb-suppor... on how to configure InstallShield to use a different driver.
My problem is not about SQL Server, its about TLS1.2
I have a custom DLL that communicates with a process on the server via TCP. Its referenced in the script like this:
function number CheckServerExistsApp(hMSI) OBJECT oObj; STRING sDLL, sRet, szServername; STRING svSupportDir[MAX_PATH]; begin try svSupportDir = MyGetProperty(hMSI, "SUPPORTDIR"); sDLL = svSupportDir ^ "InstallShieldFunctions.dll"; UseDLL( sDLL ); set oObj = CoCreateObjectDotNet(sDLL, "InstallShieldFunctions.InstallShieldFunctions"); szServername = MyGetProperty(hMSI, "SERVERNAME"); sRet = oObj.CheckServer(szServername); MsiSetProperty(hMSI, "SERVEREXISTS", sRet); //MessageBox( "Return = " ^ sRet, MB_OK ); catch MessageBox( "Caught Error = " ^ Err.Description, INFORMATION); endcatch; return 0; end;
This code works fine with TLS1.0 but fails with 1.2. Similarly a test program that I use with that same DLL works with TLS1.0 and 1.2. So it looks like IS 2019 is not TLS1.2 compliant, is that correct?
Hi @emmanuelc ,
Thanks for the information.It might not be directly linked with InstallShield in this i guess.What is the OS you are currently using?
I could see post stating windows update can give you more insights.
Can you please verify whether that is causing the issue?
Thanks,
Jenifer
Running under Winders Server 2016.