sql server error on server hosting

-2

I'm making a website, by the Visual Studio template. With me it works, but when I upload to the server and when I log in, it gives me the error below. I used SPA and Visual Studio 2015 as a template. Do I need to upload anything else? I made a publish and uploaded 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. (provider: 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 usually comes up, but I'm going to remove the login page and think it might work, but so far nothing.

    
asked by anonymous 14.05.2017 / 21:11

1 answer

0

It seems that your SQL Server is not configured to receive connections.

Please check the SQL Server Configuration Manager :

You must enable access.

Check the protocol used in web.config and do the release accordingly.

I hope it helps.

    
15.05.2017 / 16:47