¿Cuál es el problema a continuación?SQL Server no se encontró o no fue accesible
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)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: 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)
¿Cómo se puede resolver esto?
¿Cómo se ve la cadena de conexión en su web.config? –
¿Está por casualidad tratando de conectarse a una instancia ** Express ** de SQL Server en una máquina remota? Express no admite la conexión remota de forma predeterminada; debe configurarla explícitamente –