Hi, I have found a workaround to this issue by changing the Web.config connection entry to:
<add name="Default" connectionString="Server=(localdb)\ProjectsV13; Database=FreightHub; Trusted_Connection=True;" providerName="System.Data.SqlClient" />
This works for now but is version specific and I'd still like to figure out why (localdb)MSSQLLocalDB is not working. Any suggestion would be appreciated. Rick.
Hi, I'm new to Abp and also having this connection issue. I'm using VS2015 and SQL Express as per the standard installation. My connection string is:
<add name="Default" connectionString="Server=(localdb)MSSQLLocalDB; Database=FreightHub; Trusted_Connection=True;" providerName="System.Data.SqlClient" />
I can connect to database server in SQL Server Object Explorer and also in SQL 2014 Management Studio. However the Package Manager console always fails with the following error:
Target database is: 'FreightHub' (DataSource: (localdb)MSSQLLocalDB, Provider: System.Data.SqlClient, Origin: Configuration).
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): The network path was not found
Please help!