Error ASP.NET when host online

Error ASP.NET when host online


I recently uploaded my on my hosting ( and this is my new project. I receive this error message:

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)

Source Error:

Line 16: HyperLink3.Visible = True
Line 17: End If
Line 18: If User.IsInRole(“Administrator”) = True Then
Line 19: HyperLink4.Visible = True
Line 20: End If

How to fix this issue? Please advise. Thank you


The message means you can’t connect to your database server. Where is that hosted would be the first place I would look.