0
votes

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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

1
Welcome to SO. :) Please show some code. Which IP/hostname and port are you using? 127.0.0.1:1433?qräbnö

1 Answers

1
votes

Is a connection or firewall problem check that. Probably you don't configure it correctly in production. See this page fix-error-code-26