SQLSTATE [08001] - Named Pipes Provider - Laravel

0

I'm getting an error when connecting to the application with the bank.

The .env file is configured correctly with the bank settings, the error that I have in return:

SQLSTATE[08001]: [Microsoft][ODBC Driver 11 for SQL Server]Named Pipes Provider: Could not open a connection to SQL Server [67]. (SQL: select top 1 * from [stakeholders] where [login] = rmendes)

The project is done in laravel, and the bank is in localhost .

I use SQL SERVER MANAGEMENT STUDIO 2014

Image of the error in the browser ....            

Couldthisbethecauseofmyproblem?        

    
asked by anonymous 13.12.2017 / 17:33

2 answers

2

You should basically enable the remote connection, Named-Pipes and TCP / IP protocol as well as the SQL Browser service.

But try the following:

Temporarily disable Windows Firewall and try again:

MakesureNetBIOSisenabledintheTCP/IPsettingsofthenetworkadapteryouareusing:

MakesurethattheSQLServerprotocolsareenabledthroughSQLServerConfigurationManager:

Also try a combination of two or more options above.

    
14.12.2017 / 14:42
0

To fix the error, just enable the communication option via SQL Server's TCP / IP protocol.

    
14.12.2017 / 12:35