
gert.leunen asked a question.
Can't connect localdb
Despite having installed SQL Server 2012 Express SP1 LocalDB (64 bit) + SQL Server 2012 Native Client on my fully updated Windows 8 64 bit system, having server name set to (localdb)\v11.0 and having modified AdoDriverName field (in ISSQLDBMetaData table) to sqlncli11, it seems my InstallShield SQL scripts (when running a 32 bit installer) still can't connect to the database engine with the following error (although I verified 32 bit sqlcmd can connect to that instance while the error is being shown):
1: Attempting to establish the SQL connection... Server: (localdb)\v11.0, Database: master
1: ADO Error: Number: -2147467259 Description: SQL Server Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF]. Source: Microsoft SQL Server Native Client 11.0 SQL State: 08001 Native Error: -1
1: ADO Error: Number: -2147467259 Description: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. Source: Microsoft SQL Server Native Client 11.0 SQL State: 08001 Native Error: -1
1: ADO Error: Number: -2147467259 Description: Login timeout expired Source: Microsoft SQL Server Native Client 11.0 SQL State: HYT00 Native Error: 0
Error 27502.Could not connect to Microsoft SQL Server '(localdb)\v11.0'. Login timeout expired (0)
MSI (s) (10!B8) [18:37:12:672]: Product: Martin M-Series -- Error 27502.Could not connect to Microsoft SQL Server '(localdb)\v11.0'. Login timeout expired (0)
Please help? Tnx
" (local);(localdb);. "
InstallShield handles the names listed in this setting as a local instance and omitts the Network Library= parameter from the connection string.
Best regards
Gert
I tried both your suggestions but still having the same problem that my installation returns Error 27502 when I click next on the "Database Server" dialog.
I get Error 27502.Could not connect to Microsoft SQL Server '(local)'.
I use IS2012 Spring
SQL2012, SP1 x64
I am very happy to hear from you. Cheers,
christoph