Sql server error on the hosting server

Asked

Viewed 89 times

-2

I’m making a website, through the Visual Studio template. With me it works, but when I go up to the server and when I soon, it gives me the error below. I used as template the SPA and Visual Studio 2015. Do I need to go up something else? I did a Publish and climbed my Publish, but apparently I need something else.

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. (Preview: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime Feature is enabled.)]

The login page goes up normally, but I will remove the login page and I think it may work, but so far nothing.

  • You have changed the path of the database in your ConnectionString before publishing?

1 answer

0

Apparently, your SQL Server is not configured to receive connections.

Please check the SQL Server Configuration Manager:

inserir a descrição da imagem aqui

You need to enable access.

Check the protocol used on web.config and make the release accordingly.

I hope it helps.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.